Base class for all ImageEditor tools.
More...
Inherits Adorner.
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.
|
|
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 .