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

RepositoryItemTextEdit.NullValuePromptShowForEmptyValue Property

Gets or sets whether the text specified by the RepositoryItemTextEdit.NullValuePrompt property is displayed when the editor contains an empty string.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

[DXCategory("Behavior")]
public virtual bool NullValuePromptShowForEmptyValue { get; set; }

Property Value

Type Default Description
Boolean **false**

true if the text specified by the RepositoryItemTextEdit.NullValuePrompt property is displayed when the editor contains an empty string; otherwise, false.

Remarks

See the RepositoryItemTextEdit.NullValuePrompt topic to learn more.

The following code snippets (auto-collected from DevExpress Examples) contain references to the NullValuePromptShowForEmptyValue property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also