Action Menu Option

The ActionMenuOption struct represents a single action menu option.

Fields & Properties

Name
Description
Type
Access

text

The text of the button.

string

public

backgroundColor

The background color of the button.

Color

public

action

The action to perform on-click.

Action

public

sortingOrder

The heirarchal order of this option within it's parent. Options with a larger sorting order appear at the bottom.

int

public

Creating an Option

ActionMenuOption myOption = new ActionMenuOption();

Last updated