TreeView
- Assembly:
Fluence.Wpf - Namespace:
Fluence.Wpf.Controls
public class TreeView : System.Windows.Controls.TreeView
A Fluent Design tree view with Fluent hover, selection, and expand/collapse visuals. Items are represented by TreeViewItem containers. Authority: WinUI 3 TreeView_themeresources.xaml.
Base type: System.Windows.Controls.TreeView (including inherited WPF and .NET members)
Constructors
TreeView
public TreeView()
Initializes a new instance of the TreeView class.
Properties
SelectedItems
public IList SelectedItems { get; }
Gets the live list of currently selected items.
SelectionMode
public TreeViewSelectionMode SelectionMode { get; set; }
Gets or sets the selection mode used by the tree view.
Methods
GetContainerForItemOverride
protected override DependencyObject GetContainerForItemOverride()
Documentation inherited from the TreeView API.
IsItemItsOwnContainerOverride
protected override bool IsItemItsOwnContainerOverride(object item)
Documentation inherited from the TreeView API.
OnItemsChanged
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Documentation inherited from the TreeView API.
OnPreviewKeyDown
protected override void OnPreviewKeyDown(KeyEventArgs e)
Documentation inherited from the TreeView API.
OnSelectedItemChanged
protected override void OnSelectedItemChanged(RoutedPropertyChangedEventArgs<object> e)
Documentation inherited from the TreeView API.
PrepareContainerForItemOverride
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Documentation inherited from the TreeView API.
Dependency property identifiers
Use these identifiers with WPF property APIs. The matching CLR properties appear above when the control exposes them.
SelectionModeProperty
public static readonly DependencyProperty SelectionModeProperty
Identifies the SelectionMode dependency property.