Skip to main content

TextEdit.AllowNullInput Property

Gets or sets whether end-users can set the editor’s value to a null reference. This is a dependency property.

Namespace: DevExpress.WinUI.Editors

Assembly: DevExpress.WinUI.Editors.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(false, Handler = "OnAllowNullInputChanged")]
public bool AllowNullInput { get; set; }

Property Value

Type Description
Boolean

true, to allow null input; otherwise, false.

Remarks

If the AllowNullInput property is set to true, end-users can set the editor’s value to a null reference by pressing the CTRL+DEL key combination.

If the TextEdit.NullValue property is specified, its value is assigned to the BaseEdit.EditValue property. Otherwise, the BaseEdit.EditValue property is set to null.

See Also