All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
1.1
The page you are viewing does not exist in version 1.1. This link will take you to the root page.

NumericEdit.AllowNullValue Property

Gets or sets whether the editor can be empty.

Namespace: DevExpress.XamarinForms.Editors

Assembly: DevExpress.XamarinForms.Editors.dll

Declaration

public bool AllowNullValue { get; set; }

Property Value

Type Description
Boolean

true to allow an empty editor; otherwise, false.

Remarks

If no value is entered, the editor displays 0. To allow setting a null value to the Value property and display an empty editor, set the AllowNullValue property to true.

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

NumericEdit.AllowNullValue

You can use the PlaceholderText property to show an input prompt in the edit box when the editor is empty.

NumericEdit.PlaceholderText

To specify the placeholder's text color, use the PlaceholderColor property.

See Also