Base class for all ImageEditor tools.
More...
Inherited by BitOverlayBase.
|
static readonly DependencyProperty | ToolCursorProperty |
| Backing store for the ToolCursor property.
|
|
|
readonly VisualCollection | Visuals |
| Stores the visuals of this adorner.
|
|
|
Cursor | ToolCursor [get, set] |
| Gets/sets the cursor the ImageEditor shows when this tool is selected.
|
|
WinRect | ImageViewportRect [get] |
| Gets the rect placement of the image based on the ParentEditor coordinates.
|
|
ImageEditor | ParentEditor [get] |
| Gets the parent editor control.
|
|
override int | VisualChildrenCount [get] |
| Gets the number of visual children.
|
|
|
EventHandler< PropertyValueChangedEventArgs< Image > > | ParentImageChanged |
| Event that is fired when the parent ImageEditor's Image is changed.
|
|
EventHandler< PropertyValueChangedEventArgs< DisplayCanvas > > | ParentDisplayCanvasChanged |
| Event that is fired when the parent ImageEditor's DisplayCanvas is changed.
|
|
EventHandler< DisplayZoomEventArgs > | ParentActualZoomCenterChanged |
| Event that is fired when the parent ImageEditor's actual zoom center is changed.
|
|
EventHandler< DisplayZoomEventArgs > | ParentActualZoomFactorChanged |
| Event that is fired when the parent ImageEditor's actual zoom factor is changed.
|
|
Base class for all ImageEditor tools.
Adorners of this type also support Visuals.
◆ ImageEditorToolBase()
Registers the overlay to the parent editor.
- Parameters
-
editor | Parent image editor to adorn. |
◆ GetVisualChild()
override Visual GetVisualChild |
( |
int | index | ) |
|
|
protected |
Gets the visual child at the given index .
- Parameters
-
index | Index of the visual. |
- Returns
- The Visual at index .