TreeView : Control
Implemented for: all platforms supported by Uno Platform
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 | all platforms supported by Uno Platform |
IList |
all platforms supported by Uno Platform |
IList |
all platforms supported by Uno Platform |
TreeViewNode SelectedNode | all platforms supported by Uno Platform |
object SelectedItem | all platforms supported by Uno Platform |
object ItemsSource | all platforms supported by Uno Platform |
DataTemplateSelector ItemTemplateSelector | all platforms supported by Uno Platform |
DataTemplate ItemTemplate | all platforms supported by Uno Platform |
TransitionCollection ItemContainerTransitions | all platforms supported by Uno Platform |
StyleSelector ItemContainerStyleSelector | all platforms supported by Uno Platform |
Style ItemContainerStyle | all platforms supported by Uno Platform |
bool CanReorderItems | all platforms supported by Uno Platform |
bool CanDragItems | all platforms supported by Uno Platform |
IList | all platforms supported by Uno Platform |
DependencyProperty SelectedItemProperty | all platforms supported by Uno Platform |
DependencyProperty SelectionModeProperty | all platforms supported by Uno Platform |
DependencyProperty CanDragItemsProperty | all platforms supported by Uno Platform |
DependencyProperty CanReorderItemsProperty | all platforms supported by Uno Platform |
DependencyProperty ItemContainerStyleProperty | all platforms supported by Uno Platform |
DependencyProperty ItemContainerStyleSelectorProperty | all platforms supported by Uno Platform |
DependencyProperty ItemContainerTransitionsProperty | all platforms supported by Uno Platform |
DependencyProperty ItemTemplateProperty | all platforms supported by Uno Platform |
DependencyProperty ItemTemplateSelectorProperty | all platforms supported by Uno Platform |
DependencyProperty ItemsSourceProperty | all platforms supported by Uno Platform |
Implemented methods
Method | Supported on |
---|---|
void Expand(TreeViewNode) | all platforms supported by Uno Platform |
void Collapse(TreeViewNode) | all platforms supported by Uno Platform |
void SelectAll() | all platforms supported by Uno Platform |
TreeViewNode NodeFromContainer(DependencyObject) | all platforms supported by Uno Platform |
DependencyObject ContainerFromNode(TreeViewNode) | all platforms supported by Uno Platform |
object ItemFromContainer(DependencyObject) | all platforms supported by Uno Platform |
DependencyObject ContainerFromItem(object) | all platforms supported by Uno Platform |
Implemented events
Event | Supported on |
---|---|
TypedEventHandler<TreeView, TreeViewCollapsedEventArgs> Collapsed | all platforms supported by Uno Platform |
TypedEventHandler<TreeView, TreeViewExpandingEventArgs> Expanding | all platforms supported by Uno Platform |
TypedEventHandler<TreeView, TreeViewItemInvokedEventArgs> ItemInvoked | all platforms supported by Uno Platform |
TypedEventHandler<TreeView, TreeViewDragItemsCompletedEventArgs> DragItemsCompleted | all platforms supported by Uno Platform |
TypedEventHandler<TreeView, TreeViewDragItemsStartingEventArgs> DragItemsStarting | all platforms supported by Uno Platform |
TypedEventHandler<TreeView, TreeViewSelectionChangedEventArgs> SelectionChanged | all platforms supported by Uno Platform |
Last updated Thursday, 21 November 2024 15:21.