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

Declaration

public bool Contains(
    Control control
)
Public Function Contains(
    control As Control
) As Boolean

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