TreeViewItem.IsSelectionActive Property

Gets a value that indicates whether the TreeViewItem has focus.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls (in System.Windows.Controls.dll)

public bool IsSelectionActive { get; private set; }

Property Value

Type: System.Boolean
true if this TreeViewItem has focus; otherwise, false. The default is false.

Dependency property identifier field: IsSelectionActiveProperty

The IsSelectionActive property is typically used by the VisualStateManager to determine if the item is active.


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions