Skip to main content

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.v23.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