HeaderPane
Main
Hide
Share Link
Print

ShowFocusRectangle Property, ListClass Class

Defines whether the focus rectangle is shown for the current focus object.

Class: ListClass
Namespace: Softelvdm.SftBoxNET
Assembly: Softelvdm.SftBoxNET

Syntax

public bool ShowFocusRectangle { get; set; }
Public Property ShowFocusRectangle As Boolean

Value

True if the focus rectangle is shown, otherwise False.

The default value is True.

Comments

Defines whether the focus rectangle is shown for the current focus object.

The focus rectangle is only displayed if the tree control has the input focus. The size of the focus rectangle is consistent with the current selection style (ListClass.SelectionStyle).

If item selection is active, the focus object is an item (ItemClass), otherwise cell selection is active and the focus object is a cell.

The ListClass.FocusObject, ListClass.FocusItem and ListClass.FocusCell properties define the focus object.

See Also ListClass Class | Classes | SftBox/NET 3.0