Table of Contents

Method MenuFromStringId

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

MenuFromStringId(string?)

Retrieves a Menu instance corresponding to the specified string identifier.

public static Menu? MenuFromStringId(string? stringId)

Parameters

stringId string

The string representation of the unique identifier for the menu. This value can be null.

Returns

Menu

The Menu instance associated with the given string identifier, or null if the identifier is invalid or does not correspond to an existing menu.