Skip to main content
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.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(SpinEditNumberType.Float)]
public SpinEditNumberType NumberType { get; set; }

Property Value

Type Default Description
SpinEditNumberType Float

A SpinEditNumberType enumeration value.

Available values:

Name Description
Integer

Float value input is disabled and float values displayed within the editor are automatically rounded after they has been modified.

Float

Float value input is enabled.

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