Tab

ASPxSpinEdit.NumberType Property

Gets or sets a value that specifies whether a spin editor edits float or integer values.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.1.dll

Declaration

[DefaultValue(SpinEditNumberType.Float)]
public SpinEditNumberType NumberType { get; set; }
<DefaultValue(SpinEditNumberType.Float)>
Public Property NumberType As SpinEditNumberType

Property Value

Type Default Description
SpinEditNumberType

Float

A SpinEditNumberType enumeration value.

Remarks

This property is a wrapper of the SpinEditProperties.NumberType property.

NOTE

If the NumberType property value does not correspond to the real type of value to which the editor is bound (e.g., the NumberType property is set to Integer and the editor is bound to the Double value), the spin editor may work improperly. So, we recommend you correlate the NumberType property value with the real editor value type.

See Also