LineAnnotationBase
StockSharp.Xaml.Charting.Visuals.Annotations
共有プロパティーのベースクラスLineAnnotation、HorizontalLineAnnotation@、VerticalLineAnnotation@
継承元: AnnotationBase
プロパティ
Stroke
public Brush Stroke { get; set; }
value = lineAnnotationBase.Stroke
lineAnnotationBase.Stroke = value
ラインのストロークブラシをゲットまたはセット
StrokeDashArray
public DoubleCollection StrokeDashArray { get; set; }
value = lineAnnotationBase.StrokeDashArray
lineAnnotationBase.StrokeDashArray = value
ラインのStrokeDashArrayを受け取り、または設定します
StrokeThickness
public double StrokeThickness { get; set; }
value = lineAnnotationBase.StrokeThickness
lineAnnotationBase.StrokeThickness = value
ラインのStrokeThicknessを受け取り、または設定します
メソッド
GetPropertiesFromIndex
protected override void GetPropertiesFromIndex(int index, DependencyProperty x, DependencyProperty y)
lineAnnotationBase.GetPropertiesFromIndex(index, x, y)
内部でX1Property、Y1Property、X1Property、Y2Propertyペアを、アノテーションの周りの特定のインデックスに導きます。 e.g。 インデックス0はX1、Y1インデックス1を返しますX2、Y1インデックス2はX2、Y2インデックス3リターンX1、Y2
- index
- インデックス
- x
- X座標依存性プロパティ、X1Property または X2Property のいずれか
- y
- Y座標依存性プロパティ、Y1Property または Y2Property のいずれか
GetSelectedCursor
protected override Cursor GetSelectedCursor()
result = lineAnnotationBase.GetSelectedCursor()
選択した時に注釈に使用するCursorを取得します
IsPointWithinBounds
public override bool IsPointWithinBounds(Point point)
result = lineAnnotationBase.IsPointWithinBounds(point)
ポイントが現在のIHitTestable要素の境界内にある場合は、trueを返します
- point
- 試験のポイント
戻り値: ポイントが境界内にある場合 true
フィールド
StrokeDashArrayProperty
public static readonly DependencyProperty StrokeDashArrayProperty
value = LineAnnotationBase.StrokeDashArrayProperty
電子メール:StrokeDashArrayDependencyProperty@
StrokeProperty
public static readonly DependencyProperty StrokeProperty
value = LineAnnotationBase.StrokeProperty
ストロークを定義する DependencyProperty
StrokeThicknessProperty
public static readonly DependencyProperty StrokeThicknessProperty
value = LineAnnotationBase.StrokeThicknessProperty
電子メール:StrokeThicknessDependencyProperty@