Table of Contents

Class TreeViewExtension

Namespace
Loehnert.Utility.Extensions
Assembly
Loehnert.Utility.dll

Represents a helper class that provides various extensions for the TreeView control.

public static class TreeViewExtension
Inheritance
TreeViewExtension
Inherited Members

Fields

SelectItemOnRightClickProperty

If this property is 'true' the tree view item will be selected when the user clicks it with the right button.

public static readonly DependencyProperty SelectItemOnRightClickProperty

Field Value

DependencyProperty

Methods

GetSelectItemOnRightClick(DependencyObject)

Gets a value indicating whether the tree view item should be selected on right click.

public static bool GetSelectItemOnRightClick(DependencyObject d)

Parameters

d DependencyObject

The dependent object.

Returns

bool

A value indicating whether the tree view item should be selected on right click.

SetSelectItemOnRightClick(DependencyObject, bool)

Sets a value indicating whether the tree view item should be selected on right click.

public static void SetSelectItemOnRightClick(DependencyObject d, bool value)

Parameters

d DependencyObject

The dependent object.

value bool

A value indicating whether the tree view item should be selected on right click.