Class NumberField

Version: 21.x

Represents a number field.

Inheritance

System.Object

FieldReader

Field

Field<System.Nullable<System.Decimal>>

EditableField<System.Nullable<System.Decimal>>

NumberField

Implements

IFieldReader

IValueField<System.Nullable<System.Decimal>>

IEditableField

IField

Inherited Members

EditableField<Nullable>.EditableMarkup

Field<Nullable>.Value

Field.HandleRead(Type)

FieldReader.Read()

FieldReader.TryRead(TField)

FieldReader.TryRead(Type, IField)

FieldReader.Read(Type)

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.DoublevalueThe initial value.

Implements

IFieldReader

IValueField

IEditableField

IField

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