共用方式為


TreeViewItem.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

適用於