This document is archived and information here might be outdated.  Recommended version.


Sample: Add-in custom editor extension (ArcObjects .NET 10.4 SDK)

Add-in custom editor extension


PurposeThis sample demonstrates how to create a custom editor extension using add-ins.

How to use

See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample. 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.

  1. Build the solution.
  2. Start ArcMap and load data that has topology or connectivity rules.
  3. Click Customize, click Toolbars, and click Editor.
  4. Dock the Editor toolbar.
  5. Click Editor and click Start Editing. The editing session starts.
  6. Select a data feature and move it. This triggers the onChangeFeature event, and the feature is validated for the new location.
ValidateFeaturesExtension.cs Defines run time behavior of the custom editor extension.
Download the C# files
ValidateFeaturesExtension.vb Defines run time behavior of the custom editor extension.
Download the VB.NET files

Download the files for all languages

See Also:

Walkthrough: Building editor extensions using add-ins




Development licensing Deployment licensing
ArcGIS for Desktop Basic ArcGIS for Desktop Basic
ArcGIS for Desktop Standard ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced ArcGIS for Desktop Advanced