Dundas.SharePoint.Charting.WebParts Send comments on this topic.
CommandUI Constructor(String,Boolean,Boolean,Boolean,String)
See Also 
Dundas.Charting.WebControl Namespace > CommandUI Class > CommandUI Constructor : CommandUI Constructor(String,Boolean,Boolean,Boolean,String)


commandName
The Command name to link this CommandUI instance with Command
enableImage
Determines whether or not to show image in control automaticaly
enableTooltip
Determines whether or not to show tooltip in control automaticaly
enableText
Determines whether or not to show text in control automaticaly
parameters
Represents the parameters which is passed to command to execute
Create new instance of CommandUI object.

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal commandName As String, _
   ByVal enableImage As Boolean, _
   ByVal enableTooltip As Boolean, _
   ByVal enableText As Boolean, _
   ByVal parameters As String _
)
Visual Basic (Usage) Copy Code
Dim commandName As String
Dim enableImage As Boolean
Dim enableTooltip As Boolean
Dim enableText As Boolean
Dim parameters As String
 
Dim instance As CommandUI(commandName, enableImage, enableTooltip, enableText, parameters)
C#  
public CommandUI( 
   string commandName,
   bool enableImage,
   bool enableTooltip,
   bool enableText,
   string parameters
)

Parameters

commandName
The Command name to link this CommandUI instance with Command
enableImage
Determines whether or not to show image in control automaticaly
enableTooltip
Determines whether or not to show tooltip in control automaticaly
enableText
Determines whether or not to show text in control automaticaly
parameters
Represents the parameters which is passed to command to execute

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