Skip to main content

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

Declaration

public bool Contains(
    Control control
)

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