BoxAnnotation

StockSharp.Xaml.Charting.Visuals.Annotations

Definiert eine Rechteck- oder Box-Annotation, die auf dem Diagramm bei bestimmten X1,Y1,X2,Y2-Koordinaten platziert werden kann

Erbt von: AnnotationBase

Konstruktoren

BoxAnnotation
public BoxAnnotation()
boxAnnotation = BoxAnnotation()

Initialisiert eine neue Instanz der BoxAnnotation Klasse.

Eigenschaften

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

Bekommt oder setzt die CornerRadius der Box

Methoden

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

Bekommt den Cursor für die Annotation zu verwenden, wenn ausgewählt

IsPointWithinBounds
public override bool IsPointWithinBounds(Point point)
result = boxAnnotation.IsPointWithinBounds(point)

Gibt true zurück, wenn der Punkt innerhalb der Grenzen des aktuellen IHitTestable-Elements liegt

point
Der Punkt zum Testen

Rückgabe: Wahr, wenn der Punkt innerhalb der Grenzen liegt

OnApplyTemplate
public override void OnApplyTemplate()
boxAnnotation.OnApplyTemplate()

Wenn in einer abgeleiteten Klasse überschrieben, wird aufgerufen, wenn Anwendungscode oder interne Prozesse ApplyTemplate aufrufen.

Felder

CornerRadiusProperty
public static readonly DependencyProperty CornerRadiusProperty
value = BoxAnnotation.CornerRadiusProperty

Definiert die CornerRadiusDependencyProperty