Table of Contents

Method GetText

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

GetText(KnownButton)

Retrieves the text associated with the specified button index.

public static string? GetText(KnownButton index)

Parameters

index KnownButton

The index of the button whose text is to be retrieved.

Returns

string

A string containing the text of the specified button, or null if the text is not available.

Remarks

Ensure that the button index provided is valid and corresponds to a known button. The method initializes necessary data before retrieving the text.