C# Class GW2PAO.Infrastructure.ViewModels.MenuItem

Basic menu item that can have sub-menu items
Inheritance: BindableBase, IMenuItem
Show file Open project: SamHurne/gw2pao

Public Methods

Method Description
MenuItem ( string header, System.Action action = null, Func canClick = null, string iconSrc = null ) : System

Default constructor

Method Details

MenuItem() public method

Default constructor
public MenuItem ( string header, System.Action action = null, Func canClick = null, string iconSrc = null ) : System
header string Header text to use for the menu item
action System.Action Action to perform when clicking the menu item, if any
canClick Func Function used to determine if the menu item can be clicked or not
iconSrc string
return System