AnnotationBase

StockSharp.Xaml.Charting.Visuals.Annotations

Provides a base class for annotations to be rendered over the chart

Inherits: ApiElementBase

Implements: IAnnotation, IHitTestable, IPublishMouseEvents, IXmlSerializable, ISuspendable

Constructors

AnnotationBase
protected AnnotationBase()
annotationBase = AnnotationBase()

Initializes a new instance of the AnnotationBase class.

Properties

AnnotationCanvas
public AnnotationCanvas AnnotationCanvas { get; set; }
value = annotationBase.AnnotationCanvas
annotationBase.AnnotationCanvas = value

Gets or sets the AnnotationCanvas to place the annotation on. The default is AboveChart

AnnotationOverlaySurface
protected IAnnotationCanvas AnnotationOverlaySurface { get; }
value = annotationBase.AnnotationOverlaySurface

Gets the canvas over the Series on the parent UltrachartSurface

AnnotationUnderlaySurface
protected IAnnotationCanvas AnnotationUnderlaySurface { get; }
value = annotationBase.AnnotationUnderlaySurface

Gets the canvas under the Series on the parent UltrachartSurface

CanEditText
public bool CanEditText { get; set; }
value = annotationBase.CanEditText
annotationBase.CanEditText = value

Gets or sets whether text can be edited on this AnnotationBase. Supported by Text or label annotations only

CoordinateMode
public AnnotationCoordinateMode CoordinateMode { get; set; }
value = annotationBase.CoordinateMode
annotationBase.CoordinateMode = value

Gets or sets the AnnotationCoordinateMode to use when placing the annotation. E.g. the default of Absolute requires that X1,Y1 coordinates are data-values. The value of Relative requires that X1,Y1 are double values from 0.0 to 1.0

DragDirections
public XyDirection DragDirections { get; set; }
value = annotationBase.DragDirections
annotationBase.DragDirections = value

Limits the Drag direction when dragging the annotation using the mouse, e.g in the X-Direction, Y-Direction or XyDirection. See the XyDirection enumeration for options

IsAttached
public override bool IsAttached { get; set; }
value = annotationBase.IsAttached
annotationBase.IsAttached = value

Gets or sets whether this Element is attached to a parent UltrachartSurface

IsEditable
public bool IsEditable { get; set; }
value = annotationBase.IsEditable
annotationBase.IsEditable = value

Gets or sets whether the current annotation is editable. When editable, the user may click to select and interact with the annotation

IsHidden
public bool IsHidden { get; set; }
value = annotationBase.IsHidden
annotationBase.IsHidden = value

Gets or sets value, indicates whether current annotation was hidden by Hide call

IsResizable
public bool IsResizable { get; protected set; }
value = annotationBase.IsResizable
annotationBase.IsResizable = value

Gets value, indicates whether current instance is resizable

IsSelected
public bool IsSelected { get; set; }
value = annotationBase.IsSelected
annotationBase.IsSelected = value

Gets or sets whether the current annotation is selected. When selected, an Adorner is placed over the annotation to allow dynamic resizing and dragging by the user.

IsSuspended
public bool IsSuspended { get; }
value = annotationBase.IsSuspended

Gets a value indicating whether updates for the target are currently suspended

ResizeDirections
public XyDirection ResizeDirections { get; set; }
value = annotationBase.ResizeDirections
annotationBase.ResizeDirections = value

Limits the Resize direction when resiaing the annotation using the mouse, e.g in the X-Direction, Y-Direction or XyDirection. See the XyDirection enumeration for options

ResizingGripsStyle
public Style ResizingGripsStyle { get; set; }
value = annotationBase.ResizingGripsStyle
annotationBase.ResizingGripsStyle = value

Gets or sets the Style which is applied to the resizing grips appearing when the annotation gets selected.

X1
public IComparable X1 { get; set; }
value = annotationBase.X1
annotationBase.X1 = value

Gets or sets the X1 Coordinate of the Annotation. For Absolute, this must be a data-value on the X-Axis such as a DateTime for DateTimeAxis, double for NumericAxis or integer index for CategoryDateTimeAxis. For Relative, this must be a double value between 0.0 and 1.0, where 0.0 is the far left of the XAxis and 1.0 is the far right.

X2
public IComparable X2 { get; set; }
value = annotationBase.X2
annotationBase.X2 = value

Gets or sets the X2 Coordinate of the Annotation. For Absolute, this must be a data-value on the X-Axis such as a DateTime for DateTimeAxis, double for NumericAxis or integer index for CategoryDateTimeAxis. For Relative, this must be a double value between 0.0 and 1.0, where 0.0 is the far left of the XAxis and 1.0 is the far right.

XAxis
public override IAxis XAxis { get; }
value = annotationBase.XAxis

Gets the XAxis, which current annotation is bound to

XAxisId
public string XAxisId { get; set; }
value = annotationBase.XAxisId
annotationBase.XAxisId = value

Gets or sets the ID of the X-Axis which this Annotation is measured against

Y1
public IComparable Y1 { get; set; }
value = annotationBase.Y1
annotationBase.Y1 = value

Gets or sets the Y1 Coordinate of the Annotation. For Absolute, this must be a data-value on the Y-Axis such as a double for NumericAxis For Relative, this must be a double value between 0.0 and 1.0, where 0.0 is the top of the YAxis and 1.0 is the bottom

Y2
public IComparable Y2 { get; set; }
value = annotationBase.Y2
annotationBase.Y2 = value

Gets or sets the Y2 Coordinate of the Annotation. For Absolute, this must be a data-value on the Y-Axis such as a double for NumericAxis For Relative, this must be a double value between 0.0 and 1.0, where 0.0 is the top of the YAxis and 1.0 is the bottom

YAxis
public override IAxis YAxis { get; }
value = annotationBase.YAxis

Gets the YAxis, which current annotation is bound to

YAxisId
public string YAxisId { get; set; }
value = annotationBase.YAxisId
annotationBase.YAxisId = value

Gets or sets the ID of the Y-Axis which this Annotation is measured against

Methods

AddAdorners
protected virtual void AddAdorners(Canvas adornerLayer)
annotationBase.AddAdorners(adornerLayer)

When overriden in a derived class, places the appropriate adorners on the AnnotationBase

adornerLayer
The adorner layer
AttachInteractionHandlersTo
protected virtual void AttachInteractionHandlersTo(FrameworkElement source)
annotationBase.AttachInteractionHandlersTo(source)

Attaches handlers to particular events of passed object

source
Mouse events source
DecrementSuspend
public void DecrementSuspend()
annotationBase.DecrementSuspend()

Called by IUpdateSuspender each time a target suspender is disposed. When the final target suspender has been disposed, ResumeUpdates is called

DetachInteractionHandlersFrom
protected virtual void DetachInteractionHandlersFrom(FrameworkElement source)
annotationBase.DetachInteractionHandlersFrom(source)

When called in a derived class, detaches any mouse events which may have been previously attached to the AnnotationBase

source
Drag
public void Drag(double hOffset, double vOffset)
annotationBase.Drag(hOffset, vOffset)

Raises the DragDelta event, called when a drag operation is in progress and each time the X1 Y1 X2 Y2 points update in the annotation

EndDrag
public void EndDrag()
annotationBase.EndDrag()

Raises the DragEnded event, called when a drag operation ends

FocusInputTextArea
protected virtual void FocusInputTextArea()
annotationBase.FocusInputTextArea()

Focuses the input text area. Applicable only for Text and label annotations

FromCoordinate
protected virtual IComparable FromCoordinate(double coord, IAxis axis)
result = annotationBase.FromCoordinate(coord, axis)

Converts a pixel coordinate to data-value

coord
The pixel coordinate.
axis
The axis for which the data value is calculated

Returns: The datavalue

FromCoordinates
protected virtual IComparable[] FromCoordinates(double xCoord, double yCoord)
result = annotationBase.FromCoordinates(xCoord, yCoord)

Converts pixel coordinates to data-values

xCoord
The X coordinate
yCoord
The Y coordinate

Returns: The data values

FromCoordinates
protected virtual IComparable[] FromCoordinates(Point coords)
result = annotationBase.FromCoordinates(coords)

Converts pixel coordinates to data-values

coords
The X, Y coordinates

Returns: The data values

FromRelativeCoordinate
protected virtual IComparable FromRelativeCoordinate(double coord, IAxis axis)
result = annotationBase.FromRelativeCoordinate(coord, axis)

Converts a relative coordinate (e.g. 0.0 to 1.0) to data-value

coord
The relative coordinate, in the range of 0.0 to 1.0 for extremes of the viewport.
axis
The axis for which the data value is calculated

Returns: The datavalue

GetAdornerLayer
protected Canvas GetAdornerLayer()
result = annotationBase.GetAdornerLayer()

Gets the Adorner Canvas to place annotation adorners

GetBasePoints
public Point[] GetBasePoints()
result = annotationBase.GetBasePoints()

This method is used in internally by the AnnotationResizeAdorner. Gets the adorner point positions

GetBasePoints
protected virtual Point[] GetBasePoints(AnnotationCoordinates coordinates)
result = annotationBase.GetBasePoints(coordinates)

This method is used in internally by the AnnotationResizeAdorner. Gets the adorner point positions

coordinates
The previously calculated AnnotationCoordinates in screen pixels.

Returns: A list of points in screen pixels denoting the Adorner corners

GetBoundsRelativeTo
public virtual Rect GetBoundsRelativeTo(IHitTestable relativeTo)
result = annotationBase.GetBoundsRelativeTo(relativeTo)

Gets the bounds of the current IHitTestable element relative to another IHitTestable element

relativeTo
GetCanvas
protected IAnnotationCanvas GetCanvas(AnnotationCanvas annotationCanvas)
result = annotationBase.GetCanvas(annotationCanvas)

Gets the Canvas instance for this annotation

annotationCanvas
The AnnotationCanvas enumeration

Returns: The canvas instance

GetCoordinates
protected AnnotationCoordinates GetCoordinates(IAnnotationCanvas canvas, ICoordinateCalculator<double> xCalc, ICoordinateCalculator<double> yCalc)
result = annotationBase.GetCoordinates(canvas, xCalc, yCalc)

Gets an AnnotationCoordinates struct containing pixel coordinates to place or update the annotation in the current render pass

canvas
The canvas the annotation will be placed on
xCalc
The current XAxis ICoordinateCalculator to perform data to pixel transformations
yCalc
The current YAxis ICoordinateCalculator to perform data to pixel transformations

Returns: The AnnotationCoordinates struct containing pixel coordinates

GetPropertiesFromIndex
protected virtual void GetPropertiesFromIndex(int index, DependencyProperty x, DependencyProperty y)
annotationBase.GetPropertiesFromIndex(index, x, y)

Used internally to derive the X1Property, Y1Property, X1Property, Y2Property pair for the given index around the annotation.. e.g. index 0 returns X1,Y1 index 1 returns X2,Y1 index 2 returns X2,Y2 index 3 returns X1,Y2

index
The index
x
The X coordinate dependency property, either X1Property or X2Property
y
The Y coordinate dependency property, either Y1Property or Y2Property
GetSchema
public XmlSchema GetSchema()
result = annotationBase.GetSchema()

Returns an XmlSchema that describes the XML representation of the object that is produced by the WriteXml method and consumed by the ReadXml method

GetSelectedCursor
protected abstract Cursor GetSelectedCursor()
result = annotationBase.GetSelectedCursor()

Gets the Cursor to use for the annotation when selected

GetUsedAdorners``1
protected IEnumerable<T> GetUsedAdorners<T>(Canvas adornerLayer)
result = annotationBase.GetUsedAdorners(adornerLayer)

Gets a collection of the Adorners currently used on the Annotation, given the Annotation AdornerLayer Canvas

adornerLayer
The adorner layer canvas

Returns: A list of adorners matching type T

Hide
public void Hide()
annotationBase.Hide()

Hides the Annotation by removing adorner markers from the parent AdornerLayerCanvas and setting Visibility to Collapsed

HideAdornerMarkers
protected void HideAdornerMarkers()
annotationBase.HideAdornerMarkers()

Hides adorner markers by calling Clear

IsCoordinateValid
protected bool IsCoordinateValid(double coord, double canvasMeasurement)
result = annotationBase.IsCoordinateValid(coord, canvasMeasurement)

Determines whether the coordinate is valid for placing on the canvas, e.g. is greater than zero and less than

coord
The coordinate.
canvasMeasurement
The canvas dimension in this axis.

Returns: true if coordinate is valid; otherwise, false.

IsInBounds
protected virtual bool IsInBounds(AnnotationCoordinates coordinates, IAnnotationCanvas canvas)
result = annotationBase.IsInBounds(coordinates, canvas)

Performs a simple rectangular bounds-check to see if the X1,X2,Y1,Y2 coordinates passed in are within the Canvas extends

coordinates
The normalised AnnotationCoordinates
canvas
The canvas to check if the annotation is within bounds

Returns: True if in bounds

IsPointWithinBounds
public virtual bool IsPointWithinBounds(Point point)
result = annotationBase.IsPointWithinBounds(point)

Returns true if the Point is within the bounds of the current IHitTestable element

point
The point to test

Returns: true if the Point is within the bounds

MakeInvisible
protected virtual void MakeInvisible()
annotationBase.MakeInvisible()

Called internally by layout system when annotation is out of surface's bounds

MakeVisible
protected virtual void MakeVisible(AnnotationCoordinates coordinates)
annotationBase.MakeVisible(coordinates)

Called internally by layout system when annotation come into surface's bounds

MoveAnnotation
public void MoveAnnotation(double horizOffset, double vertOffset)
annotationBase.MoveAnnotation(horizOffset, vertOffset)

This method is used internally by the AnnotationDragAdorner. Programmatically moves the annotation by an X,Y offset.

horizOffset
The horizontal offset to move in pixels
vertOffset
The vertical offset to move in pxiels
MoveAnnotationTo
protected virtual ValueTuple<double, double> MoveAnnotationTo(AnnotationCoordinates coordinates, double horizOffset, double vertOffset)
result = annotationBase.MoveAnnotationTo(coordinates, horizOffset, vertOffset)

Moves the annotation to a specific horizontal and vertical offset

coordinates
The initial coordinates.
horizOffset
The horizontal offset.
vertOffset
The vertical offset.
OnAnnotationLoaded
protected virtual void OnAnnotationLoaded(object sender, RoutedEventArgs e)
annotationBase.OnAnnotationLoaded(sender, e)

Gets called as soon as the Loaded event occurs.

sender
e
OnAnnotationMouseDown
protected virtual void OnAnnotationMouseDown(object sender, MouseButtonEventArgs e)
annotationBase.OnAnnotationMouseDown(sender, e)

Contains interaction logic of handling mouse down event

sender
e
OnAnnotationMouseMove
protected virtual void OnAnnotationMouseMove(object sender, MouseEventArgs e)
annotationBase.OnAnnotationMouseMove(sender, e)

Contains interaction logic of handling mouse move event

sender
e
OnAnnotationMouseUp
protected virtual void OnAnnotationMouseUp(object sender, MouseButtonEventArgs e)
annotationBase.OnAnnotationMouseUp(sender, e)

Contains interaction logic of handling mouse up event

sender
e
OnAnnotationPositionChanged
protected static void OnAnnotationPositionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
AnnotationBase.OnAnnotationPositionChanged(d, e)

DependencyProperty changed handler which can be used to refresh the annotation on property and position changed

OnAttached
public override void OnAttached()
annotationBase.OnAttached()

Called when the Annotation is attached to parent surface

OnAxisAlignmentChanged
protected virtual void OnAxisAlignmentChanged(IAxis axis, AxisAlignment oldAlignment)
annotationBase.OnAxisAlignmentChanged(axis, oldAlignment)

Virtual method to override if you wish to be notified that the AxisAlignment has changed

axis
oldAlignment
OnDetached
public override void OnDetached()
annotationBase.OnDetached()

Called immediately before the Annotation is detached from its parent surface

OnRenderablePropertyChanged
protected static void OnRenderablePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
AnnotationBase.OnRenderablePropertyChanged(d, e)

DependencyProperty changed handler which can be used to refresh the annotation on property changed

d
The DependencyObject sender.
e
The DependencyPropertyChangedEventArgs instance containing the event data.
OnXAxesCollectionChanged
protected virtual void OnXAxesCollectionChanged(object sender, NotifyCollectionChangedEventArgs args)
annotationBase.OnXAxesCollectionChanged(sender, args)

Virtual method to override if you wish to be notified that the parent XAxes has changed

OnXAxisIdChanged
protected virtual void OnXAxisIdChanged()
annotationBase.OnXAxisIdChanged()

Virtual method to override if you wish to be notified that the XAxisId has changed

OnYAxesCollectionChanged
protected virtual void OnYAxesCollectionChanged(object sender, NotifyCollectionChangedEventArgs args)
annotationBase.OnYAxesCollectionChanged(sender, args)

Virtual method to override if you wish to be notified that the parent YAxes has changed

OnYAxisIdChanged
protected virtual void OnYAxisIdChanged()
annotationBase.OnYAxisIdChanged()

Virtual method to override if you wish to be notified that the YAxisId has changed

PlaceAnnotation
protected virtual void PlaceAnnotation(AnnotationCoordinates coordinates)
annotationBase.PlaceAnnotation(coordinates)

Override in derived classes to handle specific placement of the annotation at the given AnnotationCoordinates

coordinates
The normalised AnnotationCoordinates
RaiseAnnotationDragEnded
internal void RaiseAnnotationDragEnded(bool isPrimaryDrag, bool isResize)
annotationBase.RaiseAnnotationDragEnded(isPrimaryDrag, isResize)

Initiates the DragEnded event

RaiseAnnotationDragging
internal void RaiseAnnotationDragging(double hOffset, double vOffset, bool isPrimaryDrag, bool isResize)
annotationBase.RaiseAnnotationDragging(hOffset, vOffset, isPrimaryDrag, isResize)

Initiates the DragDelta event

RaiseAnnotationDragStarted
internal void RaiseAnnotationDragStarted(bool isPrimaryDrag, bool isResize)
annotationBase.RaiseAnnotationDragStarted(isPrimaryDrag, isResize)

Initiates the DragStarted event

ReadXml
public virtual void ReadXml(XmlReader reader)
annotationBase.ReadXml(reader)

Generates AnnotationBase from its XML representation.

reader
Refresh
public bool Refresh()
result = annotationBase.Refresh()

Refreshes the annnotation position on the parent UltrachartSurface, without causing a full redraw of the chart

RemoveAdorners
protected virtual void RemoveAdorners(Canvas adornerLayer)
annotationBase.RemoveAdorners(adornerLayer)

Removes all adorners from the AnnotationBase

adornerLayer
The adorner layer
RemoveFocusInputTextArea
protected virtual void RemoveFocusInputTextArea()
annotationBase.RemoveFocusInputTextArea()

Remove focus from input text area. Applicable only for Text and label annotation

ResumeUpdates
public void ResumeUpdates(IUpdateSuspender updateSuspender)
annotationBase.ResumeUpdates(updateSuspender)

Resumes the updates.

updateSuspender
The update suspender.
SetBasePoint
protected virtual void SetBasePoint(Point newPoint, int index, IAxis xAxis, IAxis yAxis)
annotationBase.SetBasePoint(newPoint, index, xAxis, yAxis)

Called internally to marshal pixel points to X1,Y1,X2,Y2 values. Taking a pixel point () and base point , sets the X,Y data-values.

newPoint
The pixel point
index
The base point index, where 0, 1, 2, 3 refer to the four corners of an Annotation
yAxis
The current Y-Axis
xAxis
The current X-Axis
SetBasePoint
public void SetBasePoint(Point newPoint, int index)
annotationBase.SetBasePoint(newPoint, index)

This method is used in internally by the AnnotationResizeAdorner. Programmatically sets an adorner point position

newPoint
index
Show
public void Show()
annotationBase.Show()

Shows annotation which being hidden by Hide call

StartDrag
public void StartDrag(bool isPrimaryDrag)
annotationBase.StartDrag(isPrimaryDrag)

Raises the DragStarted event, called when a drag operation starts

SuspendUpdates
public IUpdateSuspender SuspendUpdates()
result = annotationBase.SuspendUpdates()

Suspends drawing updates on the target until the returned object is disposed, when a final draw call will be issued

Returns: The disposable Update Suspender

ToCoordinate
protected virtual double ToCoordinate(IComparable dataValue, double canvasMeasurement, ICoordinateCalculator<double> coordCalc, XyDirection direction)
result = annotationBase.ToCoordinate(dataValue, canvasMeasurement, coordCalc, direction)

Converts a Data-Value to Pixel Coordinate

dataValue
The Data-Value to convert
canvasMeasurement
The size of the canvas in the X or Y direction
coordCalc
The current ICoordinateCalculatorCoordinate Calculator
direction
The X or Y direction for the transformation
ToCoordinate
protected double ToCoordinate(IComparable dataValue, IAxis axis)
result = annotationBase.ToCoordinate(dataValue, axis)

Converts a data value to pixel coordinate

dataValue
The data value to convert
axis
The axis for which the coordinate is calculated

Returns: The coordinate in pixels

ToCoordinates
protected virtual Point ToCoordinates(IComparable xDataValue, IComparable yDataValue, IAnnotationCanvas canvas, ICoordinateCalculator<double> xCoordCalc, ICoordinateCalculator<double> yCoordCalc)
result = annotationBase.ToCoordinates(xDataValue, yDataValue, canvas, xCoordCalc, yCoordCalc)

Converts a data-values to pixel coordinates

xDataValue
The X data-value, e.g. value of X1 or X2
yDataValue
The Y data-value, e.g. value of Y1 or Y2
canvas
The AnnotationCanvas
xCoordCalc
The current X ICoordinateCalculator valid for the current render pass
yCoordCalc
The current Y ICoordinateCalculator valid for the current render pass

Returns: The pixel coordinates

TranslatePoint
public virtual Point TranslatePoint(Point point, IHitTestable relativeTo)
result = annotationBase.TranslatePoint(point, relativeTo)

Translates the point relative to the other IHitTestable element

point
The input point relative to this IHitTestable
relativeTo
The other IHitTestable to use when transforming the point

Returns: The transformed Point

TrySelectAnnotation
internal bool TrySelectAnnotation()
result = annotationBase.TrySelectAnnotation()

Tries to select the annotation. Returns True if the operation was successful

Returns: True if the operation was successful

Update
public virtual void Update(ICoordinateCalculator<double> xCoordinateCalculator, ICoordinateCalculator<double> yCoordinateCalculator)
annotationBase.Update(xCoordinateCalculator, yCoordinateCalculator)

Updates the coordinate calculators and refreshes the annotation position on the parent UltrachartSurface

xCoordinateCalculator
The XAxis ICoordinateCalculator
yCoordinateCalculator
The YAxis ICoordinateCalculator
UpdatePosition
public void UpdatePosition(Point point1, Point point2)
annotationBase.UpdatePosition(point1, point2)

Updates the position and values of the annotation during a drag or resize operation, by setting X1,Y1,X2,Y2 and X,Y pixel coordinates together, from a pixel coordinate input

point1
The first input pixel coordinate
point2
The second input pixel coordinate
WriteXml
public virtual void WriteXml(XmlWriter writer)
annotationBase.WriteXml(writer)

Converts AnnotationBase into its XML representation.

writer

Events

DragDelta
public event EventHandler<AnnotationDragDeltaEventArgs> DragDelta
annotationBase.DragDelta += handler

Occurs when current AnnotationBase is dragged or moved

DragEnded
public event EventHandler<AnnotationDragEventArgs> DragEnded
annotationBase.DragEnded += handler

Occurs when a Drag or move operation ends

DragStarted
public event EventHandler<AnnotationDragEventArgs> DragStarted
annotationBase.DragStarted += handler

Occurs when a Drag or move operation starts

IsHiddenChanged
public event EventHandler IsHiddenChanged
annotationBase.IsHiddenChanged += handler

Occurs when the IsHidden property is changed

MouseMiddleButtonDown
public event MouseButtonEventHandler MouseMiddleButtonDown
annotationBase.MouseMiddleButtonDown += handler

Occurs when the middle mouse button is pressed while the mouse pointer is over a UIElement.

MouseMiddleButtonUp
public event MouseButtonEventHandler MouseMiddleButtonUp
annotationBase.MouseMiddleButtonUp += handler

Occurs when the middle mouse button is released while the mouse pointer is over a UIElement. However, this event will only be raised if a caller marks the preceding MouseRightButtonDown event as handled; see Remarks.

Selected
public event EventHandler Selected
annotationBase.Selected += handler

Occurs when IAnnotation becomes selected.

Unselected
public event EventHandler Unselected
annotationBase.Unselected += handler

Occurs when IAnnotation becomes unselected.

Fields

AnnotationCanvasProperty
public static readonly DependencyProperty AnnotationCanvasProperty
value = AnnotationBase.AnnotationCanvasProperty

Defines the AnnotationCanvas DependencyProperty

AnnotationRoot
protected FrameworkElement AnnotationRoot
value = annotationBase.AnnotationRoot

The Root Element of the Annotation to be displayed on the Canvas

CanEditTextProperty
public static readonly DependencyProperty CanEditTextProperty
value = AnnotationBase.CanEditTextProperty

Defines the CanEditText DependencyProperty

CoordinateModeProperty
public static readonly DependencyProperty CoordinateModeProperty
value = AnnotationBase.CoordinateModeProperty

Defines the CoordinateMode DependencyProperty

DragDirectionsProperty
public static readonly DependencyProperty DragDirectionsProperty
value = AnnotationBase.DragDirectionsProperty

Defines the DragDirections DependencyProperty

IsEditableProperty
public static readonly DependencyProperty IsEditableProperty
value = AnnotationBase.IsEditableProperty

Defines the IsEditable DependencyProperty

IsHiddenProperty
public static readonly DependencyProperty IsHiddenProperty
value = AnnotationBase.IsHiddenProperty

Defines the IsHidden DependencyProperty

IsSelectedProperty
public static readonly DependencyProperty IsSelectedProperty
value = AnnotationBase.IsSelectedProperty

Defines the IsSelected DependencyProperty

ResizeDirectionsProperty
public static readonly DependencyProperty ResizeDirectionsProperty
value = AnnotationBase.ResizeDirectionsProperty

Defines the ResizeDirection DependencyProperty

ResizingGripsStyleProperty
public static readonly DependencyProperty ResizingGripsStyleProperty
value = AnnotationBase.ResizingGripsStyleProperty

Defines the ResizingGripsStyle DependencyProperty

X1Property
public static readonly DependencyProperty X1Property
value = AnnotationBase.X1Property

Defines the X1 DependencyProperty

X2Property
public static readonly DependencyProperty X2Property
value = AnnotationBase.X2Property

Defines the X2 DependencyProperty

XAxisIdProperty
public static readonly DependencyProperty XAxisIdProperty
value = AnnotationBase.XAxisIdProperty

Defines the YAxisId DependencyProperty

Y1Property
public static readonly DependencyProperty Y1Property
value = AnnotationBase.Y1Property

Defines the Y1 DependencyProperty

Y2Property
public static readonly DependencyProperty Y2Property
value = AnnotationBase.Y2Property

Defines the Y2 DependencyProperty

YAxisIdProperty
public static readonly DependencyProperty YAxisIdProperty
value = AnnotationBase.YAxisIdProperty

Defines the YAxisId DependencyProperty