共用方式為


TreeView.ItemContainerTransitions 屬性

定義

取得或設定套用至 TreeView 專案容器的 Transition 樣式專案集合。

適用于 UWP 的對等 WinUI 2 APIMicrosoft.UI.Xaml.Controls.TreeView.ItemContainerTransitions (Windows 應用程式 SDK,請參閱Windows 應用程式 SDK命名空間) 。

public:
 property TransitionCollection ^ ItemContainerTransitions { TransitionCollection ^ get(); void set(TransitionCollection ^ value); };
TransitionCollection ItemContainerTransitions();

void ItemContainerTransitions(TransitionCollection value);
public TransitionCollection ItemContainerTransitions { get; set; }
var transitionCollection = treeView.itemContainerTransitions;
treeView.itemContainerTransitions = transitionCollection;
Public Property ItemContainerTransitions As TransitionCollection
<TreeView>
  <TreeView.ItemContainerTransitions>
    <TransitionCollection>
      oneOrMoreTransitions
    </TransitionCollection>
  </TreeView.ItemContainerTransitions>
</TreeView>

屬性值

套用至ItemsControl之專案容器的Transition樣式專案集合。

Windows 需求

裝置系列
Windows 10, version 1809 (已於 10.0.17763.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v7.0 引進)

適用於