Dundas.SharePoint.Charting.WebParts Send comments on this topic.
CommandUI Class
See Also  Members   Example 
Dundas.Charting.WebControl Namespace : CommandUI Class


The CommandUI class is a link between a visual component and Chart Command.

Object Model


Syntax

Visual Basic (Declaration)  
<TypeConverterAttribute("Dundas.Charting.WebControl.CommandUI+Converter, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")>
Public Class CommandUI 
Visual Basic (Usage) Copy Code
Dim instance As CommandUI
C#  
[TypeConverterAttribute("Dundas.Charting.WebControl.CommandUI+Converter, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")]
public class CommandUI 

Example

Your description...
Your description...
C# Copy Code
// Attach command 'Properties' to a Button.
Bitton btn = new Button();
...
// Assign btn with command
this.chart1.SetCommand( this.btn, new CommandUI( "Properties", true, true, true));
....
// Execute command with generating a Click event
btn.PerformClick();
VB.Net Copy Code
' Attach command 'Properties' to a Button.
Dim btn As Bitton = New Button()
...
' Assign btn with command
Me.chart1.SetCommand(Me.btn, New CommandUI("Properties", True, True, True))
...
' Execute command with generating a Click event
btn.PerformClick()

Remarks

The supported components are Button, ToolBarButton and MenuItem.

Inheritance Hierarchy

System.Object
   Dundas.Charting.WebControl.CommandUI

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