Skip to main content

RepositoryItemSearchControl.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.v24.2.dll

Declaration

[DefaultValue(true)]
public override bool NullValuePromptShowForEmptyValue { get; set; }

Property Value

Type Default Description
Boolean true

true if the text is displayed; otherwise, false.

Remarks

In the figure below, the SearchControl displays the default RepositoryItemTextEdit.NullValuePrompt property value.

SearchControl_NullText

See Also