Spread for ASP.NET 7.0 Product Documentation
MenuItem Constructor(String,String,String)
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > MenuItem Class > MenuItem Constructor : MenuItem Constructor(String,String,String)


text
The text.
commandName
Name of the command.
commandArgument
The command argument.

Glossary Item Box

Initializes a new instance of the MenuItem class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal text As String, _
   ByVal commandName As String, _
   ByVal commandArgument As String _
)
Visual Basic (Usage)Copy Code
Dim text As String
Dim commandName As String
Dim commandArgument As String
 
Dim instance As New MenuItem(text, commandName, commandArgument)
C# 
public MenuItem( 
   string text,
   string commandName,
   string commandArgument
)

Parameters

text
The text.
commandName
Name of the command.
commandArgument
The command argument.

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.