windowsforms-devexpress-dot-xtraeditors-7a5a0e81.md
Enumerates values that specify when an editor shows a prompt.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[Flags]
public enum ShowNullValuePromptOptions
<Flags>
Public Enum ShowNullValuePromptOptions
| 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.
|
The following properties accept/return ShowNullValuePromptOptions values:
The ShowNullValuePromptOptions type is used to specify the RepositoryItemTextEdit.ShowNullValuePrompt property.
See Also