TreeView.NodeFromContainer(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the TreeViewNode corresponding to the specified container.
This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
TreeViewNode NodeFromContainer(DependencyObject const& container);
public TreeViewNode NodeFromContainer(DependencyObject 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.