CommandPlacement Enumeration

Specifies the placement of a command. This can be either a top level menu, e.g.: FileMenu or BlocksMenu or a context menu, e.g.: ContextAdd, ContextCustom.

Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design
Assembly: Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll) Version: 6.0.0.0 (6.0.1304.0)

Syntax

public enum CommandPlacement
'Declaration
Public Enumeration CommandPlacement
public enum class CommandPlacement

Members

Member name Value Description
FileMenu 0 Specifies placement of the command in the top level file menu.
BlocksMenu 1 Specifies placement of the command in the top level blocks menu.
WizardMenu 2 Specifies placement of the command in the top level wizards menu.
ContextAdd 3 Specifies placement of the command in the contextual add menu for an configuration element.
ContextCustom 4 Specifies placement of the command in the custom commands menu for an configuration element.
ContextDelete 5 Specifies placement of the command in the delete commands menu for an configuration element.

See Also

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design Namespace