AnnotationBase

StockSharp.Xaml.Charting.Visuals.Annotations

チャート上にレンダリングされるアノテーションのためのベースクラスを提供

継承元: ApiElementBase

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

コンストラクター

AnnotationBase
protected AnnotationBase()
annotationBase = AnnotationBase()

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

プロパティ

AnnotationCanvas
public AnnotationCanvas AnnotationCanvas { get; set; }
value = annotationBase.AnnotationCanvas
annotationBase.AnnotationCanvas = value

デフォルトはAboveChart@にアノテーションを配置するか、またはAnnotationCanvasを設定してください。

AnnotationOverlaySurface
protected IAnnotationCanvas AnnotationOverlaySurface { get; }
value = annotationBase.AnnotationOverlaySurface

親 UltrachartSurface@ のシリーズ上のキャンバスをゲット

AnnotationUnderlaySurface
protected IAnnotationCanvas AnnotationUnderlaySurface { get; }
value = annotationBase.AnnotationUnderlaySurface

親UltrachartSurface@のシリーズの下にキャンバスをゲット

CanEditText
public bool CanEditText { get; set; }
value = annotationBase.CanEditText
annotationBase.CanEditText = value

テキストがこの@AnnotationBaseで編集できるかどうかを取得または設定します。テキストまたはラベルのアノテーションのみでサポートされている

CoordinateMode
public AnnotationCoordinateMode CoordinateMode { get; set; }
value = annotationBase.CoordinateMode
annotationBase.CoordinateMode = value

注釈を置くときにAnnotationCoordinateModeを付与または設定します。E.g。Absoluteのデフォルトでは、X1、Y1座標はデータ値です。相対値は、X1、Y1は0.0から1.0までの2つの値である必要があります。

DragDirections
public XyDirection DragDirections { get; set; }
value = annotationBase.DragDirections
annotationBase.DragDirections = value

X-Direction、Y-Direction、XyDirectionマウスを使用してアノテーションをドラッグするときにドラッグする方向を制限します。オプションのXyDirection enumerationを参照してください。

IsAttached
public override bool IsAttached { get; set; }
value = annotationBase.IsAttached
annotationBase.IsAttached = value

この要素が親 @UltrachartSurface に添付されているかどうかを取得またはセットする

IsEditable
public bool IsEditable { get; set; }
value = annotationBase.IsEditable
annotationBase.IsEditable = value

現在のアノテーションが編集可能かどうかを取得またはセットします。編集可能であれば、ユーザーはアノテーションで選択してやり取りするをクリックすることができます。

IsHidden
public bool IsHidden { get; set; }
value = annotationBase.IsHidden
annotationBase.IsHidden = value

値の取得やセット、現在のアノテーションが非表示の呼び出しで隠されていたかどうかを示します

IsResizable
public bool IsResizable { get; protected set; }
value = annotationBase.IsResizable
annotationBase.IsResizable = value

値を取得すると、現在のインスタンスが再利用可能なかどうかを示します。

IsSelected
public bool IsSelected { get; set; }
value = annotationBase.IsSelected
annotationBase.IsSelected = value

現在のアノテーションが選択されているかどうかを取得またはセットします。 選択したとき、アドーナは、ユーザーが動的にリサイズとドラッグできるようにアノテーションの上に配置されます。

IsSuspended
public bool IsSuspended { get; }
value = annotationBase.IsSuspended

ターゲットの更新が現在中断されているかどうかを示す値を取得します。

ResizeDirections
public XyDirection ResizeDirections { get; set; }
value = annotationBase.ResizeDirections
annotationBase.ResizeDirections = value

マウスを使用して注釈をリシャリングするときにリサイズ方向を制限します。e.gX-Direction、Y-Direction、XyDirection。オプションのXyDirection enumerationを参照してください。

ResizingGripsStyle
public Style ResizingGripsStyle { get; set; }
value = annotationBase.ResizingGripsStyle
annotationBase.ResizingGripsStyle = value

注釈が選択されるとき、リサイジンググリップに適用されるスタイルをゲットまたはセットします。

X1
public IComparable X1 { get; set; }
value = annotationBase.X1
annotationBase.X1 = value

注釈のX1座標を、Absoluteでは、DateTimeDateTimeAxis、NumericAxis、NumericAxis、NumericAxis、CategoryDateTimeAxisのIntegerインデックスの2倍、相対的には、0.0と1.0の2倍の値を、XAsの左端に0.0と1.0の間で、XAxisの左端に、右折して、右折します。

X2
public IComparable X2 { get; set; }
value = annotationBase.X2
annotationBase.X2 = value

注釈のX2座標を、Absoluteでは、DateTimeDateTimeAxis、NumericAxis、NumericAxis、NumericAxis、CategoryDateTimeAxisのIntegerインデックスの2倍、相対的には、0.0と1.0の2倍の値を、XAsの左端に0.0と1.0の間で、XAxisの左端に、右折して、右折します。

XAxis
public override IAxis XAxis { get; }
value = annotationBase.XAxis

現在のアノテーションがバインドされるXAxisを取得します

XAxisId
public string XAxisId { get; set; }
value = annotationBase.XAxisId
annotationBase.XAxisId = value

このアノテーションが対抗するX軸のIDを得られるか、またはセットする

Y1
public IComparable Y1 { get; set; }
value = annotationBase.Y1
annotationBase.Y1 = value

注釈のY1座標を取得またはセットします。絶対的には、NumericAxisの倍のY軸上のデータ値でなければなりません。相対的には、0.0と1.0の間の2倍の値でなければなりません。この値は、YAxisの一番上であり、1.0は一番下です。

Y2
public IComparable Y2 { get; set; }
value = annotationBase.Y2
annotationBase.Y2 = value

注釈のY2座標を取得またはセットします。絶対的には、NumericAxisの倍のY軸上のデータ値でなければなりません。相対的には、0.0と1.0の間の2倍の値でなければなりません。この値は、YAxisの一番上であり、1.0は一番下です。

YAxis
public override IAxis YAxis { get; }
value = annotationBase.YAxis

YAxis を取得します。, 現行の注釈は、

YAxisId
public string YAxisId { get; set; }
value = annotationBase.YAxisId
annotationBase.YAxisId = value

このアノテーションが対抗するY軸のIDを得られるか、またはセットする

メソッド

AddAdorners
protected virtual void AddAdorners(Canvas adornerLayer)
annotationBase.AddAdorners(adornerLayer)

派生したクラスに上書きすると、AnnotationBaseに適切なアドールナーを配置します。

adornerLayer
思春期の層
AttachInteractionHandlersTo
protected virtual void AttachInteractionHandlersTo(FrameworkElement source)
annotationBase.AttachInteractionHandlersTo(source)

渡されたオブジェクトの特定のイベントにハンドルを取り付けます

source
マウスイベントソース
DecrementSuspend
public void DecrementSuspend()
annotationBase.DecrementSuspend()

ターゲットスモーダが割当するたびにIUpdateSuspenderに電話をかけます。最終スモーダが割当された場合にはResumeUpdatesを呼ばれます。

DetachInteractionHandlersFrom
protected virtual void DetachInteractionHandlersFrom(FrameworkElement source)
annotationBase.DetachInteractionHandlersFrom(source)

派生したクラスで呼び出されると、AnnotationBase@に以前に取り付けられた可能性のあるマウスイベントを分離します。

source
Drag
public void Drag(double hOffset, double vOffset)
annotationBase.Drag(hOffset, vOffset)

ドラッグ操作が進行中にあるときに呼び出されるDragDeltaイベントを上げ、アノテーションでX1 Y1 X2 Y2ポイントの更新を各回

EndDrag
public void EndDrag()
annotationBase.EndDrag()

ドラッグ操作が終了したときに呼び出されるDragEndedイベントを上げます

FocusInputTextArea
protected virtual void FocusInputTextArea()
annotationBase.FocusInputTextArea()

入力テキスト領域を集中します。テキストとラベルの注釈のみ適用

FromCoordinate
protected virtual IComparable FromCoordinate(double coord, IAxis axis)
result = annotationBase.FromCoordinate(coord, axis)

ピクセル座標をデータ値に変換

coord
ピクセル座標。
axis
データ値が計算される軸

戻り値: データ値

FromCoordinates
protected virtual IComparable[] FromCoordinates(double xCoord, double yCoord)
result = annotationBase.FromCoordinates(xCoord, yCoord)

ピクセル座標をデータ値に変換

xCoord
X座標
yCoord
Y座標

戻り値: データ値

FromCoordinates
protected virtual IComparable[] FromCoordinates(Point coords)
result = annotationBase.FromCoordinates(coords)

ピクセル座標をデータ値に変換

coords
X、Y座標

戻り値: データ値

FromRelativeCoordinate
protected virtual IComparable FromRelativeCoordinate(double coord, IAxis axis)
result = annotationBase.FromRelativeCoordinate(coord, axis)

相対座標(e.g. 0.0 から 1.0)をデータ値に変換

coord
相対座標、ビューポートの極端な0.0〜1.0の範囲で。
axis
データ値が計算される軸

戻り値: データ値

GetAdornerLayer
protected Canvas GetAdornerLayer()
result = annotationBase.GetAdornerLayer()

アドワーナーキャンバスを手に入れ、アノテーションのアドールナーを配置します

GetBasePoints
public Point[] GetBasePoints()
result = annotationBase.GetBasePoints()

この方法は、AnnotationResizeAdorner@ で内部で使用されます。 エイダラーポイントの位置を取得します。

GetBasePoints
protected virtual Point[] GetBasePoints(AnnotationCoordinates coordinates)
result = annotationBase.GetBasePoints(coordinates)

この方法は、AnnotationResizeAdorner@ で内部で使用されます。 エイダラーポイントの位置を取得します。

coordinates
以前は、画面ピクセルでAnnotationCoordinatesを計算しました。

戻り値: アドワーナー角を解明する画面ピクセルのポイントのリスト

GetBoundsRelativeTo
public virtual Rect GetBoundsRelativeTo(IHitTestable relativeTo)
result = annotationBase.GetBoundsRelativeTo(relativeTo)

別のIHitTestable要素に相対的に現在のIHitTestable@要素の境界を取得します

relativeTo
GetCanvas
protected IAnnotationCanvas GetCanvas(AnnotationCanvas annotationCanvas)
result = annotationBase.GetCanvas(annotationCanvas)

この注釈のキャンバスインスタンスを取得します

annotationCanvas
代表取締役社長 佐藤 正

戻り値: キャンバスインスタンス

GetCoordinates
protected AnnotationCoordinates GetCoordinates(IAnnotationCanvas canvas, ICoordinateCalculator<double> xCalc, ICoordinateCalculator<double> yCalc)
result = annotationBase.GetCoordinates(canvas, xCalc, yCalc)

ピクセル座標を含むAnnotationCoordinatesstruct を受け取り、現在のレンダーパスに注釈を設定または更新します。

canvas
キャンバスに注釈が置かれる
xCalc
現在のXAxis ICoordinateCalculator ピクセル変換にデータを実行する
yCalc
YAxisICoordinateCalculator@ ピクセル変換にデータを実行する

戻り値: ピクセル座標を含むAnnotationCoordinates struct

GetPropertiesFromIndex
protected virtual void GetPropertiesFromIndex(int index, DependencyProperty x, DependencyProperty y)
annotationBase.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 のいずれか
GetSchema
public XmlSchema GetSchema()
result = annotationBase.GetSchema()

WriteXmlメソッドで生成されたオブジェクトのXML表現を記述し、ReadXmlメソッドで消費するXMLをReadXmlメソッドで返します。

GetSelectedCursor
protected abstract Cursor GetSelectedCursor()
result = annotationBase.GetSelectedCursor()

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

GetUsedAdorners``1
protected IEnumerable<T> GetUsedAdorners<T>(Canvas adornerLayer)
result = annotationBase.GetUsedAdorners(adornerLayer)

Annotation で現在使用している Adorners のコレクションを、Annotation AdornerLayer キャンバスに収めます。

adornerLayer
エイドナーレイヤーキャンバス

戻り値: マッチングタイプTの一覧

Hide
public void Hide()
annotationBase.Hide()

親 AdornerLayerCanvasからアドールナーマーカーを削除し、Collapsed に可視性を設定することにより、アノテーションを非表示にする

HideAdornerMarkers
protected void HideAdornerMarkers()
annotationBase.HideAdornerMarkers()

明確な呼び出しで愛らしいマーカーを隠す

IsCoordinateValid
protected bool IsCoordinateValid(double coord, double canvasMeasurement)
result = annotationBase.IsCoordinateValid(coord, canvasMeasurement)

座標がキャンバスに置くために有効であるかどうかを決定します。e.g. はゼロよりより大きいですよりよりより少しより

coord
座標。
canvasMeasurement
この軸のキャンバス次元。

戻り値: 座標が有効である場合、そうでなければ false です。

IsInBounds
protected virtual bool IsInBounds(AnnotationCoordinates coordinates, IAnnotationCanvas canvas)
result = annotationBase.IsInBounds(coordinates, canvas)

シンプルな長方形の境界チェックを実行して、X1、X2、Y1、Y2 座標がキャンバス内で渡されたかどうかを確認します。

coordinates
正規化AnnotationCoordinates@
canvas
注釈が境界内にあるかどうかを確認するキャンバス

戻り値: 境界線でなければ真

IsPointWithinBounds
public virtual bool IsPointWithinBounds(Point point)
result = annotationBase.IsPointWithinBounds(point)

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

point
試験のポイント

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

MakeInvisible
protected virtual void MakeInvisible()
annotationBase.MakeInvisible()

表面境界から注釈が出てレイアウトシステムによって内部的に呼び出される

MakeVisible
protected virtual void MakeVisible(AnnotationCoordinates coordinates)
annotationBase.MakeVisible(coordinates)

表面に注釈が入るときレイアウト システムによって内部的に呼び出される

MoveAnnotation
public void MoveAnnotation(double horizOffset, double vertOffset)
annotationBase.MoveAnnotation(horizOffset, vertOffset)

この方法は、AnnotationDragAdorner@ で内部で使用されます。 プログラマティックはX,Yオフセットによってアノテーションを移動します。

horizOffset
ピクセルで移動する水平オフセット
vertOffset
垂直オフセットでpxielsに移動
MoveAnnotationTo
protected virtual ValueTuple<double, double> MoveAnnotationTo(AnnotationCoordinates coordinates, double horizOffset, double vertOffset)
result = annotationBase.MoveAnnotationTo(coordinates, horizOffset, vertOffset)

特定の水平および縦のオフセットに注釈を移して下さい

coordinates
初期座標。
horizOffset
水平オフセット。
vertOffset
垂直オフセット。
OnAnnotationLoaded
protected virtual void OnAnnotationLoaded(object sender, RoutedEventArgs e)
annotationBase.OnAnnotationLoaded(sender, e)

ロードされたイベントが発生したら、すぐに呼び出されます。

sender
e
OnAnnotationMouseDown
protected virtual void OnAnnotationMouseDown(object sender, MouseButtonEventArgs e)
annotationBase.OnAnnotationMouseDown(sender, e)

マウスダウンイベントの処理の相互作用ロジックが含まれています

sender
e
OnAnnotationMouseMove
protected virtual void OnAnnotationMouseMove(object sender, MouseEventArgs e)
annotationBase.OnAnnotationMouseMove(sender, e)

マウス移動イベントの処理の相互作用ロジックが含まれています

sender
e
OnAnnotationMouseUp
protected virtual void OnAnnotationMouseUp(object sender, MouseButtonEventArgs e)
annotationBase.OnAnnotationMouseUp(sender, e)

マウスアップイベントの処理の相互作用ロジックが含まれています

sender
e
OnAnnotationPositionChanged
protected static void OnAnnotationPositionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
AnnotationBase.OnAnnotationPositionChanged(d, e)

DependencyPropertyプロパティと位置変更の注釈を更新するために使用できる変更されたハンドラ

OnAttached
public override void OnAttached()
annotationBase.OnAttached()

親面にアノテーションをつけた場合に呼び出される

OnAxisAlignmentChanged
protected virtual void OnAxisAlignmentChanged(IAxis axis, AxisAlignment oldAlignment)
annotationBase.OnAxisAlignmentChanged(axis, oldAlignment)

AxisAlignmentが変更されたことを通知したい場合、仮想メソッドをオーバーライド

axis
oldAlignment
OnDetached
public override void OnDetached()
annotationBase.OnDetached()

親面からアノテーションが離脱される直前に呼び出される

OnRenderablePropertyChanged
protected static void OnRenderablePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
AnnotationBase.OnRenderablePropertyChanged(d, e)

DependencyPropertyプロパティの変更時に注釈を更新するために使用できる変更されたハンドラ

d
代表取締役社長 佐藤 正
e
イベントデータを含むDependencyPropertyChangedEventArgsインスタンス。
OnXAxesCollectionChanged
protected virtual void OnXAxesCollectionChanged(object sender, NotifyCollectionChangedEventArgs args)
annotationBase.OnXAxesCollectionChanged(sender, args)

親XAxesが変更されたことを通知したい場合は、仮想メソッドをオーバーライドする

OnXAxisIdChanged
protected virtual void OnXAxisIdChanged()
annotationBase.OnXAxisIdChanged()

XAxisIdが変更されたことを通知したい場合、仮想メソッドをオーバーライド

OnYAxesCollectionChanged
protected virtual void OnYAxesCollectionChanged(object sender, NotifyCollectionChangedEventArgs args)
annotationBase.OnYAxesCollectionChanged(sender, args)

親のYAxesが変更されたことを通知したい場合は、上書きする仮想メソッド

OnYAxisIdChanged
protected virtual void OnYAxisIdChanged()
annotationBase.OnYAxisIdChanged()

YAxisIdが変更されたことを通知したい場合、仮想メソッドをオーバーライド

PlaceAnnotation
protected virtual void PlaceAnnotation(AnnotationCoordinates coordinates)
annotationBase.PlaceAnnotation(coordinates)

与えられたAnnotationCoordinatesでアノテーションの特定の配置を処理するために派生したクラスで上書き

coordinates
正規化AnnotationCoordinates@
RaiseAnnotationDragEnded
internal void RaiseAnnotationDragEnded(bool isPrimaryDrag, bool isResize)
annotationBase.RaiseAnnotationDragEnded(isPrimaryDrag, isResize)

DragEndedイベントを立ち上げる

RaiseAnnotationDragging
internal void RaiseAnnotationDragging(double hOffset, double vOffset, bool isPrimaryDrag, bool isResize)
annotationBase.RaiseAnnotationDragging(hOffset, vOffset, isPrimaryDrag, isResize)

DragDeltaイベントを立ち上げる

RaiseAnnotationDragStarted
internal void RaiseAnnotationDragStarted(bool isPrimaryDrag, bool isResize)
annotationBase.RaiseAnnotationDragStarted(isPrimaryDrag, isResize)

DragStartedイベントを立ち上げる

ReadXml
public virtual void ReadXml(XmlReader reader)
annotationBase.ReadXml(reader)

XML 表現から AnnotationBase を生成します。

reader
Refresh
public bool Refresh()
result = annotationBase.Refresh()

チャートの完全な再描画をすることなく、親@UltrachartSurfaceに注釈位置をリフレッシュ

RemoveAdorners
protected virtual void RemoveAdorners(Canvas adornerLayer)
annotationBase.RemoveAdorners(adornerLayer)

AnnotationBaseからすべての愛らしいものを取り除きます

adornerLayer
思春期の層
RemoveFocusInputTextArea
protected virtual void RemoveFocusInputTextArea()
annotationBase.RemoveFocusInputTextArea()

入力テキスト領域からフォーカスを削除します。テキストとラベルアノテーションのみ適用

ResumeUpdates
public void ResumeUpdates(IUpdateSuspender updateSuspender)
annotationBase.ResumeUpdates(updateSuspender)

更新履歴を再開します。

updateSuspender
更新サパーサパー。
SetBasePoint
protected virtual void SetBasePoint(Point newPoint, int index, IAxis xAxis, IAxis yAxis)
annotationBase.SetBasePoint(newPoint, index, xAxis, yAxis)

内部で呼び出されると、X1、Y1、X2、Y2 値にマーシャルピクセルポイントを割り当てます。ピクセルポイント()とベースポイントをとり、X、Y データ値を設定します。

newPoint
ピクセルポイント
index
ベースポイント指数は、0, 1, 2, 3 は、アノテーションの4つの角を参照します
yAxis
現在のY軸
xAxis
現在のX軸
SetBasePoint
public void SetBasePoint(Point newPoint, int index)
annotationBase.SetBasePoint(newPoint, index)

この方法は、AnnotationResizeAdorner@ で内部で使用されます。 プログラマティックにアドールポイントの位置を設定します

newPoint
index
Show
public void Show()
annotationBase.Show()

隠すコールで隠されている注釈を表示

StartDrag
public void StartDrag(bool isPrimaryDrag)
annotationBase.StartDrag(isPrimaryDrag)

ドラッグ操作が始まると呼び出されるDragStartedイベントを上げます

SuspendUpdates
public IUpdateSuspender SuspendUpdates()
result = annotationBase.SuspendUpdates()

最終ドローコールが発行されるまで、ターゲットのドローの更新を中断します。

戻り値: 使い捨て更新サスペンダー

ToCoordinate
protected virtual double ToCoordinate(IComparable dataValue, double canvasMeasurement, ICoordinateCalculator<double> coordCalc, XyDirection direction)
result = annotationBase.ToCoordinate(dataValue, canvasMeasurement, coordCalc, direction)

データをピクセル座標に変換

dataValue
変換するデータ変数
canvasMeasurement
X または Y 方向のキャンバスのサイズ
coordCalc
代表取締役社長 佐藤 正
direction
変換のためのXまたはY方向
ToCoordinate
protected double ToCoordinate(IComparable dataValue, IAxis axis)
result = annotationBase.ToCoordinate(dataValue, axis)

ピクセル座標にデータ値を変換

dataValue
変換するデータ値
axis
座標を計算する軸

戻り値: ピクセルの座標

ToCoordinates
protected virtual Point ToCoordinates(IComparable xDataValue, IComparable yDataValue, IAnnotationCanvas canvas, ICoordinateCalculator<double> xCoordCalc, ICoordinateCalculator<double> yCoordCalc)
result = annotationBase.ToCoordinates(xDataValue, yDataValue, canvas, xCoordCalc, yCoordCalc)

ピクセル座標にデータ値を変換

xDataValue
X1 または X2 の X の X 値、e.g. 値
yDataValue
Y のデータ値、e.g. Y1 または Y2 の値
canvas
代表取締役社長 佐藤 正
xCoordCalc
現在のレンダーパスのXICoordinateCalculatorが有効
yCoordCalc
現在のレンダーパスのY ICoordinateCalculatorは有効です

戻り値: ピクセル座標

TranslatePoint
public virtual Point TranslatePoint(Point point, IHitTestable relativeTo)
result = annotationBase.TranslatePoint(point, relativeTo)

他のIHitTestable要素に相対的なポイントを翻訳します

point
このページの先頭へ
relativeTo
点を変形させるときに使用する他のIHitTestable

戻り値: トランスフォーメーションポイント

TrySelectAnnotation
internal bool TrySelectAnnotation()
result = annotationBase.TrySelectAnnotation()

注釈を選択するのを試します。 動作が成功した場合は、True を返します

戻り値: 操作が成功した場合、真

Update
public virtual void Update(ICoordinateCalculator<double> xCoordinateCalculator, ICoordinateCalculator<double> yCoordinateCalculator)
annotationBase.Update(xCoordinateCalculator, yCoordinateCalculator)

座標計算機を更新し、親 UltrachartSurface の注釈位置をリフレッシュ

xCoordinateCalculator
代表取締役社長 岡本 俊一
yCoordinateCalculator
ヤシックスICoordinateCalculator@
UpdatePosition
public void UpdatePosition(Point point1, Point point2)
annotationBase.UpdatePosition(point1, point2)

X1、Y1、X2、Y2、X、Yピクセルの設定で、ドラッグまたはリサイズ操作中にアノテーションの位置と値を更新し、ピクセル座標入力から、一緒に座標を座標

point1
最初の入力ピクセル座標
point2
2 番目の入力ピクセル座標
WriteXml
public virtual void WriteXml(XmlWriter writer)
annotationBase.WriteXml(writer)

AnnotationBaseをXML表現に変換します。

writer

イベント

DragDelta
public event EventHandler<AnnotationDragDeltaEventArgs> DragDelta
annotationBase.DragDelta += handler

現時点で AnnotationBase がドラッグまたは移動したときに占領者

DragEnded
public event EventHandler<AnnotationDragEventArgs> DragEnded
annotationBase.DragEnded += handler

ドラッグや操作の終了時に占有者

DragStarted
public event EventHandler<AnnotationDragEventArgs> DragStarted
annotationBase.DragStarted += handler

ドラッグや移動操作が始まると、稼働中の占有者

IsHiddenChanged
public event EventHandler IsHiddenChanged
annotationBase.IsHiddenChanged += handler

IsHidden@ プロパティが変更されたときに占領者

MouseMiddleButtonDown
public event MouseButtonEventHandler MouseMiddleButtonDown
annotationBase.MouseMiddleButtonDown += handler

マウスポインタがUIElement上にあるときに、ミドルマウスボタンを押していると、 占有者。

MouseMiddleButtonUp
public event MouseButtonEventHandler MouseMiddleButtonUp
annotationBase.MouseMiddleButtonUp += handler

マウスポインタがUIElement上にある間、ミドルマウスボタンが解放されると、このイベントは、呼び出し側が処理したMouseRightButtonDownイベントをマークした場合にのみ発生します。 注目を参照してください。

Selected
public event EventHandler Selected
annotationBase.Selected += handler

イオン化が選択されると、占領者。

Unselected
public event EventHandler Unselected
annotationBase.Unselected += handler

未通知が未選択になったときに占領者。

フィールド

AnnotationCanvasProperty
public static readonly DependencyProperty AnnotationCanvasProperty
value = AnnotationBase.AnnotationCanvasProperty

電子メール:AnnotationCanvasDependencyProperty@

AnnotationRoot
protected FrameworkElement AnnotationRoot
value = annotationBase.AnnotationRoot

キャンバスに表示する注釈のルート要素

CanEditTextProperty
public static readonly DependencyProperty CanEditTextProperty
value = AnnotationBase.CanEditTextProperty

電子メール:CanEditTextDependencyProperty@

CoordinateModeProperty
public static readonly DependencyProperty CoordinateModeProperty
value = AnnotationBase.CoordinateModeProperty

電子メール:CoordinateModeDependencyProperty@

DragDirectionsProperty
public static readonly DependencyProperty DragDirectionsProperty
value = AnnotationBase.DragDirectionsProperty

電子メール:DragDirectionsDependencyProperty@

IsEditableProperty
public static readonly DependencyProperty IsEditableProperty
value = AnnotationBase.IsEditableProperty

電子メール:IsEditableDependencyProperty@

IsHiddenProperty
public static readonly DependencyProperty IsHiddenProperty
value = AnnotationBase.IsHiddenProperty

電子メール:IsHiddenDependencyProperty@

IsSelectedProperty
public static readonly DependencyProperty IsSelectedProperty
value = AnnotationBase.IsSelectedProperty

電子メール:IsSelectedDependencyProperty@

ResizeDirectionsProperty
public static readonly DependencyProperty ResizeDirectionsProperty
value = AnnotationBase.ResizeDirectionsProperty

電子メール:ResizeDirectionDependencyProperty@

ResizingGripsStyleProperty
public static readonly DependencyProperty ResizingGripsStyleProperty
value = AnnotationBase.ResizingGripsStyleProperty

電子メール:ResizingGripsStyleDependencyProperty@

X1Property
public static readonly DependencyProperty X1Property
value = AnnotationBase.X1Property

X1 DependencyProperty@ を定義

X2Property
public static readonly DependencyProperty X2Property
value = AnnotationBase.X2Property

X2 DependencyProperty@ を定義します。

XAxisIdProperty
public static readonly DependencyProperty XAxisIdProperty
value = AnnotationBase.XAxisIdProperty

電子メール:YAxisIdDependencyProperty@

Y1Property
public static readonly DependencyProperty Y1Property
value = AnnotationBase.Y1Property

Y1 DependencyProperty@ を定義

Y2Property
public static readonly DependencyProperty Y2Property
value = AnnotationBase.Y2Property

Y2 DependencyProperty@ を定義します。

YAxisIdProperty
public static readonly DependencyProperty YAxisIdProperty
value = AnnotationBase.YAxisIdProperty

電子メール:YAxisIdDependencyProperty@