Skip to main content

NumericEdit.Value Property

Gets or sets a number entered in the editor. This is a bindable property.

Namespace: DevExpress.Maui.Editors

Assembly: DevExpress.Maui.Editors.dll

NuGet Package: DevExpress.Maui.Editors

Declaration

public decimal? Value { get; set; }

Property Value

Type Description
Nullable<Decimal>

A nullable decimal value.

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 display an empty editor, set the AllowNullValue property to true (also allows you to set the Value property to Null).

<dxe:NumericEdit AllowNullValue="True" 
                 Value="{x:Null}"/>

NumericEdit.AllowNullValue

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.

See Also