Share via


MenuChild Class

Definition

An instance of a control on a menu.

public sealed class MenuChild : Microsoft.VisualStudio.Extensibility.Commands.ContainerChild
type MenuChild = class
    inherit ContainerChild
Public NotInheritable Class MenuChild
Inherits ContainerChild
Inheritance

Properties

ChildIdentifier

Gets the identifier of the child item.

(Inherited from ContainerChild)
CommandGroupConfiguration

Gets the group that represents the child item.

(Inherited from ContainerChild)
IsSeparator

Gets or sets a value indicating whether gets whether or not this child item is a separator between two groups.

(Inherited from ContainerChild)
Separator

Gets a visual separator between two groups in a menu.

Methods

Anchor<T>()

Create an instance of menu child placement for a dynamic command anchor.

Command<T>()

Create an instance of menu child placement for a command.

Group(CommandGroupConfiguration)

Create an instance of menu child placement for a group.

Group(GroupChild[])

Create an instance of menu child placement for a group.

Menu(MenuConfiguration)

Create an instance of menu child placement.

Applies to