Back to Devexpress

ASPxTextEdit.NullTextDisplayMode Property

aspnet-devexpress-dot-web-dot-aspxtextedit-0dbf47ae.md

latest1.8 KB
Original Source

ASPxTextEdit.NullTextDisplayMode Property

Specifies when the null text is visible in the editor.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(NullTextDisplayMode.Unfocused)]
public NullTextDisplayMode NullTextDisplayMode { get; set; }
vb
<DefaultValue(NullTextDisplayMode.Unfocused)>
Public Property NullTextDisplayMode As NullTextDisplayMode

Property Value

TypeDefaultDescription
NullTextDisplayModeUnfocused

The null text display mode.

|

Available values:

NameDescription
Unfocused

The null text is displayed when the editor is unfocused.

| | UnfocusedAndFocused |

The null text is displayed when the editor is focused or unfocused.

|

Remarks

The null text is a prompt text displayed in an editor when it is empty and unfocused. Use the NullTextDisplayMode property to specifies whether the null text is also displayed in the editor when it is focused.

Note, if a mask is applied, the focused editor displays the mask and the NullTextDisplayMode property is not in effect.

Online Demo

Data Editors - Null Text

See Also

ASPxTextEdit Class

ASPxTextEdit Members

DevExpress.Web Namespace