BoxAnnotation

StockSharp.Xaml.Charting.Visuals.Annotations

Defines a rectangle or box annotation, which may be placed on the chart at specific X1,Y1,X2,Y2 coordinates

Inherits: AnnotationBase

Constructors

BoxAnnotation()

Initializes a new instance of the BoxAnnotation class.

Properties

CornerRadius : CornerRadius

Gets or sets the CornerRadius of the box

Methods

GetSelectedCursor() : Cursor

Gets the Cursor to use for the annotation when selected

IsPointWithinBounds(Point) : bool

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

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.

Fields

CornerRadiusProperty : DependencyProperty

Defines the CornerRadius DependencyProperty