ESRI.ArcGIS.ADF.Web.UI.WebControls | |
SetupContextMenu Method | |
See Also |
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 |
---|---|
|
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.