TreeView : Control

Implemented for: WASM, Skia, Mobile

This document lists all properties, methods, and events of TreeView that are currently implemented by the Uno Platform. See the WinUI documentation for detailed usage guidelines which all automatically apply to Uno Platform.

To better understand how TreeView works, you can use the Uno Gallery or run your own tests on the Uno Playground.

Implemented properties

Property Supported on
TreeViewSelectionMode SelectionMode WASM, Skia, Mobile
IList RootNodes WASM, Skia, Mobile
IList SelectedNodes WASM, Skia, Mobile
TreeViewNode SelectedNode WASM, Skia, Mobile
object SelectedItem WASM, Skia, Mobile
object ItemsSource WASM, Skia, Mobile
DataTemplateSelector ItemTemplateSelector WASM, Skia, Mobile
DataTemplate ItemTemplate WASM, Skia, Mobile
TransitionCollection ItemContainerTransitions WASM, Skia, Mobile
StyleSelector ItemContainerStyleSelector WASM, Skia, Mobile
Style ItemContainerStyle WASM, Skia, Mobile
bool CanReorderItems WASM, Skia, Mobile
bool CanDragItems WASM, Skia, Mobile
IList SelectedItems WASM, Skia, Mobile
DependencyProperty SelectedItemProperty WASM, Skia, Mobile
DependencyProperty SelectionModeProperty WASM, Skia, Mobile
DependencyProperty CanDragItemsProperty WASM, Skia, Mobile
DependencyProperty CanReorderItemsProperty WASM, Skia, Mobile
DependencyProperty ItemContainerStyleProperty WASM, Skia, Mobile
DependencyProperty ItemContainerStyleSelectorProperty WASM, Skia, Mobile
DependencyProperty ItemContainerTransitionsProperty WASM, Skia, Mobile
DependencyProperty ItemTemplateProperty WASM, Skia, Mobile
DependencyProperty ItemTemplateSelectorProperty WASM, Skia, Mobile
DependencyProperty ItemsSourceProperty WASM, Skia, Mobile

Implemented methods

Method Supported on
void Expand(TreeViewNode) WASM, Skia, Mobile
void Collapse(TreeViewNode) WASM, Skia, Mobile
void SelectAll() WASM, Skia, Mobile
TreeViewNode NodeFromContainer(DependencyObject) WASM, Skia, Mobile
DependencyObject ContainerFromNode(TreeViewNode) WASM, Skia, Mobile
object ItemFromContainer(DependencyObject) WASM, Skia, Mobile
DependencyObject ContainerFromItem(object) WASM, Skia, Mobile

Implemented events

Event Supported on
TypedEventHandler<TreeView, TreeViewCollapsedEventArgs> Collapsed WASM, Skia, Mobile
TypedEventHandler<TreeView, TreeViewExpandingEventArgs> Expanding WASM, Skia, Mobile
TypedEventHandler<TreeView, TreeViewItemInvokedEventArgs> ItemInvoked WASM, Skia, Mobile
TypedEventHandler<TreeView, TreeViewDragItemsCompletedEventArgs> DragItemsCompleted WASM, Skia, Mobile
TypedEventHandler<TreeView, TreeViewDragItemsStartingEventArgs> DragItemsStarting WASM, Skia, Mobile
TypedEventHandler<TreeView, TreeViewSelectionChangedEventArgs> SelectionChanged WASM, Skia, Mobile

Below are all properties, methods, and events of TreeView that are not currently implemented in Uno.

Not implemented properties

Property Not supported on
TreeViewSelectionMode SelectionMode MacOS
IList RootNodes MacOS
IList SelectedNodes MacOS
TreeViewNode SelectedNode MacOS
object SelectedItem MacOS
object ItemsSource MacOS
DataTemplateSelector ItemTemplateSelector MacOS
DataTemplate ItemTemplate MacOS
TransitionCollection ItemContainerTransitions MacOS
StyleSelector ItemContainerStyleSelector MacOS
Style ItemContainerStyle MacOS
bool CanReorderItems MacOS
bool CanDragItems MacOS
IList SelectedItems MacOS
DependencyProperty SelectedItemProperty MacOS
DependencyProperty SelectionModeProperty MacOS
DependencyProperty CanDragItemsProperty MacOS
DependencyProperty CanReorderItemsProperty MacOS
DependencyProperty ItemContainerStyleProperty MacOS
DependencyProperty ItemContainerStyleSelectorProperty MacOS
DependencyProperty ItemContainerTransitionsProperty MacOS
DependencyProperty ItemTemplateProperty MacOS
DependencyProperty ItemTemplateSelectorProperty MacOS
DependencyProperty ItemsSourceProperty MacOS

Not implemented methods

Method Not supported on
void Expand(TreeViewNode) MacOS
void Collapse(TreeViewNode) MacOS
void SelectAll() MacOS
TreeViewNode NodeFromContainer(DependencyObject) MacOS
DependencyObject ContainerFromNode(TreeViewNode) MacOS
object ItemFromContainer(DependencyObject) MacOS
DependencyObject ContainerFromItem(object) MacOS

Not implemented events

Event Not supported on
TypedEventHandler<TreeView, TreeViewCollapsedEventArgs> Collapsed MacOS
TypedEventHandler<TreeView, TreeViewExpandingEventArgs> Expanding MacOS
TypedEventHandler<TreeView, TreeViewItemInvokedEventArgs> ItemInvoked MacOS
TypedEventHandler<TreeView, TreeViewDragItemsCompletedEventArgs> DragItemsCompleted MacOS
TypedEventHandler<TreeView, TreeViewDragItemsStartingEventArgs> DragItemsStarting MacOS
TypedEventHandler<TreeView, TreeViewSelectionChangedEventArgs> SelectionChanged MacOS

Last updated Monday, 14 April 2025 02:07.