Back to Devexpress

SpinEditSettings.Number Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-spineditsettings-0f82c61c.md

latest1.8 KB
Original Source

SpinEditSettings.Number Property

Gets or sets the decimal representation of the spin editor’s value.

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public decimal Number { get; set; }
vb
Public Property Number As Decimal

Property Value

TypeDescription
Decimal

A decimal value representing the spin editor’s value.

|

Remarks

Use the Number property, to specify the spin editor’s decimal value.

The Number property can fall between the SpinEditProperties.MinValue and SpinEditProperties.MaxValue property values.

Note, that the value of a spin editor (which can be obtained by the EditorExtension.GetValue<T> method) can exceed the limits specified via the before-mentioned properties. In this case, the spin editor displays its value (for instance, taken from a bound data source), but editing can only be performed within the specified ranges.

See Also

SpinEdit

SpinEditSettings Class

SpinEditSettings Members

DevExpress.Web.Mvc Namespace