Skip to main content

BaseEditSettings.NullValue Property

Gets or sets a null value for the editor. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

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

#Declaration

public object NullValue { get; set; }

#Property Value

Type Description
Object

An object that represents the null value.

#Property Paths

You can access the BaseEditSettings.NullValue property from the following objects:

Object Type Path to NullValue
BarEditItem
.EditSettings.NullValue
ColumnBase
.ActualEditSettings.NullValue
ColumnBase
.EditSettings.NullValue
GridColumn
.ActualEditSettings.NullValue
GridColumn
.EditSettings.NullValue
TreeListColumn
.ActualEditSettings.NullValue
TreeListColumn
.EditSettings.NullValue

#Remarks

Use the NullValue property to specify a null value for the editor in addition to null and DBNull values. To specify the text displayed within the edit box when the editor's value is null, use the BaseEditSettings.NullText property.

See Also