TextEditProperties.NullTextDisplayMode Property
Specifies when the null text is visible in the editor.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
[DefaultValue(NullTextDisplayMode.Unfocused)]
public NullTextDisplayMode NullTextDisplayMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
NullTextDisplayMode | Unfocused | The null text display mode. |
Available values:
Name | Description |
---|---|
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
See Also