DocumentGroup.Contains(Control) Method
Returns whether any Document within the current DocumentGroup contains the specified Control.
Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed
Assembly: DevExpress.XtraBars.v25.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| control | Control | A System.Windows.Forms.Control object to test. |
Returns
| Type | Description |
|---|---|
| Boolean | true if any Document within the current DocumentGroup contains the specified Control; otherwise, false. |
Remarks
The Contains method checks all Documents within the current DocumentGroup, comparing their BaseDocument.Control property value with the control parameter object.
See Also