Table of Contents

Method GetFirstNonSpecialButtonIndex

Namespace
Alternet.Maui
Assembly
Alternet.UI.Maui.dll

GetFirstNonSpecialButtonIndex()

Returns the index of the first button in the toolbar that is not marked as special.

public virtual int GetFirstNonSpecialButtonIndex()

Returns

int

The zero-based index of the first non-special button if found; otherwise, -1.

Remarks

A non-special button is defined as a button whose kind is set to Normal. If no such button exists in the toolbar, the method returns -1.