Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseEditSettings.NullText Property

Gets or sets the text displayed within the edit box when the editor’s value is null. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public string NullText { get; set; }

#Property Value

Type Description
String

A String value that specifies the string displayed within the edit box when the BaseEdit.EditValue property is set to null or Value value.

#Property Paths

You can access this nested property as listed below:

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

#Remarks

The BaseEditSettings.NullValue property allows you 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 NullText property.

See Also