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


FeatureInspector CoClass (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Editor)  

FeatureInspector CoClass

Default feature inspector for the Editor.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Interfaces

Interfaces Description
IConnectionPointContainer Supports connection points for connectable objects.
IExtendedObjectInspector Provides access to additional members that control a custom feature's property inspector.
IObjectClassEvents (esriGeoDatabase) Provides access to events that occur with an object class.
IObjectInspector Provides access to members that control a custom feature's property inspector.
IObjectInspectorPanel Provides access to members that control the default object property inspector.

Event Interfaces

Interfaces Description
ISelectionEvents (default) Provides access to events that occur when the selection changes.

Remarks

This CoClass represents the default property inspector associated with the Editor. It has been made CoCreateable so that customized feature inspectors can incorporate it.

To create your own custom property inspector for a specific feature class, implement the IFeatureInspector interface. For example, you may want to have a custom Property Inspector that displays the area and perimeter of selected polygons or one that displays an image relating to the selected feature.

To create your own custom property inspector for features in a specific feature class, implement the IObjectInspector and IClassExtension interfaces, then add your extension�s GUID to the EXTCLSID field for that feature class in the GDB_ObjectClasses table. When the user opens the Attributes dialog box, it will display the custom inspector instead of the default inspector.
Instantiate a new FeatureInspector when you want to incorporate the default Property Inspector with your custom one.

Working with Events

[Visual Basic 6.0]

When working with FeatureInspector's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pFeatureInspector as FeatureInspector

See Also

IDatasetEdit Interface | IDatasetEditInfo Interface | IEditSketch Interface | IEditTask.Activate Method | IEditor Interface | IEditTask.Deactivate Method | ISnapEnvironment Interface | IEditEvents2 Interface | IEditLayers Interface | IEditEvents Interface | IEditTask.Name Property | Editor Class | Editor Library | IEditTask.OnFinishSketch Method | IEditAttributeProperties Interface | IEditTask.OnDeleteSketch Method | IEditProperties Interface