DataControlBase.ShowSearchPanelMode Property
Gets or sets when the Search Panel is shown within the grid. This is a dependency property.
Namespace: DevExpress.UI.Xaml.Grid
Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
Declaration
Property Value
Type | Description |
---|---|
ShowSearchPanelMode | A ShowSearchPanelMode enumeration value. |
Available values:
Name | Description |
---|---|
Default | Activates the default behavior. If the Search Panel is shown within the Group Panel (the GridControlBase.ShowGroupPanel property is set to true) and doesn’t contain any search text, it is automatically closed after a delay. CTRL+F - Invokes the Search Panel. Ensure that no cell editor is opened before invoking the Search Panel. Otherwise, the shortcut will be intercepted by the in-place editor. ESC - Clears the search box. If the search box is empty, pressing ESC closes the Search Panel. |
Always | The Search Panel is always visible, it cannot be hidden by an end-user. |
Never | The Search Panel is hidden and cannot be shown by the end-user. |
Remarks
If the GridControlBase.ShowGroupPanel property is set to true, the Search Panel is displayed within the Group Panel. If the ShowSearchPanelMode property is set to ShowSearchPanelMode.Default, a Search Panel that doesn’t contain any search criteria is automatically closed after a delay specified by the DataControlBase.SearchPanelCloseDelay property.
To learn more, see Search Panel.