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


ISelectionTracker Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

ISelectionTracker Interface

Provides access to members that control the managing of selection handle tracking.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Read-only property Bounds The area covered by the tracker including handles.
Method Deactivate Cancel tracking.
Write-only property Display The display used by the tracker.
Method Draw Draw selection indicater. Usually a color outline with selection handles.
Read/write property Geometry Geometry used for tracking feedback.
Method HitTest Check if mouse is over tracker. Return a TrackerLocation to indicate which handle mouse is over.
Read/write property Locked Indicates if the tracker is locked or not. Locked means nodes cannot be moved.
Method OnKeyDown Special keypress processing while tracking.
Method OnKeyUp Special keypress processing while tracking.
Method OnMouseDown Begin tracking move or resize based on the location of the mouse over the tracker handles.
Method OnMouseMove In process move or resize tracking.
Method OnMouseUp Finish move or resize tracking.
Method QueryCursor If the mouse is over the tracker, return an HCURSOR to indicate legal operations based on mouse's relation to selection handles: move resize, etc. Return 0 if mouse isn't over tracker.
Method QueryMoveFeedback The move feedback for the selection tracker.
Method QueryResizeFeedback The resize feedback for the selection tracker.
Read/write property ShowHandles Indicates if the tracker is showing handles or not.

CoClasses that implement ISelectionTracker

CoClasses and Classes Description
CalloutTracker Display feedback for callout tracking.
EnvelopeTracker Display feedback for tracking envelope resizing.
LineTracker Display feedback for line tracking.
PointTracker Display feedback for point tracking.
PolygonTracker Display feedback for polygon tracking.

.NET Samples

Triangle graphic element (Code Files: TriangleElementClass)

.NET Related Topics

Selection trackers