LineAnnotationWithLabelsBase

StockSharp.Xaml.Charting.Visuals.Annotations

ベースクラスHorizontalLineAnnotation@VerticalLineAnnotation@

継承元: LineAnnotation

コンストラクター

LineAnnotationWithLabelsBase
protected LineAnnotationWithLabelsBase()
lineAnnotationWithLabelsBase = LineAnnotationWithLabelsBase()

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

プロパティ

AnnotationLabels
public ObservableCollection<AnnotationLabel> AnnotationLabels { get; set; }
value = lineAnnotationWithLabelsBase.AnnotationLabels
lineAnnotationWithLabelsBase.AnnotationLabels = value

注釈ラベルのコレクションをゲットまたはセットする

DefaultLabelValue
protected IComparable DefaultLabelValue { get; }
value = lineAnnotationWithLabelsBase.DefaultLabelValue

ラベルがバインドされる値の取得またはセット

DefaultTextFormatting
protected string DefaultTextFormatting { get; }
value = lineAnnotationWithLabelsBase.DefaultTextFormatting

デフォルトテキストの書式値を取得する

FormattedLabel
protected string FormattedLabel { get; }
value = lineAnnotationWithLabelsBase.FormattedLabel

フォーマットされたラベル値を取得する

LabelPlacement
public LabelPlacement LabelPlacement { get; set; }
value = lineAnnotationWithLabelsBase.LabelPlacement
lineAnnotationWithLabelsBase.LabelPlacement = value

デフォルトラベルの配置を取得するか、または設定する

LabelTextFormatting
public string LabelTextFormatting { get; set; }
value = lineAnnotationWithLabelsBase.LabelTextFormatting
lineAnnotationWithLabelsBase.LabelTextFormatting = value

すべての注釈ラベルに適用される文字列をフォーマットまたはセットする

LabelValue
public IComparable LabelValue { get; set; }
value = lineAnnotationWithLabelsBase.LabelValue
lineAnnotationWithLabelsBase.LabelValue = value

デフォルトラベルの値を取得またはセットする

ShowLabel
public bool ShowLabel { get; set; }
value = lineAnnotationWithLabelsBase.ShowLabel
lineAnnotationWithLabelsBase.ShowLabel = value

値の取得やセット、デフォルトラベルを表示しているかどうかを示す

メソッド

AddLabel
public AnnotationLabel AddLabel()
result = lineAnnotationWithLabelsBase.AddLabel()

ラベルをAnnotationLabelsに追加

戻り値: 作成されたラベル

ApplyPlacement
protected virtual void ApplyPlacement(AnnotationLabel label, LabelPlacement placement)
lineAnnotationWithLabelsBase.ApplyPlacement(label, placement)

LabelPlacementの値をAnnotationLabelに位置付けます

label
ラベルを配置する
placement
配置引数
Attach
protected virtual void Attach(AnnotationLabel label)
lineAnnotationWithLabelsBase.Attach(label)

社内でAnnotationLabelを現在のインスタンスに添付

label
The AnnotationLabel to attach
AttachLabels
protected void AttachLabels(IEnumerable<AnnotationLabel> labels)
lineAnnotationWithLabelsBase.AttachLabels(labels)

AnnotationLabel インスタンスのコレクションをLineAnnotationWithLabelsBaseに追加

labels
ラベルのコレクションを追加
Detach
protected virtual void Detach(AnnotationLabel label)
lineAnnotationWithLabelsBase.Detach(label)

現行のLineAnnotationWithLabelsBase@からAnnotationLabelをデタッチ

label
ラベルを外す
DetachLabels
protected void DetachLabels(IEnumerable<AnnotationLabel> labels)
lineAnnotationWithLabelsBase.DetachLabels(labels)

AnnotationLabel インスタンスのコレクションをLineAnnotationWithLabelsBaseに削除します。

labels
ラベルのコレクションを除去する
GetSelectedCursor
protected override Cursor GetSelectedCursor()
result = lineAnnotationWithLabelsBase.GetSelectedCursor()

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

GetUsedAxis
public abstract IAxis GetUsedAxis()
result = lineAnnotationWithLabelsBase.GetUsedAxis()

現行のアノテーションがデータ値を示す軸を返します。

InvalidateLabel
public void InvalidateLabel(AnnotationLabel annotationLabel)
lineAnnotationWithLabelsBase.InvalidateLabel(annotationLabel)

無効化のアノテーションのラベル

annotationLabel
ラベルが無効に
IsPointWithinBounds
public override bool IsPointWithinBounds(Point point)
result = lineAnnotationWithLabelsBase.IsPointWithinBounds(point)

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

point
試験のポイント

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

MakeInvisible
protected override void MakeInvisible()
lineAnnotationWithLabelsBase.MakeInvisible()

LineAnnotationWithLabelsBase@ の現在のインスタンスを非表示にします。

MakeVisible
protected override void MakeVisible(AnnotationCoordinates coordinates)
lineAnnotationWithLabelsBase.MakeVisible(coordinates)

LineAnnotationWithLabelsBase@ の現在のインスタンスを非表示にします。

OnApplyTemplate
public override void OnApplyTemplate()
lineAnnotationWithLabelsBase.OnApplyTemplate()

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

OnAttached
public override void OnAttached()
lineAnnotationWithLabelsBase.OnAttached()

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

OnAxisAlignmentChanged
protected override void OnAxisAlignmentChanged(IAxis axis, AxisAlignment oldAlignment)
lineAnnotationWithLabelsBase.OnAxisAlignmentChanged(axis, oldAlignment)

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

axis
oldAlignment
OnXAxesCollectionChanged
protected override void OnXAxesCollectionChanged(object sender, NotifyCollectionChangedEventArgs args)
lineAnnotationWithLabelsBase.OnXAxesCollectionChanged(sender, args)

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

OnXAxisIdChanged
protected override void OnXAxisIdChanged()
lineAnnotationWithLabelsBase.OnXAxisIdChanged()

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

OnYAxesCollectionChanged
protected override void OnYAxesCollectionChanged(object sender, NotifyCollectionChangedEventArgs args)
lineAnnotationWithLabelsBase.OnYAxesCollectionChanged(sender, args)

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

OnYAxisIdChanged
protected override void OnYAxisIdChanged()
lineAnnotationWithLabelsBase.OnYAxisIdChanged()

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

PlaceAxisLabel
protected virtual void PlaceAxisLabel(IAxis axis, AnnotationLabel axisLabel, Point offset)
lineAnnotationWithLabelsBase.PlaceAxisLabel(axis, axisLabel, offset)

位置の適切な軸の@ModifierAxisCanvas@に置く。

TryPlaceAxisLabels
protected void TryPlaceAxisLabels(Point offset)
lineAnnotationWithLabelsBase.TryPlaceAxisLabels(offset)

適切な軸のModifierAxisCanvasにすべてのアノテーションラベルを配置してください。

フィールド

AnnotationLabelsProperty
public static readonly DependencyProperty AnnotationLabelsProperty
value = LineAnnotationWithLabelsBase.AnnotationLabelsProperty

AnnotationLabels プロパティを定義する

DefaultLabelValueProperty
protected internal static readonly DependencyProperty DefaultLabelValueProperty
value = LineAnnotationWithLabelsBase.DefaultLabelValueProperty

DefaultLabelValue プロパティを定義する

DefaultTextFormattingProperty
protected static readonly DependencyProperty DefaultTextFormattingProperty
value = LineAnnotationWithLabelsBase.DefaultTextFormattingProperty

DefaultTextFormatting プロパティを定義する

FormattedLabelProperty
public static readonly DependencyProperty FormattedLabelProperty
value = LineAnnotationWithLabelsBase.FormattedLabelProperty

FormattedLabel プロパティを定義する

LabelPlacementProperty
public static readonly DependencyProperty LabelPlacementProperty
value = LineAnnotationWithLabelsBase.LabelPlacementProperty

LabelPlacement プロパティを定義する

LabelTextFormattingProperty
public static readonly DependencyProperty LabelTextFormattingProperty
value = LineAnnotationWithLabelsBase.LabelTextFormattingProperty

LabelTextFormatting プロパティを定義する

LabelValueProperty
public static readonly DependencyProperty LabelValueProperty
value = LineAnnotationWithLabelsBase.LabelValueProperty

LabelValue プロパティを定義する

ShowLabelProperty
public static readonly DependencyProperty ShowLabelProperty
value = LineAnnotationWithLabelsBase.ShowLabelProperty

ShowLabel プロパティを定義する