Skip to content

HideSelection Property

Description

Gets or sets a value indicating whether the selected tree node remains highlighted even when the tree view has lost focus.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property HideSelection() As Boolean

Remarks

When this property is set to false, selected nodes in the TreeView control remain highlighted in a different color than the current selection color when the TreeView control loses focus. You can use this property to keep items that are selected by the user visible when the user clicks a different control on the form or moves to a different window.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.