Table of Contents

Class VisualTreeHelperEx

Namespace
H.Controls.ZoomBox
Assembly
H.Controls.ZoomBox.dll
public static class VisualTreeHelperEx
Inheritance
VisualTreeHelperEx
Inherited Members

Methods

FindAncestorByType(DependencyObject, Type, bool)

public static DependencyObject FindAncestorByType(DependencyObject element, Type type, bool specificTypeOnly)

Parameters

element DependencyObject
type Type
specificTypeOnly bool

Returns

DependencyObject

FindAncestorByType<T>(DependencyObject)

public static T FindAncestorByType<T>(DependencyObject depObj) where T : DependencyObject

Parameters

depObj DependencyObject

Returns

T

Type Parameters

T

FindDescendantByName(Visual, string)

public static Visual FindDescendantByName(Visual element, string name)

Parameters

element Visual
name string

Returns

Visual

FindDescendantByType(Visual, Type)

public static Visual FindDescendantByType(Visual element, Type type)

Parameters

element Visual
type Type

Returns

Visual

FindDescendantByType(Visual, Type, bool)

public static Visual FindDescendantByType(Visual element, Type type, bool specificTypeOnly)

Parameters

element Visual
type Type
specificTypeOnly bool

Returns

Visual

FindDescendantByType<T>(Visual)

public static T FindDescendantByType<T>(Visual element) where T : Visual

Parameters

element Visual

Returns

T

Type Parameters

T

FindDescendantWithPropertyValue(Visual, DependencyProperty, object)

public static Visual FindDescendantWithPropertyValue(Visual element, DependencyProperty dp, object value)

Parameters

element Visual
dp DependencyProperty
value object

Returns

Visual