Gets the SubCommands collection of the command.
Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property SubCommands As CommandCollection |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public CommandCollection SubCommands {get;} |
Return Value
A CommandCollection value representing the sub-command collection of the command.A CommandCollection value representing the sub-command collection of the command.
A command that contains sub-commands behaves as a command container.
This command appears in the context menu as menu items with sub items or pulldown buttons in the toolbar.
The Command.PopupStyle property determines the visual appearance of subcommands, while the Command.UseLastSubCommand property determines root command behavior.
The command which contains sub commands has special behavior as command container.
Such command apears in the context menu as menu item with subitems or pulldown buttons in toolbar. The PopupStyle property determines visual appearance of subcommands while UseLastSubCommand property determines root command behavior.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family