Visual Basic (Declaration) | |
---|---|
<PersistenceModeAttribute()> <DesignerSerializationVisibilityAttribute()> <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")> <NotifyParentPropertyAttribute(True)> <DescriptionAttribute("Collection with Commands.")> Public ReadOnly Property Commands As CommandCollection |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[PersistenceModeAttribute()] [DesignerSerializationVisibilityAttribute()] [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")] [NotifyParentPropertyAttribute(true)] [DescriptionAttribute("Collection with Commands.")] public CommandCollection Commands {get;} |
The command collection allways contains set of predefined commands. These commands cannot be deleted but can be changed. All additional commands have to have unque CommandID to be recognized properly in event handlers.
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