SpinEditProperties.AllowNull Property
Gets or sets a value that specifies whether the spin editor allows null values to be entered.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Remarks
Use the AllowNull property to control whether null values can be entered into the spin editor by end-users.
If the AllowNull property is set to true
end-users can enter null values into the spin editor by clearing its text. In this case, the editor’s ASPxSpinEdit.Value property is equal to null and the ASPxSpinEdit.Number property is set to the MinValue value.
If a spin editor’s AllowNull property is set to false
it doesn’t accept null values.
Note
The AllowNull property synchronizes its value with the editor’s ASPxSpinEdit.AllowNull property.