Back to Devexpress

ShowNullValuePromptOptions Enum

windowsforms-devexpress-dot-xtraeditors-7a5a0e81.md

latest2.2 KB
Original Source

ShowNullValuePromptOptions Enum

Enumerates values that specify when an editor shows a prompt.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Flags]
public enum ShowNullValuePromptOptions
vb
<Flags>
Public Enum ShowNullValuePromptOptions

Members

NameDescription
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:

Remarks

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

See Also

ShowNullValuePrompt

DevExpress.XtraEditors Namespace