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

Declaration

public bool ShowNullTextForEmptyValue { get; set; }
Public Property ShowNullTextForEmptyValue As Boolean

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