TreeView.GetContainerForItemOverride Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Creates a TreeViewItem to use to display content.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override DependencyObject GetContainerForItemOverride()

Return Value

Type: System.Windows.DependencyObject

A new TreeViewItem to use as a container for content.

.NET Framework
Available since 3.0
Available since 3.0
Return to top