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 |
Dim btn As Bitton = New Button() ...
Me.chart1.SetCommand(Me.btn, New CommandUI("Properties", True, True, True)) ...
btn.PerformClick()
|
Remarks
Inheritance Hierarchy
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