Dundas Chart for Windows Forms
CommandUI Class
Members  Example  See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace : CommandUI Class


Enterprise Only Feature. 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
' 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.WinControl.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

© 2009 All Rights Reserved.