|
| ESRI.ArcGIS.ADF.Web.UI.WebControls | |
| SetupContextMenu Method | |
| See Also Send Feedback | |
| ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TreeViewPlus Class : SetupContextMenu Method |
- contextMenu
- Context menu to add to the node.
- node
- Node in the TaskResults to add the context menu to.
| Visual Basic (Declaration) | |
|---|---|
Public Sub SetupContextMenu( _ ByVal contextMenu As ContextMenu, _ ByVal node As TreeViewPlusNode _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As TreeViewPlus Dim contextMenu As ContextMenu Dim node As TreeViewPlusNode instance.SetupContextMenu(contextMenu, node) | |
| C# | |
|---|---|
public void SetupContextMenu( ContextMenu contextMenu, TreeViewPlusNode node ) | |
Parameters
- contextMenu
- Context menu to add to the node.
- node
- Node in the TaskResults to add the context menu to.
This method assigns the context menu to the particular node. It sets up the client-side code required to activate and use the context menu for the node.
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