C# Class CodeBox.Core.Utilities.VisualTreeExtensions

Mostrar archivo Open project: anaimi/codebox

Public Methods

Method Description
GetAllChildren ( this depObject ) : IEnumerable
GetChild ( this depObject, int childIndex ) : DependencyObject
GetChild ( this depObject, string name ) : DependencyObject
GetChild ( this depObject, string name, bool recursive ) : DependencyObject
GetChildren ( this depObject ) : IEnumerable
GetChildrenCount ( this depObject ) : int
GetParent ( this depObject ) : DependencyObject

Method Details

GetAllChildren() public static method

public static GetAllChildren ( this depObject ) : IEnumerable
depObject this
return IEnumerable

GetChild() public static method

public static GetChild ( this depObject, int childIndex ) : DependencyObject
depObject this
childIndex int
return System.Windows.DependencyObject

GetChild() public static method

public static GetChild ( this depObject, string name ) : DependencyObject
depObject this
name string
return System.Windows.DependencyObject

GetChild() public static method

public static GetChild ( this depObject, string name, bool recursive ) : DependencyObject
depObject this
name string
recursive bool
return System.Windows.DependencyObject

GetChildren() public static method

public static GetChildren ( this depObject ) : IEnumerable
depObject this
return IEnumerable

GetChildrenCount() public static method

public static GetChildrenCount ( this depObject ) : int
depObject this
return int

GetParent() public static method

public static GetParent ( this depObject ) : DependencyObject
depObject this
return System.Windows.DependencyObject