IRibbonElementsCollection.IndexOf

Fore Syntax

IndexOf(Item: IBaseRibbonElement): Integer;

Fore.NET Syntax

IndexOf(Item: Prognoz.Platform.Interop.Forms.IBaseRibbonElement): Integer;

Parameters

Item. The control, which index must be obtained.

Description

The IndexOf method returns index in the collection for the specified control.

Comments

Indexes of the elements in the collection correspond to visual arrangement of the elements on the ribbon. The visual arrangement of the elements is organized bottom-up left-to-right.

See also:

IRibbonElementsCollection