In This Article

IMenuItem Interface

Provides the base requirements for an object that defines an item within a menu.

public interface IMenuItem : IMenuItemBase

Remarks

Instances of this type are typically created by CreateMenuItem(MenuFactoryMenuItemOptions?), and the current menu factory can be accessed from Current. This properties on this interface are designed to help distinguish one menu item from another and are not intended to be a full replacement for all interactions with a menu item.

Properties

Items

The collection of items that belong to the menu.

IMenuItemCollection Items { get; }

Property Value

IMenuItemCollection

Key

The key that uniquely identifies the menu item.

string? Key { get; }

Property Value

string

Remarks

CommandKeys defines command keys are shared between Actipro products. Individual products may also define their own command keys.

Text

The text to be displayed.

string? Text { get; }

Property Value

string

Extension Methods