Skip to main content

TdxRibbonBackstageViewMenuButtons.IndexOf(TdxRibbonBackstageViewMenuButton) Method

Returns the AItem‘s zero-based index within the collection.

Declaration

function IndexOf(AItem: TdxRibbonBackstageViewMenuButton): Integer;

Parameters

Name Type
AItem TdxRibbonBackstageViewMenuButton

Returns

Type
Integer

Remarks

The IndexOf method returns -1 if it does not match AItem in the collection.

See Also