Skip to main content

TdxCustomNavBar.ActiveGroupIndex Property

Specifies the index of the active group in the NavBar control.

Declaration

property ActiveGroupIndex: Integer read; write;

Property Value

Type
Integer

Remarks

The ActiveGroupIndex property accesses the active group by its index. This property can accept values between 0 and the last available group index. Thus, there is always an active group within the NavBar control. Note that the ActiveGroupIndex value is synchronized with the ActiveGroup value. The latter specifies the active group by its corresponding object.

Active groups have differences in different Views:

  • In Side Bar Views, the active group is the one currently expanded;

  • In Explorer Bar Views, the active group only differs from the others by its header style. Note: the active group header style is only used when the control’s ShowSpecialGroup property value is True.

See Also