Skip to main content

GridViewOptionsFind.FindPanelLocation Property

Gets or sets whether the Find Panel is embedded in the Group Panel or displayed in a separate panel.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

[DefaultValue(GridFindPanelLocation.Default)]
[XtraSerializableProperty]
public GridFindPanelLocation FindPanelLocation { get; set; }

Property Value

Type Default Description
GridFindPanelLocation Default

A value that specifies whether or not the Find Panel is embedded in the Group Panel.

Available values:

Name Description
Default

The default location depends on the Version Compatibility setting. Since version 19.2, the find panel is embedded into the group panel.

GroupPanel

The find panel is embedded in the group panel. Ensure that the ShowGroupPanel option is enabled. This mode has no effect if the InHeaderSearchMode option is set to TextFilter.

Panel

The find panel is displayed in a separate panel.

Property Paths

You can access this nested property as listed below:

Object Type Path to FindPanelLocation
GridView
.OptionsFind .FindPanelLocation

Remarks

In v19.1 and older, the Find Panel is a separate panel placed above the Group Panel.

embedded-find

As of v19.2, the Find Panel is embedded in the Group Panel.

separate-find

Set this property to Panel to revert to two separate visual elements. To do the same for all Data Grids in the project, switch the global WindowsFormsSettings.DefaultSettingsCompatibilityMode property to v19_1.

If the InHeaderSearchMode option is set to TextFilter, the Find Panel is a separate element regardless of the FindPanelLocation property value.

See Also