Skip to main content
A newer version of this page is available. .

ShowNullValuePromptOptions Enum

Enumerates values that specify when an editor shows a prompt.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[Flags]
public enum ShowNullValuePromptOptions

Members

Name Description
NullValue

Disables all options. A prompt is only shown for an editable, not focused editor whose value equals null (Nothing in VB).

EmptyValue

A prompt is displayed when the editor’s value equals String.Empty or null (Nothing in VB). Disable this option to only display the prompt when the editor’s value equals null (Nothing in VB).

EditorFocused

A prompt is displayed when the editor is focused and not focused. Disable this option to only display the prompt when the editor is not focused.

EditorReadOnly

A prompt is displayed when the editor is in the read-only and editable states. Disable this option to only display the prompt when the editor is editable.

Default

Enables all options.

Related API Members

The following properties accept/return ShowNullValuePromptOptions values:

Remarks

The ShowNullValuePromptOptions type is used to specify the RepositoryItemTextEdit.ShowNullValuePrompt property.

See Also