Skip to main content

SpinEditSettings.Number Property

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

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

#Declaration

public decimal Number { get; set; }

#Property Value

Type Description
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