|
| ESRI.ArcGIS.ADF.Web.UI.WebControls | |
| ContextMenuItem Constructor(String,String,String) | |
| See Also Send Feedback | |
| ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > ContextMenuItem Class > ContextMenuItem Constructor : ContextMenuItem Constructor(String,String,String) |
- imageUrl
- URL of an image to display on the menu item.
- text
- Text to display on the menu item.
- javascript
- Custom JavaScript to run when the user clicks the menu item.
| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal imageUrl As String, _ ByVal text As String, _ ByVal javascript As String _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim imageUrl As String Dim text As String Dim javascript As String Dim instance As New ContextMenuItem(imageUrl, text, javascript) | |
Parameters
- imageUrl
- URL of an image to display on the menu item.
- text
- Text to display on the menu item.
- javascript
- Custom JavaScript to run when the user clicks the menu item.
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