TreeView.GetContainerForItemOverride 方法

定义

创建用于显示内容的 TreeViewItem

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

返回

一个用作内容容器的新 TreeViewItem

适用于