Skip to main content
A newer version of this page is available. .

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.v18.2.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:

Object Type Path to ShowNullTextForEmptyValue
BarEditItem
.EditSettings.ShowNullTextForEmptyValue
TokenEditorBehavior
.TokenEditSettings.ShowNullTextForEmptyValue
GanttColumn
.EditSettings.ShowNullTextForEmptyValue
ColumnBase
.EditSettings.ShowNullTextForEmptyValue
GridColumn
.EditSettings.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