Skip to main content

TextEdit.ShowNullTextForEmptyValue Property

Gets or sets whether to display the null text for the Empty value. This is a dependency property.

Namespace: DevExpress.WinUI.Editors

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

NuGet Package: DevExpress.WinUI

Declaration

[DP(true)]
public bool ShowNullTextForEmptyValue { get; set; }

Property Value

Type Description
Boolean

true to display the null text for the Empty value; otherwise, false.

Remarks

If the editor’s value is set to null or TextEdit.NullValue and the TextEdit.ShowNullText property is set to true, the editor displays the text specified by the TextEdit.NullText property. Use the ShowNullTextForEmptyValue property to specify whether the Empty value is considered as the null value.

See Also