Edit event listener


PurposeThis sample provides the ability to understand when various edit events are fired in response to changes in the editing environment or user actions. Using this sample can help you ascertain which events are appropriate to listen for in various situations, and understand what causes a given event to fire.

How to use

See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample.

Data has been provided for your use with this sample. It can be found at <Your ArcGIS Developer Kit Install directory>/Samples/data/StreamflowDateTime.
If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

Running the solution
  1. Ensure you have all data files in the following folder location: <your install developer kit location>/Samples/data/StreamflowDateTime.
  2. Build and run the solution.
  3. Click the Select Events tab to choose the events to monitor.
  4. Click the Events Listener tab to view the fired events.
  5. Start editing and perform edit operations to trigger events, then view events.
  6. Right-click in the Events Listener tab to clear the list of events. See the following screen shot:


  7. Screen shot showing the Events Listener and Select Events tabs.

EditingForm.cs Main form of the application.
EventListener.cs Events management class.
Download the C# files
EditingForm.vb Main form of the application.
EventListener.vb Events management class.
Download the VB.NET files

Download the files for all languages

See Also:

How to listen to edit events




Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS for Desktop Basic
ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced