All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ShowNullValuePromptOptions Enum

Enumerates values that specify when an editor shows a prompt.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[Flags]
public enum ShowNullValuePromptOptions
<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