logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IMenuPresenter

    Interface for a menu presenter that handles user interactions within a menu context.

    Namespace: Serenity.Menu.Application.Interfaces.Presenters
    Assembly: Serenity.Menu.Application.dll
    Syntax
    public interface IMenuPresenter : IUiPresenter

    Methods

    Cancel(MenuCancelInput)

    Cancels the current menu action.

    Declaration
    void Cancel(MenuCancelInput input)
    Parameters
    Type Name Description
    MenuCancelInput input

    The input data for the cancel action.

    ChangeOptionValue(MenuChangeOptionValueInput)

    Changes the value of a menu option.

    Declaration
    void ChangeOptionValue(MenuChangeOptionValueInput input)
    Parameters
    Type Name Description
    MenuChangeOptionValueInput input

    The input data for the change action.

    SelectOption(MenuSelectOptionInput)

    Selects a menu option.

    Declaration
    void SelectOption(MenuSelectOptionInput input)
    Parameters
    Type Name Description
    MenuSelectOptionInput input

    The input data for the select action.

    SubmitOption(MenuSubmitOptionInput)

    Submits the selected menu option.

    Declaration
    void SubmitOption(MenuSubmitOptionInput input)
    Parameters
    Type Name Description
    MenuSubmitOptionInput input

    The input data for the submit action.

    In this article
    © 2026 Serenity. All Rights Reserved