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.v20.1.dll


public bool IsAttachedToSearchControl { get; }
Public ReadOnly Property IsAttachedToSearchControl As Boolean

Property Value

Type Description

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


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