Click or drag to resize

Rubberband Properties

The Rubberband type exposes the following members.

Properties
  NameDescription
Public propertyActive
Gets or sets a value indicating if the rubberband is active in the parent Viewport control.
Public propertyActiveButtons
Gets or sets a value indicating which mouse buttons are used to draw the rubberband.
Public propertyAspectRatio
Gets or sets the aspect ratio which the rubberband will be constrained to.
Public propertyBackgroundColor
Gets or sets the background color of a dashed line.
Public propertyBounds
Gets or sets the rectangular area occupied by the rubberband in image pixel coordinates.
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public propertyClickLock
Gets or sets a value indicating if clicking on the Viewport without moving the mouse starts or finishes a rubberband.
Public propertyConstrainPosition
Gets or sets a value indicating if the RubberBand can be drawn outside the image area.
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyCursor
Gets or sets the cursor which is displayed in the parent Viewport when active.
Protected propertyCursorPad
Gets or sets the amount of padding for the cursor to change and to allow adjusting the existing selection.
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Protected propertyEndPoint
Gets or sets the end point of the Rubberband. Normally this is the bottom-right corner.
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyInverted
Gets or sets a value indicating if the rubberband is drawn inverted.
Protected propertyIsDragging
Gets or sets a value indicating whether the Rubberband is being dragged.
Public propertyMoveCursor

Gets or sets the cursor used when moving the rubberband.

Public propertyMoveWhenInside
Gets or sets a value indicating if the rubberband can be moved with the mouse.
Public propertyParent
Gets or sets the parent ViewPort control.
Public propertyPen
Gets or sets a value of the pen which is used to draw the rubberband.
Public propertyPersist
Gets or sets a value indicating if the rubberband continues to display after the mouse button is released.
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertySnapToPixelGrid
Gets or sets a value indicating if the rubberband snaps to a grid occupied by one image pixel.
Protected propertyStartPoint
Gets or sets the starting point of the Rubberband. Normally this is the top-left corner.
Public propertyVisible
Gets or sets a value indicating if the rubberband is currently visible.
Top
See Also