Share via


TreeView.ItemContainerTransitions Property

Definition

Gets or sets the collection of Transition style elements that apply to the item containers of a TreeView.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeView.ItemContainerTransitions (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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>

Property Value

The collection of Transition style elements that apply to the item containers of an ItemsControl.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to