CustomAnnotation

StockSharp.Xaml.Charting.Visuals.Annotations

CustomAnnotation is a ContentControl which can be overlaid on the annotation surfaces. For examples of use, see the Annotations Are Easy and Create Annotations Dynamically examples in the trial download

Hereda de: AnchorPointAnnotation

Constructores

CustomAnnotation()

Initializes a new instance of the CustomAnnotation class.

Métodos

IsPointWithinBounds(Point) : bool

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

point
The point to test

Devuelve: true if the Point is within the bounds

OnContentChanged(object, object)

Called when the Content property changes.

oldContent
The old value of the Content property.
newContent
The new value of the Content property.
OnContentTemplateChanged(DataTemplate, DataTemplate)

Called when the ContentTemplate property changes.

oldContentTemplate
The old value of the ContentTemplate property.
newContentTemplate
The new value of the ContentTemplate property.