DataViewBase.ShowSearchPanelMode Property
Gets or sets a value that specifies when the Search Panel is displayed.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll
#Declaration
[CloneDetailMode(CloneDetailMode.Skip)]
[XtraSerializableProperty]
public ShowSearchPanelMode ShowSearchPanelMode { get; set; }
#Property Value
Type | Description |
---|---|
Show |
A Show |
#Remarks
By default, an end-user can show and hide the Search Panel when required. To display the Search Panel, an end-user should press CTRL+F or select 'Show Search Panel' item of a column's context menu. To hide the Search Panel, an end-user should do one of the following: click the Close button (if visible), use ESC (the first press clears the search box; the second press closes the Search Panel) or select the 'Hide Search Panel' item of a column's context menu.
To display the Search Panel within a View and prevent an end-user from hiding it, set the ShowSearchPanelMode property to ShowSearchPanelMode.Always. To hide the Search Panel and prevent an end-user from showing it, set the ShowSearchPanelMode property to ShowSearchPanelMode.Never.