BoxAnnotation

StockSharp.Xaml.Charting.Visuals.Annotations

Define un rectángulo o anotación de caja, que puede ser colocado en el gráfico en coordenadas X1,Y1,X2,Y2 específicas

Hereda de: AnnotationBase

Constructores

BoxAnnotation
public BoxAnnotation()
boxAnnotation = BoxAnnotation()

Inicia una nueva instancia de la clase BoxAnnotation.

Propiedades

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

Obtiene o establece el CornerRadius@ de la caja

Métodos

GetSelectedCursor
protected override Cursor GetSelectedCursor()
result = boxAnnotation.GetSelectedCursor()

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

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

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

Campos

CornerRadiusProperty
public static readonly DependencyProperty CornerRadiusProperty
value = BoxAnnotation.CornerRadiusProperty

Define el CornerRadius@DependencyProperty@