The DefaultPositionHandler type exposes the following members.

Constructors

  NameDescription
Public methodDefaultPositionHandler(IMutablePoint)
Creates a position handler that delegates to a mutable point.
Public methodDefaultPositionHandler(IMutableRectangle)
Creates a position handler that delegates to a mutable rectangle.
Public methodDefaultPositionHandler(IPoint, IPointSetter)
Creates a position handler that delegates to two point implementations.
Public methodDefaultPositionHandler(IRectangle, IReshapeable)
Creates a position handler that delegates to two rectangle implementations.

Methods

  NameDescription
Public methodApplyPosition
Applies the new position to the delegates.
Public methodCancelDrag
Called by clients to indicate that the dragging has been canceled by the user.
Public methodDragFinished
Called by clients to indicate that the repositioning has just been finished.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHandleMove
Called by clients to indicate that the element has been dragged and its position should be updated.
Public methodInitializeDrag
Called by clients to indicate that the element is going to be dragged.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetPosition
Called by clients to set the position to the given coordinates.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyLocation
Returns a view of the location of the item.
Public propertyX
Returns the x coordinate of the current position of the element.
Public propertyY
Returns the y coordinate of the current position of the element.

See Also