LineAnnotationWithLabelsBase
ベースクラスHorizontalLineAnnotation@VerticalLineAnnotation@
継承元: LineAnnotation
コンストラクター
protected LineAnnotationWithLabelsBase()
lineAnnotationWithLabelsBase = LineAnnotationWithLabelsBase()
LineAnnotationWithLabelsBaseクラスの新しいインスタンスを初期化します。
プロパティ
public ObservableCollection<AnnotationLabel> AnnotationLabels { get; set; }
value = lineAnnotationWithLabelsBase.AnnotationLabels
lineAnnotationWithLabelsBase.AnnotationLabels = value
注釈ラベルのコレクションをゲットまたはセットする
protected IComparable DefaultLabelValue { get; }
value = lineAnnotationWithLabelsBase.DefaultLabelValue
ラベルがバインドされる値の取得またはセット
protected string DefaultTextFormatting { get; }
value = lineAnnotationWithLabelsBase.DefaultTextFormatting
デフォルトテキストの書式値を取得する
protected string FormattedLabel { get; }
value = lineAnnotationWithLabelsBase.FormattedLabel
フォーマットされたラベル値を取得する
public LabelPlacement LabelPlacement { get; set; }
value = lineAnnotationWithLabelsBase.LabelPlacement
lineAnnotationWithLabelsBase.LabelPlacement = value
デフォルトラベルの配置を取得するか、または設定する
public string LabelTextFormatting { get; set; }
value = lineAnnotationWithLabelsBase.LabelTextFormatting
lineAnnotationWithLabelsBase.LabelTextFormatting = value
すべての注釈ラベルに適用される文字列をフォーマットまたはセットする
public IComparable LabelValue { get; set; }
value = lineAnnotationWithLabelsBase.LabelValue
lineAnnotationWithLabelsBase.LabelValue = value
デフォルトラベルの値を取得またはセットする
public bool ShowLabel { get; set; }
value = lineAnnotationWithLabelsBase.ShowLabel
lineAnnotationWithLabelsBase.ShowLabel = value
値の取得やセット、デフォルトラベルを表示しているかどうかを示す
メソッド
public AnnotationLabel AddLabel()
result = lineAnnotationWithLabelsBase.AddLabel()
ラベルをAnnotationLabelsに追加
戻り値: 作成されたラベル
protected virtual void ApplyPlacement(AnnotationLabel label, LabelPlacement placement)
lineAnnotationWithLabelsBase.ApplyPlacement(label, placement)
LabelPlacementの値をAnnotationLabelに位置付けます
- label
- ラベルを配置する
- placement
- 配置引数
protected virtual void Attach(AnnotationLabel label)
lineAnnotationWithLabelsBase.Attach(label)
社内でAnnotationLabelを現在のインスタンスに添付
- label
- The AnnotationLabel to attach
protected void AttachLabels(IEnumerable<AnnotationLabel> labels)
lineAnnotationWithLabelsBase.AttachLabels(labels)
AnnotationLabel インスタンスのコレクションをLineAnnotationWithLabelsBaseに追加
- labels
- ラベルのコレクションを追加
protected virtual void Detach(AnnotationLabel label)
lineAnnotationWithLabelsBase.Detach(label)
現行のLineAnnotationWithLabelsBase@からAnnotationLabelをデタッチ
- label
- ラベルを外す
protected void DetachLabels(IEnumerable<AnnotationLabel> labels)
lineAnnotationWithLabelsBase.DetachLabels(labels)
AnnotationLabel インスタンスのコレクションをLineAnnotationWithLabelsBaseに削除します。
- labels
- ラベルのコレクションを除去する
protected override Cursor GetSelectedCursor()
result = lineAnnotationWithLabelsBase.GetSelectedCursor()
選択した時に注釈に使用するCursorを取得します
public abstract IAxis GetUsedAxis()
result = lineAnnotationWithLabelsBase.GetUsedAxis()
現行のアノテーションがデータ値を示す軸を返します。
public void InvalidateLabel(AnnotationLabel annotationLabel)
lineAnnotationWithLabelsBase.InvalidateLabel(annotationLabel)
無効化のアノテーションのラベル
- annotationLabel
- ラベルが無効に
public override bool IsPointWithinBounds(Point point)
result = lineAnnotationWithLabelsBase.IsPointWithinBounds(point)
ポイントが現在のIHitTestable要素の境界内にある場合は、trueを返します
- point
- 試験のポイント
戻り値: ポイントが境界内にある場合 true
protected override void MakeInvisible()
lineAnnotationWithLabelsBase.MakeInvisible()
LineAnnotationWithLabelsBase@ の現在のインスタンスを非表示にします。
protected override void MakeVisible(AnnotationCoordinates coordinates)
lineAnnotationWithLabelsBase.MakeVisible(coordinates)
LineAnnotationWithLabelsBase@ の現在のインスタンスを非表示にします。
public override void OnApplyTemplate()
lineAnnotationWithLabelsBase.OnApplyTemplate()
派生クラスに上書きする場合は、アプリケーションコードや内部プロセスがApplyTemplate@に電話する時に呼び出されます。
public override void OnAttached()
lineAnnotationWithLabelsBase.OnAttached()
親面にアノテーションをつけた場合に呼び出される
protected override void OnAxisAlignmentChanged(IAxis axis, AxisAlignment oldAlignment)
lineAnnotationWithLabelsBase.OnAxisAlignmentChanged(axis, oldAlignment)
AxisAlignmentが変更されたことを通知したい場合、仮想メソッドをオーバーライド
- axis
- oldAlignment
protected override void OnXAxesCollectionChanged(object sender, NotifyCollectionChangedEventArgs args)
lineAnnotationWithLabelsBase.OnXAxesCollectionChanged(sender, args)
親XAxesが変更されたことを通知したい場合は、仮想メソッドをオーバーライドする
protected override void OnXAxisIdChanged()
lineAnnotationWithLabelsBase.OnXAxisIdChanged()
XAxisIdが変更されたことを通知したい場合、仮想メソッドをオーバーライド
protected override void OnYAxesCollectionChanged(object sender, NotifyCollectionChangedEventArgs args)
lineAnnotationWithLabelsBase.OnYAxesCollectionChanged(sender, args)
親のYAxesが変更されたことを通知したい場合は、上書きする仮想メソッド
protected override void OnYAxisIdChanged()
lineAnnotationWithLabelsBase.OnYAxisIdChanged()
YAxisIdが変更されたことを通知したい場合、仮想メソッドをオーバーライド
protected virtual void PlaceAxisLabel(IAxis axis, AnnotationLabel axisLabel, Point offset)
lineAnnotationWithLabelsBase.PlaceAxisLabel(axis, axisLabel, offset)
位置の適切な軸の@ModifierAxisCanvas@に置く。
protected void TryPlaceAxisLabels(Point offset)
lineAnnotationWithLabelsBase.TryPlaceAxisLabels(offset)
適切な軸のModifierAxisCanvasにすべてのアノテーションラベルを配置してください。
フィールド
public static readonly DependencyProperty AnnotationLabelsProperty
value = LineAnnotationWithLabelsBase.AnnotationLabelsProperty
AnnotationLabels プロパティを定義する
protected internal static readonly DependencyProperty DefaultLabelValueProperty
value = LineAnnotationWithLabelsBase.DefaultLabelValueProperty
DefaultLabelValue プロパティを定義する
protected static readonly DependencyProperty DefaultTextFormattingProperty
value = LineAnnotationWithLabelsBase.DefaultTextFormattingProperty
DefaultTextFormatting プロパティを定義する
public static readonly DependencyProperty FormattedLabelProperty
value = LineAnnotationWithLabelsBase.FormattedLabelProperty
FormattedLabel プロパティを定義する
public static readonly DependencyProperty LabelPlacementProperty
value = LineAnnotationWithLabelsBase.LabelPlacementProperty
LabelPlacement プロパティを定義する
public static readonly DependencyProperty LabelTextFormattingProperty
value = LineAnnotationWithLabelsBase.LabelTextFormattingProperty
LabelTextFormatting プロパティを定義する
public static readonly DependencyProperty LabelValueProperty
value = LineAnnotationWithLabelsBase.LabelValueProperty
LabelValue プロパティを定義する
public static readonly DependencyProperty ShowLabelProperty
value = LineAnnotationWithLabelsBase.ShowLabelProperty
ShowLabel プロパティを定義する