A newer version of this page is available. Switch to the current version.

RepositoryItemTextEdit.ShowNullValuePromptWhenFocused Property

Gets or sets whether to display the RepositoryItemTextEdit.NullValuePrompt when the current editor is focused.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DefaultValue(false)]
[Browsable(true)]
[DXCategory("Appearance")]
public bool ShowNullValuePromptWhenFocused { get; set; }

Property Value

Type Default Description
Boolean

false

true, if the RepositoryItemTextEdit.NullValuePrompt is displayed when the editor is focused; otherwise, false.

Remarks

Even if the ShowNullValuePromptWhenFocused property is enabled, the RepositoryItemTextEdit.NullValuePrompt is not displayed for text editors in the following cases:

These restrictions do not apply to editors that forbid editing their values directly in the edit box.

See Also