TreeView.NodeFromContainer(DependencyObject) TreeView.NodeFromContainer(DependencyObject) TreeView.NodeFromContainer(DependencyObject) TreeView.NodeFromContainer(DependencyObject) Method

Definition

Returns the TreeViewNode corresponding to the specified container.

public : TreeViewNode NodeFromContainer(DependencyObject container)
TreeViewNode NodeFromContainer(DependencyObject container) const;
public TreeViewNode NodeFromContainer(DependencyObject container)
Public Function NodeFromContainer(container As DependencyObject) As TreeViewNode

Parameters

container
DependencyObject DependencyObject

The container to retrieve the TreeViewNode for.

Returns

The node that corresponds to the specified container.

Additional features and requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)