ESRI.ArcGIS.Mobile.Client
CreatingFeatureActionItems Event
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Client Namespace > Project Class : CreatingFeatureActionItems Event

Occurs when the list of actions are being created for a selected feature.

Syntax

Visual Basic (Declaration) 
Public Event CreatingFeatureActionItems() As EventHandler(Of FeatureActionEventArgs)
C# 
public event EventHandler<FeatureActionEventArgs> CreatingFeatureActionItems()

Remarks

CreatingFeatureActionItems will be fired by Project class when it creates FeatureActionItem.Each of these FeatureActionItem represents an action that can occur on a selected Feature. For example, if you perform a search in mobile application, you will get a list of features (if available) on SearchResultsPage. When you tap on one of the features from the list, a popup dialog will appear with all available actions that can be applied to selected feature (UI experience is similar to context menu on win32 platform). You will see similar popup dialog when you tap a feature from IdentifyResultspage and WorkListPage.

CreatingFeatureActionItems event provides you the chance to customize such popup dialogs when the FeatureActionItems is being created. This event will be fired each time a popup dialog shows. Through FeatureActionEventArgs, You can get a list of FetureActionItems for manipulation (add/remove). You can also check the Context within which the event occurs. This is often necessary if you want to change the FeatureActionItems on certain pages only.

Requirements

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

See Also