NumericEdit.Value Property
Gets or sets a number entered in the editor.
Namespace: DevExpress.XamarinForms.Editors
Assembly: DevExpress.XamarinForms.Editors.dll
NuGet Package: DevExpress.XamarinForms.Editors
Declaration
public decimal? Value { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Decimal> | A decimal value or null. |
Remarks
To specify the minimum and maximum values that users can assign to the editor, use the MinValue and MaxValue properties.
If no value is entered, the editor displays 0. To allow setting a null value and display an empty editor, set the AllowNullValue property to true.
<dxe:NumericEdit AllowNullValue="True"
Value="{x:Null}"/>
To prevent users from changing the editor’s value, set the IsReadOnly property to true.
Handle the ValueChanged event or use the ValueChangedCommand property to specify the action that occurs after the editor’s value is changed.