Skip to main content

BaseEditSettings.ShowNullTextForEmptyValue Property

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

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool ShowNullTextForEmptyValue { get; set; }

Property Value

Type Description
Boolean

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

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowNullTextForEmptyValue
BarEditItem
.EditSettings .ShowNullTextForEmptyValue
FilterField
.EditSettings .ShowNullTextForEmptyValue
ColumnBase
.ActualEditSettings .ShowNullTextForEmptyValue
ColumnBase
.EditSettings .ShowNullTextForEmptyValue
TreeViewControl
.EditSettings .ShowNullTextForEmptyValue
PropertyDefinition
.EditSettings .ShowNullTextForEmptyValue
SpreadsheetCustomCellEditEventArgs
.EditSettings .ShowNullTextForEmptyValue

Remarks

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

See Also