-api-id | -api-type |
---|---|
M:Microsoft.UI.Xaml.Controls.TreeView.ItemFromContainer(Windows.UI.Xaml.DependencyObject) |
winrt method |
Returns the item that corresponds to the specified, generated container.
This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
The DependencyObject that corresponds to the item to be returned.
The contained item, or the container if it does not contain an item.