Visual Basic (Declaration) | |
---|---|
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dundas.Charting.WebControl.CommandElementCollectionEditor, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")> <PersistenceModeAttribute()> <DesignerSerializationVisibilityAttribute()> <BrowsableAttribute(True)> <DescriptionAttribute("Gets the SubCommands collection of the command.")> <CategoryAttribute("Command")> Public ReadOnly Property SubCommands As CommandCollection |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dundas.Charting.WebControl.CommandElementCollectionEditor, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")] [PersistenceModeAttribute()] [DesignerSerializationVisibilityAttribute()] [BrowsableAttribute(true)] [DescriptionAttribute("Gets the SubCommands collection of the command.")] [CategoryAttribute("Command")] public CommandCollection SubCommands {get;} |
Return Value
A CommandCollection value representing the sub-command collection of the command.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