![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
FeatureContextMenu Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TaskResults Class : FeatureContextMenu Property |
Visual Basic (Declaration) | |
---|---|
<BrowsableAttribute(False)> Public ReadOnly Property FeatureContextMenu As ContextMenu |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As TaskResults Dim value As ContextMenu value = instance.FeatureContextMenu |
C# | |
---|---|
[BrowsableAttribute(false)] public ContextMenu FeatureContextMenu {get;} |
This context menu is used with the task results items in TaskResults. For example, a QueryAttributesTask typically outputs results that are added as a node to the TaskResults control. This top-level node may be expanded to view the layer and feature information in the results. If the user right-clicks on a node for an individual feature (typically a third-level node in the node tree), the FeatureContextMenu displays.
By default, the TaskResultContextMenu has choices to zoom to the feature, pan to the feature, and remove the feature from the results set. These items may be modified programmatically by accessing this property at runtime. On session startup, these items may be accessed at the PreRenderComplete stage. If modifying items during a callback, the CallbackResults would have to be set to replace the content of the context menu.
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