Table of Contents

Method GetButton

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

GetButton(KnownButton)

Retrieves a button from the collection of children that matches the specified known button identifier.

public virtual Button? GetButton(KnownButton button)

Parameters

button KnownButton

The identifier of the known button to search for.

Returns

Button

A Button object that matches the specified identifier, or null if no matching button is found.