BoxAnnotation

StockSharp.Xaml.Charting.Visuals.Annotations

特定のX1、Y1、X2、Y2座標でチャートに配置される長方形またはボックスの注釈を定義します。

継承元: AnnotationBase

コンストラクター

BoxAnnotation
public BoxAnnotation()
boxAnnotation = BoxAnnotation()

BoxAnnotationクラスの新しいインスタンスを初期化します。

プロパティ

CornerRadius
public CornerRadius CornerRadius { get; set; }
value = boxAnnotation.CornerRadius
boxAnnotation.CornerRadius = value

箱のCornerRadiusを受け取り、またはセットして下さい

メソッド

GetSelectedCursor
protected override Cursor GetSelectedCursor()
result = boxAnnotation.GetSelectedCursor()

選択した時に注釈に使用するCursorを取得します

IsPointWithinBounds
public override bool IsPointWithinBounds(Point point)
result = boxAnnotation.IsPointWithinBounds(point)

ポイントが現在のIHitTestable要素の境界内にある場合は、trueを返します

point
試験のポイント

戻り値: ポイントが境界内にある場合 true

OnApplyTemplate
public override void OnApplyTemplate()
boxAnnotation.OnApplyTemplate()

派生クラスに上書きする場合は、アプリケーションコードや内部プロセスがApplyTemplate@に電話する時に呼び出されます。

フィールド

CornerRadiusProperty
public static readonly DependencyProperty CornerRadiusProperty
value = BoxAnnotation.CornerRadiusProperty

電子メール:CornerRadiusDependencyProperty@