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


public bool ShowNullValuePromptWhenFocused { get; set; }

Property Value

Type Default Description


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


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