Total .NET Analyzer Rule Documentation  

TreeViewHideSelect Rule

Consider changing the treeview control's HideSelection property to False.

Remarks

The Treeview control's HideSelection property determines whether the selected tree node remains highlighted when the treeview does not have focus. Having this property set to False will cause problems if your program relies on knowing which node in the Treeview has focus.

Resolution

In general, the HideSelection property should be set to True. Use the Windows Form Designer Properties Window to change the property.

See Also

TreeView.HideSelection Property