Table of Contents

Class Extensions

Namespace
HeBianGu.Control.Dock.Layout
Assembly
HeBianGu.Control.Dock.dll

Provides extension methods for WPF specific (Visual Tree) capabilities.

public static class Extensions
Inheritance
Extensions
Inherited Members

Methods

ContainsChildOfType<T>(ILayoutContainer)

public static bool ContainsChildOfType<T>(this ILayoutContainer element)

Parameters

element ILayoutContainer

Returns

bool

Type Parameters

T

ContainsChildOfType<T, S>(ILayoutContainer)

public static bool ContainsChildOfType<T, S>(this ILayoutContainer container)

Parameters

container ILayoutContainer

Returns

bool

Type Parameters

T
S

Descendents(ILayoutElement)

public static IEnumerable<ILayoutElement> Descendents(this ILayoutElement element)

Parameters

element ILayoutElement

Returns

IEnumerable<ILayoutElement>

FindParent<T>(ILayoutElement)

public static T FindParent<T>(this ILayoutElement element)

Parameters

element ILayoutElement

Returns

T

Type Parameters

T

GetRoot(ILayoutElement)

public static ILayoutRoot GetRoot(this ILayoutElement element)

Parameters

element ILayoutElement

Returns

ILayoutRoot

GetSide(ILayoutElement)

public static AnchorSide GetSide(this ILayoutElement element)

Parameters

element ILayoutElement

Returns

AnchorSide

IsOfType<T, S>(ILayoutContainer)

public static bool IsOfType<T, S>(this ILayoutContainer container)

Parameters

container ILayoutContainer

Returns

bool

Type Parameters

T
S