Click or drag to resize

RectangleSelection Methods

The RectangleSelection type exposes the following members.

Public methodCancel
Cancels dragging a new rubberband.
(Inherited from Rubberband.)
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Protected methodDispose(Boolean)
Releases resources held by the object back to the system.
(Overrides RubberbandDispose(Boolean).)
Protected methodDrawRegion
Called when a region needs to be drawn.
(Inherited from Rubberband.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodEraseRegion
Call this method to erase the current region.
(Inherited from Rubberband.)
Protected methodFinalize (Inherited from Rubberband.)
Protected methodGetConstrainedPoint
Returns a point that is within the image bounds and snap to the pixel grid.
(Inherited from Rubberband.)
Public methodGetDisplayBounds
Returns a Rectangle representing the rectangular rubberband boundary in Viewport display coordinates.
(Inherited from Rubberband.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetRegion
Returns a rectangular region occupied by this selection.
(Overrides RubberbandGetRegion.)
Protected methodGetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHitTest
Returns a value indicating if the position is within the RubberBand boundary.
(Overrides RubberbandHitTest(Point, Boolean).)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnActiveButtonsChanged
Called when the ActiveButtons property changes and raises the ActiveButtonsChanged event.
(Inherited from Rubberband.)
Protected methodOnActiveChanged (Overrides RubberbandOnActiveChanged(EventArgs).)
Protected methodOnAspectRatioChanged
Called when the AspectRatio property has changed and raises the AspectRatioChanged event.
(Inherited from Rubberband.)
Protected methodOnBackgroundColorChanged
Called when the BackgroundColor property has changed and raises the BackgroundColorChanged event.
(Inherited from Rubberband.)
Protected methodOnChanged
Called when the Rubberband has changed.
(Inherited from Rubberband.)
Protected methodOnChanging
Called when the Rubberband is in the process of changing.
(Inherited from Rubberband.)
Protected methodOnClickLockChanged
Called when the ClickLock property has changed and raises the ClickLockChanged event.
(Inherited from Rubberband.)
Protected methodOnConstrainPositionChanged
Called when the ConstrainPosition property has changed and raises the ConstrainPositionChanged event.
(Inherited from Rubberband.)
Protected methodOnCursorChanged
Called when the Cursor property has changed and raises the CursorChanged event.
(Inherited from Rubberband.)
Protected methodOnDrawRubberband (Overrides RubberbandOnDrawRubberband(Canvas, AtalaPen).)
Protected methodOnInvertedChanged
Called when the Inverted property has changed and raises the InvertedChanged event.
(Inherited from Rubberband.)
Protected methodOnMouseDown (Overrides RubberbandOnMouseDown(MouseEventArgs).)
Protected methodOnMouseMove (Overrides RubberbandOnMouseMove(MouseEventArgs).)
Protected methodOnMouseUp (Overrides RubberbandOnMouseUp(MouseEventArgs).)
Protected methodOnMoveCursorChanged
Called when the MoveCursor property has changed and raises the MoveCursorChanged event.
(Inherited from Rubberband.)
Protected methodOnMoveWhenInsideChanged
Called when the MoveWhenInside property has changed and raises the MoveWhenInsideChanged event.
(Inherited from Rubberband.)
Protected methodOnPaint
Called when the Rubberband needs to be painted.
(Inherited from Rubberband.)
Protected methodOnParentChanged
Called when the Parent property has changed and raises the ParentChanged event.
(Inherited from Rubberband.)
Protected methodOnPenChanged
Called when the Pen property has changed and raises the PenChanged event.
(Inherited from Rubberband.)
Protected methodOnPersistChanged
Called when the Persist property has changed and raises the PersistChanged event.
(Inherited from Rubberband.)
Protected methodOnSnapToPixelGridChanged
Called when the SnapToPixelGrid property has changed and raises the SnapToPixelGridChanged event.
(Inherited from Rubberband.)
Protected methodOnVisibleChanged (Overrides RubberbandOnVisibleChanged(EventArgs).)
Protected methodPixelPointFromDisplayPoint
Returns the pixel position from the specified display position.
(Inherited from Rubberband.)
Protected methodPixelPointToDisplayPoint
Returns the display position from a pixel position.
(Inherited from Rubberband.)
Public methodSetDisplayBounds
Sets the rectangular boundary of the rubberband by using Viewport coordinates.
(Inherited from Rubberband.)
Public methodStart
Programmatically starts a new rubberband without user interaction.
(Inherited from Rubberband.)
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
See Also