LineAnnotationWithLabelsBase

StockSharp.Xaml.Charting.Visuals.Annotations

Proporciona una clase de base para HorizontalLineAnnotation, VerticalLineAnnotation

Hereda de: LineAnnotation

Constructores

LineAnnotationWithLabelsBase
protected LineAnnotationWithLabelsBase()
lineAnnotationWithLabelsBase = LineAnnotationWithLabelsBase()

Inicia una nueva instancia de la clase LineAnnotationWithLabelsBase.

Propiedades

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

Obtiene o establece una colección de etiquetas de anotación

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

Obtiene o establece valor a qué etiquetas estarán sujetas

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

Obtiene el valor de formato de texto predeterminado

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

Obtiene el valor de etiqueta formateado

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

Obtiene o establece la colocación para la etiqueta predeterminada

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

Obtiene o establece cadena de formato que se aplica a todas las etiquetas de anotación

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

Obtiene o establece un valor para la etiqueta predeterminada

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

Obtiene o establece valor, indicando si muestra la etiqueta predeterminada o no

Métodos

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

Añada nueva etiqueta a AnnotationLabels

Devuelve: Label que ha sido creada

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

Posición de AnnotationLabel utilizando el valor de LabelPlacement enum

label
La etiqueta para colocar
placement
Discusión de colocación
Attach
protected virtual void Attach(AnnotationLabel label)
lineAnnotationWithLabelsBase.Attach(label)

Llamado internamente para adjuntar a la instancia actual un AnnotationLabel

label
AnnotationLabel para adjuntar
AttachLabels
protected void AttachLabels(IEnumerable<AnnotationLabel> labels)
lineAnnotationWithLabelsBase.AttachLabels(labels)

Añada una colección de AnnotationLabels a LineAnnotationWithLabelsBase@

labels
La colección de etiquetas para añadir
Detach
protected virtual void Detach(AnnotationLabel label)
lineAnnotationWithLabelsBase.Detach(label)

Se adjunta el AnnotationLabel@ desde la corriente LineAnnotationWithLabelsBase

label
La etiqueta para desmontar
DetachLabels
protected void DetachLabels(IEnumerable<AnnotationLabel> labels)
lineAnnotationWithLabelsBase.DetachLabels(labels)

Elimina una colección de AnnotationLabels a LineAnnotationWithLabelsBase@

labels
La colección de etiquetas para eliminar
GetSelectedCursor
protected override Cursor GetSelectedCursor()
result = lineAnnotationWithLabelsBase.GetSelectedCursor()

Consigue que el Cursor use para la anotación cuando se selecciona

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

Retorno del eje, que la anotación actual muestra valor de datos para

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

Invalida la etiqueta de anotación

annotationLabel
Label a invalidar
IsPointWithinBounds
public override bool IsPointWithinBounds(Point point)
result = lineAnnotationWithLabelsBase.IsPointWithinBounds(point)

Devuelve la verdad si el Punto está dentro de los límites del elemento IHitTestable

point
El punto de prueba

Devuelve: verdadero si el Punto está dentro de los límites

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

Oculta la instancia actual de LineAnnotationWithLabelsBase

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

Oculta la instancia actual de LineAnnotationWithLabelsBase

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

Cuando se sobrescribe en una clase derivada, se invoca cuando el código de aplicación o los procesos internos llaman ApplyTemplate@.

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

Llamado cuando la Anotación se adjunta a la superficie de los padres

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

Método virtual para anular si desea recibir notificación de que el AxisAlignment ha cambiado

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

Método virtual para anular si desea ser notificado que el padre XAxes ha cambiado

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

Método virtual para anular si desea recibir notificación de que el XAxisId ha cambiado

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

Método virtual para anular si desea ser notificado que el padre YAxes ha cambiado

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

Método virtual para anular si desea recibir notificación de que el YAxisId ha cambiado

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

Lugar ModifierAxisCanvas@ de eje apropiado a la posición.

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

Trate de colocar todas las etiquetas de anotación en ModifierAxisCanvas de eje apropiado a la posición.

Campos

AnnotationLabelsProperty
public static readonly DependencyProperty AnnotationLabelsProperty
value = LineAnnotationWithLabelsBase.AnnotationLabelsProperty

Define el AnnotationLabelsPropiedad

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

Define el DefaultLabelValuePropiedad

DefaultTextFormattingProperty
protected static readonly DependencyProperty DefaultTextFormattingProperty
value = LineAnnotationWithLabelsBase.DefaultTextFormattingProperty

Define el DefaultTextFormattingPropiedad

FormattedLabelProperty
public static readonly DependencyProperty FormattedLabelProperty
value = LineAnnotationWithLabelsBase.FormattedLabelProperty

Define el FormattedLabelPropiedad

LabelPlacementProperty
public static readonly DependencyProperty LabelPlacementProperty
value = LineAnnotationWithLabelsBase.LabelPlacementProperty

Define el LabelPlacementPropiedad

LabelTextFormattingProperty
public static readonly DependencyProperty LabelTextFormattingProperty
value = LineAnnotationWithLabelsBase.LabelTextFormattingProperty

Define el LabelTextFormattingPropiedad

LabelValueProperty
public static readonly DependencyProperty LabelValueProperty
value = LineAnnotationWithLabelsBase.LabelValueProperty

Define el LabelValuePropiedad

ShowLabelProperty
public static readonly DependencyProperty ShowLabelProperty
value = LineAnnotationWithLabelsBase.ShowLabelProperty

Define el ShowLabelPropiedad