ArcObjects Library Reference (Controls)  

IEngineObjectInspector Interface

Provides access to members that control a custom feature's property inspector.

Product Availability

Available with ArcGIS Engine.

Description

This interface is new at ArcGIS 9.3.

The IEngineObjectInspector interface is an optional interface that provides the ability to replace the default ObjectInspector with a custom one.

If you extend a feature class with custom properties, you may want to implement the IEngineObjectInspector interface so that you can display and edit those properties using the ControlsEditingAttributeCommand.

Members

Description
Method Clear Clear the inspector before inspecting another object.
Method Copy Copies the values from srcRow to the row being edited.
Read-only property hWnd The window handle for the inspector.
Method Inspect Inspects the properties of the features.

CoClasses that implement IEngineObjectInspector

CoClasses and Classes Description
EngineFeatureInspector Feature Inspector for Engine.

Remarks

In order to create a custom feature inspector, both the IEngineObjectInspector and IClassExtension interfaces must be implemented.

Use the hWnd property to set the control you want to display in the customizable area. You can then customize the actions of the Feature Inspector using the Inspect method. This method is called whenever a feature class or feature is clicked in the Tree View.

.NET Samples

Tabbed feature inspector (Code Files: TabbedInspector) |