Tab
A newer version of this page is available. Switch to the current version.

MenuItem Constructors

Represents an individual menu item within menu controls.
Name Parameters Description
MenuItem() none Initializes a new instance of the MenuItem class with default settings.
MenuItem(String) text Initializes a new instance of the MenuItem class with the specified display text.
MenuItem(String, String) text, name Initializes a new instance of the MenuItem class with specified settings.
MenuItem(String, String, String) text, name, imageUrl Initializes a new instance of the MenuItem class with specified settings.
MenuItem(String, String, String, String) text, name, imageUrl, navigateUrl Initializes a new instance of the MenuItem class with specified settings.
MenuItem(String, String, String, String, String) text, name, imageUrl, navigateUrl, target Initializes a new instance of the MenuItem class with specified settings.
See Also