Back to Devexpress

GridControl.IsAttachedToSearchControl Property

windowsforms-devexpress-dot-xtragrid-dot-gridcontrol-3f162b3f.md

latest2.4 KB
Original Source

GridControl.IsAttachedToSearchControl Property

Gets whether the GridControl is attached to a SearchControl, which performs data searching through grid data.

Namespace : DevExpress.XtraGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public bool IsAttachedToSearchControl { get; }
vb
<Browsable(False)>
Public ReadOnly Property IsAttachedToSearchControl As Boolean

Property Value

TypeDescription
Boolean

true if the GridControl is attached to a SearchControl; otherwise, false.

|

Remarks

The GridControl supports data searching using the built-in Find Panel. However, instead of using the Find Panel, you can allow end-users to search through the grid using a standalone SearchControl. When the GridControl is attached to a SearchControl via the SearchControl.Client property, the built-in Find Panel is never displayed.

See Also

SearchControl

Find Panel

GridControl Class

GridControl Members

DevExpress.XtraGrid Namespace