AnchorPointAnnotation

StockSharp.Xaml.Charting.Visuals.Annotations

An Anchor-Point annotation is an IAnnotation which only has one X1,Y1 point. This annotation may be anchored around the coordinate using various alignmnets. See the HorizontalAnchorPoint and VerticalAnchorPoint properties for more information

継承元: AnnotationBase

実装: IAnchorPointAnnotation, IAnnotation, IHitTestable, IPublishMouseEvents, IXmlSerializable

コンストラクター

AnchorPointAnnotation()

Initializes a new instance of the AnchorPointAnnotation class.

プロパティ

HorizontalAnchorPoint : HorizontalAnchorPoint

Gets or sets the HorizontalAnchorPoint. The value of Left means the X1,Y1 coordinate of the annotation is on the Left horizontally. The value of Center means the X1,Y1 coordinate of the annotation is at the center horizontally. The value of Right means the X1,Y1 coordinate of the annotation is at the right horizontally.

HorizontalOffset : double

Gets the computed HorizontalOffset in pixels to apply to this annotation when placing

VerticalAnchorPoint : VerticalAnchorPoint

Gets or sets the VerticalAnchorPoint. The value of Top means the X1,Y1 coordinate of the annotation is on the Top vertically. The value of Center means the X1,Y1 coordinate of the annotation is at the center vertically. The value of Bottom means the X1,Y1 coordinate of the annotation is at the Bottom vertically.

VerticalOffset : double

Gets the computed VerticalOffset in pixels to apply to this annotation when placing

メソッド

GetAnchorAnnotationCoordinates(AnnotationCoordinates) : AnnotationCoordinates

Applies HorizontalOffset and VerticalOffset to annotationCoordinates

annotationCoordinates
GetSelectedCursor() : Cursor

Gets the Cursor to use for the annotation when selected

フィールド

HorizontalAnchorPointProperty : DependencyProperty

Defines the HorizontalAnchorPoint DependencyProperty

VerticalAnchorPointProperty : DependencyProperty

Defines the VerticalAnchorPointProperty DependencyProperty