Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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