IRibbonElementsCollection.IndexOf

Fore Syntax

IndexOf(Item: IBaseRibbonElement): Integer;

Fore.NET Syntax

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

Parameters

Item. The control element, index of which should be received.

Description

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

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