Rubberband Methods |
The Rubberband type exposes the following members.
Name | Description | |
---|---|---|
Cancel | Cancels dragging a new rubberband. | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
Dispose | Releases all resources used by the Component. (Inherited from Component.) | |
Dispose(Boolean) | Releases resources held by the object back to the system. (Overrides ComponentDispose(Boolean).) | |
DrawRegion | Called when a region needs to be drawn. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
EraseRegion | Call this method to erase the current region. | |
Finalize | (Overrides ComponentFinalize.) | |
GetConstrainedPoint | Returns a point that is within the image bounds and snap to the pixel grid. | |
GetDisplayBounds | Returns a Rectangle representing the rectangular rubberband boundary in
Viewport display coordinates. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetRegion | Inheriting classes must implement this method and return the region occupied by the rubber
band. | |
GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HitTest | Returns a value indicating if the position is within the RubberBand boundary. | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
OnActiveButtonsChanged | Called when the ActiveButtons property changes and raises the ActiveButtonsChanged event. | |
OnActiveChanged | Called when the Active property has changed and raises the ActiveChanged
event. | |
OnAspectRatioChanged | Called when the AspectRatio property has changed and raises the AspectRatioChanged event. | |
OnBackgroundColorChanged | Called when the BackgroundColor property has changed and raises the BackgroundColorChanged event. | |
OnChanged | Called when the Rubberband has changed. | |
OnChanging | Called when the Rubberband is in the process of changing. | |
OnClickLockChanged | Called when the ClickLock property has changed and raises the ClickLockChanged
event. | |
OnConstrainPositionChanged | Called when the ConstrainPosition property has changed and raises the ConstrainPositionChanged event. | |
OnCursorChanged | Called when the Cursor property has changed and raises the CursorChanged
event. | |
OnDrawRubberband | Draws the Rubberband using the provided Canvas and pen. | |
OnInvertedChanged | Called when the Inverted property has changed and raises the InvertedChanged
event. | |
OnMouseDown | Called when a mouse button is pressed over the Rubberband. | |
OnMouseMove | Called when the mouse is moved over the Rubberband. | |
OnMouseUp | Called when a mouse button is released over the Rubberband. | |
OnMoveCursorChanged | Called when the MoveCursor property has changed and raises the MoveCursorChanged event. | |
OnMoveWhenInsideChanged | Called when the MoveWhenInside property has changed and raises the MoveWhenInsideChanged event. | |
OnPaint | Called when the Rubberband needs to be painted. | |
OnParentChanged | Called when the Parent property has changed and raises the ParentChanged
event. | |
OnPenChanged | Called when the Pen property has changed and raises the PenChanged event.
| |
OnPersistChanged | Called when the Persist property has changed and raises the PersistChanged
event. | |
OnSnapToPixelGridChanged | Called when the SnapToPixelGrid property has changed and raises the SnapToPixelGridChanged event. | |
OnVisibleChanged | Called when the Visible property has changed and raises the VisibleChanged
event. | |
PixelPointFromDisplayPoint | Returns the pixel position from the specified display position. | |
PixelPointToDisplayPoint | Returns the display position from a pixel position. | |
SetDisplayBounds | Sets the rectangular boundary of the rubberband by using Viewport coordinates. | |
Start | Programmatically starts a new rubberband without user interaction. | |
ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) |