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

BaseContentContainer.IsChild(IContentContainer, IContentContainer) Method

Gets whether the ‘containerContent Container is the ‘parent‘ container’s child.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public static bool IsChild(
    IContentContainer container,
    IContentContainer parent
)

#Parameters

Name Type Description
container DevExpress.XtraBars.Docking2010.Views.WindowsUI.IContentContainer

An IContentContainer to be checked.

parent DevExpress.XtraBars.Docking2010.Views.WindowsUI.IContentContainer

An IContentContainer that is a potential container‘s parent.

#Returns

Type Description
Boolean

true if the container Content Container is the parent container’s child; otherwise, false.

#Remarks

You can obtain a Content Container‘s parent directly via the BaseContentContainer.Parent property. See the Application Hierarchy and Module Navigation topic to learn more.

See Also