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

继承自: AnnotationBase

构造函数

BoxAnnotation()

Initializes a new instance of the BoxAnnotation class.

属性

CornerRadius : CornerRadius

Gets or sets the CornerRadius of the box

方法

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

返回值: 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.

字段

CornerRadiusProperty : DependencyProperty

Defines the CornerRadius DependencyProperty