1. NumberField

Class NumberField

Version: 21.x

Represents a number field.

Inheritance
System.Object
Field<System.Nullable<System.Decimal>>
EditableField<System.Nullable<System.Decimal>>
NumberField
Implements
IValueField<System.Nullable<System.Decimal>>
Namespace: Sitecore.LayoutService.Client.Response.Model.Fields
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
public class NumberField : EditableField<Nullable<Decimal>>, IFieldReader, IValueField<Nullable<Decimal>>, IEditableField, IField

Constructors

NumberField()

Initializes a new instance of the NumberField class.

Declaration
public NumberField()

NumberField(Double)

Initializes a new instance of the NumberField class.

Declaration
public NumberField(double value)
Parameters
TypeNameDescription
System.Doublevalue

The initial value.

Implements

If you have suggestions for improving this article, let us know!