Skip to main content

TreeViewItem

C# API / Fluence.Wpf.Controls

  • Assembly: Fluence.Wpf
  • Namespace: Fluence.Wpf.Controls
public class TreeViewItem : System.Windows.Controls.TreeViewItem

A Fluent Design tree view item with full-row hover highlight, animated chevron, and WinUI 3-canonical background brush states. Authority: WinUI 3 TreeView_themeresources.xaml + TreeViewItem.xaml.

Base type: System.Windows.Controls.TreeViewItem (including inherited WPF and .NET members)

C# source

Constructors​

TreeViewItem​

public TreeViewItem()

Creates a new TreeViewItem instance.

Properties​

IsSelectionChecked​

public bool? IsSelectionChecked { get; set; }

Gets or sets whether this item is checked in a multiple-selection tree view. A null value represents an indeterminate parent state.

Methods​

GetContainerForItemOverride​

protected override DependencyObject GetContainerForItemOverride()

Documentation inherited from the TreeViewItem API.

IsItemItsOwnContainerOverride​

protected override bool IsItemItsOwnContainerOverride(object item)

Documentation inherited from the TreeViewItem API.

OnApplyTemplate​

public override void OnApplyTemplate()

Documentation inherited from the TreeViewItem API.

OnItemsChanged​

protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)

Documentation inherited from the TreeViewItem API.

OnKeyDown​

protected override void OnKeyDown(KeyEventArgs e)

Documentation inherited from the TreeViewItem API.

OnPreviewKeyDown​

protected override void OnPreviewKeyDown(KeyEventArgs e)

Documentation inherited from the TreeViewItem API.

OnSelected​

protected override void OnSelected(RoutedEventArgs e)

Documentation inherited from the TreeViewItem API.

Dependency property identifiers​

Use these identifiers with WPF property APIs. The matching CLR properties appear above when the control exposes them.

IsSelectionCheckedProperty​

public static readonly DependencyProperty IsSelectionCheckedProperty

Identifies the IsSelectionChecked dependency property.