Skip to main content

TdxNavBarGroup.SelectedLinkIndex Property

Specifies the index of a group’s selected link.

Declaration

property SelectedLinkIndex: Integer read; write;

Property Value

Type
Integer

Remarks

The return value corresponds to the index of the TdxNavBarItemLink object within the Links collection of a group. Assign the index of an item to the SelectedLinkIndex property to select it. Setting the SelectedLinkIndex property to -1 or to a value greater than the last available link’s index deselects all links within this group.

Use the SelectedLink property to access the currently selected link.

Note

Links can only be selected if the NavBar control’s OptionsBehavior.Common.AllowSelectLinks property is set to True.

See Also