Table of Contents

Method GetVisibleButton

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetVisibleButton(int)

Retrieves the button at the specified index from the collection of visible buttons.

public virtual Button? GetVisibleButton(int index)

Parameters

index int

The zero-based index of the button to retrieve. Must be within the range of visible buttons.

Returns

Button

The Button at the specified index if it exists; otherwise, null.

Remarks

This method returns null if the specified index is out of range of the visible buttons.