Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#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