MenuChild Class

Definition

An instance of a control on a menu.

public sealed class MenuChild : Microsoft.VisualStudio.Extensibility.Commands.ContainerChild, IEquatable<Microsoft.VisualStudio.Extensibility.Commands.MenuChild>
type MenuChild = class
    inherit ContainerChild
    interface IEquatable<MenuChild>
Public NotInheritable Class MenuChild
Inherits ContainerChild
Implements IEquatable(Of MenuChild)
Inheritance
Implements

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.

Equals(ContainerChild) (Inherited from ContainerChild)
Equals(MenuChild)

Indicates whether the current object is equal to another object of the same type.

Equals(Object) (Inherited from ContainerChild)
GetHashCode() (Inherited from ContainerChild)
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