Dundas Chart for ASP.NET
FindCommand(String) Method
See Also  Example Send comments on this topic.
Dundas.Charting.WebControl Namespace > CommandCollection Class > FindCommand Method : FindCommand(String) Method


commandName
The name of the command to search for.
The name of the command to search.
Enterprise Only Feature. Searches for a Command and its sub-commands by name.
Searches by name for the Command and its sub-commands.

Syntax

Visual Basic (Declaration)  
Public Overloads Function FindCommand( _
   ByVal commandName As String _
) As Command
Visual Basic (Usage) Copy Code
Dim instance As CommandCollection
Dim commandName As String
Dim value As Command
 
value = instance.FindCommand(commandName)
C#  
public Command FindCommand( 
   string commandName
)

Parameters

commandName
The name of the command to search for.
The name of the command to search.

Return Value

Command object reference, or null (Nothing) if not found.
Command reference or null if not found

Example

We will find a command by name in the CommandCollection.
C# Copy Code
chart1.UI.Commands.Find( "Properties");
Visual Basic Copy Code
chart1.UI.Commands.Find("Properties")
C# Copy Code
chart1.UI.Commands.Find( "Properties");
VB.Net Copy Code
chart1.UI.Commands.Find("Properties")

Remarks

See also of the Command.

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.