Edit

Share via


TreeView.GetContainerForItemOverride Method

Definition

Creates a TreeViewItem to use to display content.

protected:
 override System::Windows::DependencyObject ^ GetContainerForItemOverride();
protected override System.Windows.DependencyObject GetContainerForItemOverride ();
override this.GetContainerForItemOverride : unit -> System.Windows.DependencyObject
Protected Overrides Function GetContainerForItemOverride () As DependencyObject

Returns

A new TreeViewItem to use as a container for content.

Applies to