In This Article

LogicalTreeHelperExtended Class

Contains static methods that are useful for performing common tasks with nodes in a logical tree.

public static class LogicalTreeHelperExtended
Inheritance:
Object Object

Methods

GetRoot(DependencyObject)

Returns the root DependencyObject in the logical tree.

public static DependencyObject GetRoot(DependencyObject source)
Parameter Type Description
source DependencyObject

The visual whose root is returned.

Returns

DependencyObject:

The root DependencyObject in the visual tree.

Merge(Object[])

Merges the specified logical children into a single list, which can be collections or individual objects.

public static IEnumerator Merge(params object[] items)
Parameter Type Description
items Object[]

The items to merge.

Returns

IEnumerator:

An IEnumerator which references a list of all the given items.

Inherited Members