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.
- Open the solution and set EngineApplication as the startup project.
- Build the solution and run the application.
- Add point, polyline, and/or polygon feature class data to the map.
- Select a feature layer and use the Attach/Detach Tabbed Inspector Extension command.
- Confirm that the status bar at the bottom of the EngineApplication displays the Tabbed Inspector Extension as successfully attached to the selected feature class.
- Start editing, then choose one or more features from the selected feature class and open the Attribute dialog box.
- Ensure that a feature is selected in the Attribute dialog box tree. The Custom tab of the Attribute dialog box shows the output from the custom object inspector.
Additional information
The inspected features must be from an object that supports both IFeatureClass and IClassSchemaEdit. The Tabbed Feature Inspector is attached to a feature class using the feature class's IClassSchemaEdit interface. Classes that do not implement this interface, such as a shapefile class, cannot be used with this sample.
In addition, a feature class can have only one IFeatureClassExtension at a time, so some feature classes—such as annotation feature classes—cannot be used with this sample.
This sample can be adapted for use with an ObjectClass that is not displayed in the table of contents but that has a feature class extension.
EngineApplication/EngineApplication.cs | The main application, implementing IApplicationServices. |
TabbedInspector/AttachTabbedInspectorExtensionCommand.cs | Attaches the custom inspector to the feature class selected in the table of contents. |
TabbedInspector/TabbedInspector.cs | An IEngineObjectInspector that displays custom information on the Attribute dialog box for each selected feature. |
EngineApplication/EngineApplication.vb | The main application, implements IApplicationServices. |
TabbedInspector/AttachTabbedInspectorExtensionCommand.vb | Attaches the custom inspector to the feature class selected in the table of contents. |
TabbedInspector/TabbedInspector.vb | An IEngineObjectInspector which displays custom information on the Attribute dialog box for each selected feature. |
Download the files for all languages
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine |
ArcGIS for Desktop Basic | |
ArcGIS for Desktop Standard | |
ArcGIS for Desktop Advanced |