ESRI.ArcGIS.Mobile.Client
FeatureActionItem Class
Members  See Also  Send Feedback
ESRI.ArcGIS.Mobile.Client Namespace : FeatureActionItem Class

Class that represents an action that can occur on a selected Feature.

Syntax

Visual Basic (Declaration) 
Public Class FeatureActionItem 
   Inherits ActionItem(Of String, FeatureActionDelegate)
C# 
public class FeatureActionItem : ActionItem<string, FeatureActionDelegate> 

Remarks

FeatureActionItem is widely used within the application and application framework. It's designed to associate a feature and an action that you can apply to it. The examples are the popup menus when you tap a feature on SearchResultsPage or WorkListPage. The popup menu gives you a list of actions that you can apply to the activated feature.
To achieve this, you need to inherit your page from FeatureListPage. When a feature is activated from within such a page, the Project class will fire a CreatingFeatureActionItems event, which will give you FeatureActionEventArgs. You can get a list of ActionItems for manipulation (add/remove), the Context from which such action occurs, and the SelectedFeature that this action will be applied to.

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.Mobile.Client.ActionItem<String, FeatureActionDelegate>
      ESRI.ArcGIS.Mobile.Client.FeatureActionItem

Requirements

Namespace: ESRI.ArcGIS.Mobile.Client

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

Assembly: ESRI.ArcGIS.Mobile.Client (in ESRI.ArcGIS.Mobile.Client.dll)

See Also