In This Article

MenuFactoryMenuOptions Class

The options to be used when creating a menu using IMenuFactory.

public class MenuFactoryMenuOptions
Inheritance:
object object

Constructors

MenuFactoryMenuOptions()

Initializes an instance of the class.

public MenuFactoryMenuOptions()

Properties

MenuItems

Menu items used to initialize the menu.

public IEnumerable<Control>? MenuItems { get; set; }

Property Value

IEnumerable<Control>

Owner

An owner for the menu which can be used for additional context.

public object? Owner { get; set; }

Property Value

object

Tag

An object that contains data about the menu to be created.

public object? Tag { get; set; }

Property Value

object

Inherited Members

Extension Methods