ISearchControlProperties.ShowNullValuePromptWhenFocused Property
Gets or sets whether the search bar within the Search Panel should display its ISearchControlProperties.NullValuePrompt text when this bar is focused.
Namespace: DevExpress.XtraBars.Docking2010.Customization
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if the search bar within the Search Panel should display its ISearchControlProperties.NullValuePrompt text when this bar is focused; otherwise, false. |
Remarks
Even if the ShowNullValuePromptWhenFocused property is enabled, the ISearchControlProperties.NullValuePrompt text is not displayed within the search panel’s edit field in the following cases:
- When the search bar is focused by clicking it with the mouse.
- When any key is pressed while the search bar has focus.
- When the search bar’s value is cleared while this bar has focus (even if the ISearchControlProperties.NullValuePromptShowForEmptyValue property is set to true).
See Also