Class DependencyObjectExtensions
Represents an extension to find the parent of an element. It is an object that participates in the dependency property system.
Inheritance
System.Object
DependencyObjectExtensions
Assembly: Syncfusion.SfBulletGraph.WPF.dll
Syntax
public static class DependencyObjectExtensions : Object
Methods
FindElementOfType<T>(FrameworkElement)
Searches the sub tree of an element (including that element)
for an element of a particular type.
Declaration
public static T FindElementOfType<T>(this FrameworkElement element)
where T : FrameworkElement
Parameters
Type |
Name |
Description |
System.Windows.FrameworkElement |
element |
|
Returns
Type Parameters
FindParentElementOfType<T>(FrameworkElement)
Method used to find the parent of an element.
Declaration
public static T FindParentElementOfType<T>(this FrameworkElement element)
where T : class
Parameters
Type |
Name |
Description |
System.Windows.FrameworkElement |
element |
|
Returns
Type Parameters