TextAnnotation

StockSharp.Xaml.Charting.Visuals.Annotations

Define una anotación de texto, que puede utilizarse para colocar etiquetas de sólo lectura o escribir buzones de texto en el padre UltrachartSurface@

Hereda de: AnchorPointAnnotation

Constructores

TextAnnotation
public TextAnnotation()
textAnnotation = TextAnnotation()

Inicia una nueva instancia de la clase TextAnnotation.

Propiedades

CornerRadius
public CornerRadius CornerRadius { get; set; }
value = textAnnotation.CornerRadius
textAnnotation.CornerRadius = value

Consigue o establece el CornerRadius@ de la TextAnnotation

Text
public string Text { get; set; }
value = textAnnotation.Text
textAnnotation.Text = value

Obtiene o establece el Texto de la TextAnnotation

TextAlignment
public TextAlignment TextAlignment { get; set; }
value = textAnnotation.TextAlignment
textAnnotation.TextAlignment = value

Consigue o establece el TextAlignment

TextStretch
private Stretch TextStretch { get; set; }
value = textAnnotation.TextStretch
textAnnotation.TextStretch = value

Obtiene o establece cómo el texto se estira para llenar su contenedor. Aplicable si las propiedades X1,Y1,X2,Y2 están establecidas, otro texto será uniforme

Métodos

FocusInputTextArea
protected override void FocusInputTextArea()
textAnnotation.FocusInputTextArea()

Enfoca la zona de entrada de texto en la TextAnnotation

IsPointWithinBounds
public override bool IsPointWithinBounds(Point point)
result = textAnnotation.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

OnApplyTemplate
public override void OnApplyTemplate()
textAnnotation.OnApplyTemplate()

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

RemoveFocusInputTextArea
protected override void RemoveFocusInputTextArea()
textAnnotation.RemoveFocusInputTextArea()

Eliminar el enfoque del área de texto de entrada. Aplicable sólo para la anotación de texto y etiqueta

Campos

CornerRadiusProperty
public static readonly DependencyProperty CornerRadiusProperty
value = TextAnnotation.CornerRadiusProperty

Define el CornerRadius@DependencyProperty@

TextAlignmentProperty
public static readonly DependencyProperty TextAlignmentProperty
value = TextAnnotation.TextAlignmentProperty

Define el TextAlignment@DependencyProperty@

TextProperty
public static readonly DependencyProperty TextProperty
value = TextAnnotation.TextProperty

Define el texto DependencyProperty

TextStretchProperty
public static readonly DependencyProperty TextStretchProperty
value = TextAnnotation.TextStretchProperty

Define el TextStretch@DependencyProperty@