Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ShowNullValuePromptOptions Enum

Enumerates values that specify when an editor shows a prompt.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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