Class Extensions
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
Type Parameters
T
ContainsChildOfType<T, S>(ILayoutContainer)
public static bool ContainsChildOfType<T, S>(this ILayoutContainer container)
Parameters
container
ILayoutContainer
Returns
Type Parameters
T
S
Descendents(ILayoutElement)
public static IEnumerable<ILayoutElement> Descendents(this ILayoutElement element)
Parameters
element
ILayoutElement
Returns
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
GetSide(ILayoutElement)
public static AnchorSide GetSide(this ILayoutElement element)
Parameters
element
ILayoutElement
Returns
IsOfType<T, S>(ILayoutContainer)
public static bool IsOfType<T, S>(this ILayoutContainer container)
Parameters
container
ILayoutContainer
Returns
Type Parameters
T
S