C# Class _wpf.wpf.LogicalTree

Show file Open project: eloff/silvershell

Public Methods

Method Description
Clone ( DependencyObject obj ) : DependencyObject
GetFirstAncestor ( FrameworkElement el, bool>.Func predicate ) : DependencyObject
GetFirstAncestorOfType ( FrameworkElement el, Type ty ) : object
GetFirstChild ( DependencyObject el ) : object
GetFirstChild ( DependencyObject el, bool>.Func predicate ) : object
GetFirstChildOfType ( DependencyObject el, Type ty ) : object
GetFirstDescendant ( UIElement el, bool>.Func predicate ) : object
GetFirstDescendantOfType ( UIElement el, Type ty ) : object
NextSibling ( FrameworkElement el ) : UIElement
PrevSibling ( FrameworkElement el ) : UIElement
RemoveAllChildren ( DependencyObject el ) : void
SetContent ( DependencyObject el, DependencyObject content ) : void
SetContent ( DependencyObject el, IEnumerable content ) : void
TryGetContent ( DependencyObject el, object &content ) : bool
Unlink ( FrameworkElement el ) : void
Walk ( UIElement el ) : IEnumerable
Walk ( UIElement el, int depth ) : IEnumerable

Method Details

Clone() public static method

public static Clone ( DependencyObject obj ) : DependencyObject
obj System.Windows.DependencyObject
return System.Windows.DependencyObject

GetFirstAncestor() public static method

public static GetFirstAncestor ( FrameworkElement el, bool>.Func predicate ) : DependencyObject
el System.Windows.FrameworkElement
predicate bool>.Func
return System.Windows.DependencyObject

GetFirstAncestorOfType() public static method

public static GetFirstAncestorOfType ( FrameworkElement el, Type ty ) : object
el System.Windows.FrameworkElement
ty System.Type
return object

GetFirstChild() public static method

public static GetFirstChild ( DependencyObject el ) : object
el System.Windows.DependencyObject
return object

GetFirstChild() public static method

public static GetFirstChild ( DependencyObject el, bool>.Func predicate ) : object
el System.Windows.DependencyObject
predicate bool>.Func
return object

GetFirstChildOfType() public static method

public static GetFirstChildOfType ( DependencyObject el, Type ty ) : object
el System.Windows.DependencyObject
ty System.Type
return object

GetFirstDescendant() public static method

public static GetFirstDescendant ( UIElement el, bool>.Func predicate ) : object
el UIElement
predicate bool>.Func
return object

GetFirstDescendantOfType() public static method

public static GetFirstDescendantOfType ( UIElement el, Type ty ) : object
el UIElement
ty System.Type
return object

NextSibling() public static method

public static NextSibling ( FrameworkElement el ) : UIElement
el System.Windows.FrameworkElement
return UIElement

PrevSibling() public static method

public static PrevSibling ( FrameworkElement el ) : UIElement
el System.Windows.FrameworkElement
return UIElement

RemoveAllChildren() public static method

public static RemoveAllChildren ( DependencyObject el ) : void
el System.Windows.DependencyObject
return void

SetContent() public static method

public static SetContent ( DependencyObject el, DependencyObject content ) : void
el System.Windows.DependencyObject
content System.Windows.DependencyObject
return void

SetContent() public static method

public static SetContent ( DependencyObject el, IEnumerable content ) : void
el System.Windows.DependencyObject
content IEnumerable
return void

TryGetContent() public static method

public static TryGetContent ( DependencyObject el, object &content ) : bool
el System.Windows.DependencyObject
content object
return bool

Unlink() public static method

public static Unlink ( FrameworkElement el ) : void
el System.Windows.FrameworkElement
return void

Walk() public static method

public static Walk ( UIElement el ) : IEnumerable
el UIElement
return IEnumerable

Walk() public static method

public static Walk ( UIElement el, int depth ) : IEnumerable
el UIElement
depth int
return IEnumerable