CVB.Net 15.0
Loading...
Searching...
No Matches

A resizer thumb, tailored to the requirements of objects living on a DisplayCanvas. More...

Inherits DisplayCanvasThumbObject.

Public Member Functions

 ResizeThumb ()
 Generic ctor.
 
- Public Member Functions inherited from DisplayCanvasThumbObject
 DisplayCanvasThumbObject ()
 Ctor.
 

Protected Member Functions

override void OnDragStarted (DragStartedEventArgs e)
 When dragging starts it is time to pin down the role the currently dragged resizer is playing...
 
override void OnDragDelta (DragDeltaEventArgs e)
 Thumb is being dragged.
 
- Protected Member Functions inherited from DisplayCanvasThumbObject
virtual void ApplyCoordinateRestrictions (ref double left, ref double top, ref double right, ref double bottom, bool ignoreSize)
 Make sure the control stays within the limits of the image it is "living" on.
 

Properties

ResizerRole Role [get]
 The role this resizer plays.
 
- Properties inherited from DisplayCanvasThumbObject
PlacementMode PlacementLimits [get, set]
 X position of the feature window origin.
 
CoordinateMode Coordinates [get, set]
 X position of the feature window origin.
 
DisplayCanvas Canvas [get]
 The display canvas we are displayed on (if there is none, this will simply be null...
 
OverlayBase Overlay [get]
 The control we are operating on.
 

Additional Inherited Members

- Static Public Attributes inherited from DisplayCanvasThumbObject
static readonly DependencyProperty PlacementLimitsProperty
 Dependency property object for PlacementLimits
 
static readonly DependencyProperty CoordinatesProperty
 Dependency property object for Coordinates
 
- Static Protected Attributes inherited from DisplayCanvasThumbObject
const PlacementMode PlacementLimitsDefault = PlacementMode.StayInsideImage
 Default limit mode.
 
const CoordinateMode CoordinatesDefault = CoordinateMode.Pixel
 Default coordinate mode.
 

Detailed Description

A resizer thumb, tailored to the requirements of objects living on a DisplayCanvas.

Member Function Documentation

◆ OnDragDelta()

override void OnDragDelta ( DragDeltaEventArgs e)
protectedvirtual

Thumb is being dragged.

Parameters
eEvent arguments.

Reimplemented from DisplayCanvasThumbObject.

◆ OnDragStarted()

override void OnDragStarted ( DragStartedEventArgs e)
protectedvirtual

When dragging starts it is time to pin down the role the currently dragged resizer is playing...

Parameters
eEvent arguments.

Reimplemented from DisplayCanvasThumbObject.