Dundas.SharePoint.Charting.WebParts Send comments on this topic.
SubCommands Property
See Also 
Dundas.Charting.WebControl Namespace > Command Class : SubCommands Property


Gets the SubCommands collection of the command.

Syntax

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
Dim instance As Command
Dim value As CommandCollection
 
value = instance.SubCommands
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.

Remarks

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.

Requirements

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

See Also