ArcObjects Library Reference  (Schematic)    

INgBehavior Interface

Provides access to members that control the behavior.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Schematics Extension.

Description

A behavior brings together four elements:

- An event name; that is, an action by the end user: EventName

-Anobject type name: ObjectTypeName

-A metatype of objects: MetaType

A command; that is, the response from the application: Command

which reads: such event (LeftClick, RightClick ...) on such object type of such metatype will trigger such command.

Members

Description
Read/write property Command Command to be triggered.
Method Delete Deletes the behavior.
Read/write property EventName Name of the event to be responded to.
Read/write property MetaType Object metatype to be impacted.
Read/write property ObjectTypeName Identifier for the object type used to filter command triggering.
Read-only property Project Project of the behavior.
Method Set Modifies the behavior so that it responds to the event named 'eventName' when such event impacts the object type named 'objectTypeName' whose metatype is 'metaType'.

CoClasses that implement INgBehavior

CoClasses and Classes Description
NgBehavior Behavior object.

Example

Programming with the INgCommand and INgBehavior interfaces - Example

 


Feedback Send feedback on this page