Represents a command user interface.
The CommandUI class is a link between a visual component and Chart
Command.
Syntax
Visual Basic (Declaration) |
|
Public Class CommandUI |
Visual Basic (Usage) |
Copy Code |
Dim instance As CommandUI
|
C# |
|
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