Back to Devexpress

DropDownEditProperties.NullText Property

aspnet-devexpress-dot-web-dot-dropdowneditproperties-cf77b6a4.md

latest1.7 KB
Original Source

DropDownEditProperties.NullText Property

Gets or sets the prompt text displayed within the editor’s input box when the editor is not focused, and its value is null.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue("")]
public string NullText { get; set; }
vb
<DefaultValue("")>
Public Property NullText As String

Property Value

TypeDefaultDescription
StringString.Empty

A string value that specifies the prompt text.

|

Remarks

The NullText property defines the prompt text to be displayed in the edit box. The specified prompt text is displayed if the editor’s value is null and the editor is not focused. The prompt text disappears when the editor receives focus.

Note

The NullText property synchronizes its value with the editor’s ASPxDropDownEdit.NullText property.

See Also

NullText

Drop-Down Editor

DropDownEditProperties Class

DropDownEditProperties Members

DevExpress.Web Namespace