BaseContentContainer.IsChild(IContentContainer, IContentContainer) Method

Gets whether the 'container' Content Container is the 'parent' container's child.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public static bool IsChild(
    IContentContainer container,
    IContentContainer parent
)
Public Shared Function IsChild(
    container As IContentContainer,
    parent As IContentContainer
) As Boolean

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