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.v21.1.dll

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:

Show 11 property paths
Object Type Path to ShowNullTextForEmptyValue
BarEditItem
.EditSettings.ShowNullTextForEmptyValue
FilterField
.EditSettings.ShowNullTextForEmptyValue
TokenEditorBehavior
.TokenEditSettings.ShowNullTextForEmptyValue
GanttColumn
.ActualEditSettings.ShowNullTextForEmptyValue
ColumnBase
.ActualEditSettings.ShowNullTextForEmptyValue
GridColumn
.ActualEditSettings.ShowNullTextForEmptyValue
TreeListColumn
.ActualEditSettings.ShowNullTextForEmptyValue
TreeViewControl
.EditSettings.ShowNullTextForEmptyValue
CollectionDefinition
.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