Back to Devexpress

GridViewOptionsFind.FindPanelLocation Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridviewoptionsfind.md

latest4.1 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
[DefaultValue(GridFindPanelLocation.Default)]
[XtraSerializableProperty]
public GridFindPanelLocation FindPanelLocation { get; set; }
vb
<DefaultValue(GridFindPanelLocation.Default)>
<XtraSerializableProperty>
Public Property FindPanelLocation As GridFindPanelLocation

Property Value

TypeDefaultDescription
GridFindPanelLocationDefault

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

|

Available values:

NameDescription
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 TypePath to FindPanelLocation
GridView

.OptionsFind .FindPanelLocation

|

Remarks

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

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

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

GridViewOptionsFind Class

GridViewOptionsFind Members

DevExpress.XtraGrid.Views.Grid Namespace