Version

DrawsFocusRect Property (UltraTree)

Gets / sets whether the control draws a focus rectangle around the active node or cell when it has focus.
Syntax
'Declaration
 
Public Property DrawsFocusRect As Infragistics.Win.DefaultableBoolean
public Infragistics.Win.DefaultableBoolean DrawsFocusRect {get; set;}
Remarks

If set to Default, this property will resolve based on the DisplayStyle. When DisplayStyle is Standard, this property will resolve to true. In WindowsVista style, it resolves to False.

DrawsFocusRect also affects keyboard behavior when using the Ctrl key. When DrawsFocusRect is true, using Ctrl plus a navigation key (Up, Down, PageUp, PageDown, Home, End) changes the ActiveNode. When DrawFocusRect is False, there is no visible indication of the ActiveNode, and therefore the Ctrl + navigation key combination will scroll the tree and have no effect on the active or selected nodes.

Example
Imports Infragistics.Win.UltraWinTree

' Turn off the focus rect in the tree. 
Me.ultraTree1.DrawsFocusRect = Infragistics.Win.DefaultableBoolean.False
using Infragistics.Win.UltraWinTree;

// Turn off the focus rect in the tree. 
this.ultraTree1.DrawsFocusRect = Infragistics.Win.DefaultableBoolean.False;
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also