Skip to content

FocusedItem Property

Description

The FocusedItem property holds a pointer to the currently focused TaskPanelItem.

Property Type

  • Read-write property

Syntax (Visual Basic)

Public Property FocusedItem() As [TaskPanelItem](XtremeTaskPanel~TaskPanelItem.md)

Remarks

The FocusedItem property holds a pointer to the currently focused TaskPanelItem. The FocusedItem is updated each time a user clicks, right-clicks, or uses the arrow keys to select an item or group. Both groups and group items can be the FocusedItem. Each time the FocusedItemChanged event occurs, FocusedItem is updated with the currently focused item.

Note: Items in more than one group can have focus when SingleSelection is FALSE and the TaskPanel behaviour is xtpTaskPanelBehaviourExplorer. In this case, the FocusedItem will point to the last item that had focus, regardless of what items may be selected in other groups.

If toggle buttons are used, then FocusedItem will point to the last item to receive focus.

See Also

Example

Retrieving the Currently Focused Item


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