TreeView.NodeFromContainer(DependencyObject) Method

Definition

Returns the TreeViewNode corresponding to the specified container.

TreeViewNode NodeFromContainer(DependencyObject const& container);
public TreeViewNode NodeFromContainer(DependencyObject container);
function nodeFromContainer(container)
Public Function NodeFromContainer (container As DependencyObject) As TreeViewNode

Parameters

container
DependencyObject

The container to retrieve the TreeViewNode for.

Returns

The node that corresponds to the specified container.

Applies to