Method AddGearButton
AddGearButton()
Adds a "Gear" button to the collection of buttons, typically used for displaying options or settings.
public virtual void AddGearButton()
Remarks
The gear button is inserted at the appropriate index in the button collection, ensuring it appears in the correct order relative to other buttons. If a close button is present, the gear button is positioned before it.