RulerAnnotation

StockSharp.Xaml.Charting.Ultrachart

Anotación de gobernantes.

Hereda de: AnnotationBase

Constructores

RulerAnnotation
public RulerAnnotation()
rulerAnnotation = RulerAnnotation()

Inicia un nuevo caso del ICH.

Propiedades

RulerHeight
public double RulerHeight { get; set; }
value = rulerAnnotation.RulerHeight
rulerAnnotation.RulerHeight = value

Altura de regla.

RulerWidth
public double RulerWidth { get; set; }
value = rulerAnnotation.RulerWidth
rulerAnnotation.RulerWidth = value

Ancho de regla.

Text1
public string Text1 { get; set; }
value = rulerAnnotation.Text1
rulerAnnotation.Text1 = value

Primera línea de texto de regla.

Text2
public string Text2 { get; set; }
value = rulerAnnotation.Text2
rulerAnnotation.Text2 = value

Segunda línea de texto de regla.

Métodos

AttachInteractionHandlersTo
protected override void AttachInteractionHandlersTo(FrameworkElement source)
rulerAnnotation.AttachInteractionHandlersTo(source)

Remove auto en cualquier clic del ratón.

DetachInteractionHandlersFrom
protected override void DetachInteractionHandlersFrom(FrameworkElement source)
rulerAnnotation.DetachInteractionHandlersFrom(source)

Remove auto en cualquier clic del ratón.

FromCoordinate
protected override IComparable FromCoordinate(double coord, IAxis axis)
result = rulerAnnotation.FromCoordinate(coord, axis)

Convertir una coordenadas pixel en valor de datos

coord
La coordenadas pixel.
axis
El eje para el cual se calcula el valor de los datos

Devuelve: El valor de los datos

GetCurrentPlacementStrategy
protected override IAnnotationPlacementStrategy GetCurrentPlacementStrategy()
result = rulerAnnotation.GetCurrentPlacementStrategy()
GetSelectedCursor
protected override Cursor GetSelectedCursor()
result = rulerAnnotation.GetSelectedCursor()

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

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

Llamado internamente por el sistema de distribución cuando la anotación está fuera de los límites de la superficie

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

Llamado internamente por el sistema de diseño cuando la anotación entra en los límites de la superficie

OnApplyTemplate
public override void OnApplyTemplate()
rulerAnnotation.OnApplyTemplate()

Construye el árbol visual para el control LayoutTransformer cuando se aplica una nueva plantilla.

Campos

RulerHeightProperty
public static readonly DependencyProperty RulerHeightProperty
value = RulerAnnotation.RulerHeightProperty

Altura de regla.

RulerWidthProperty
public static readonly DependencyProperty RulerWidthProperty
value = RulerAnnotation.RulerWidthProperty

Ancho de regla.

Text1Property
public static readonly DependencyProperty Text1Property
value = RulerAnnotation.Text1Property

Primera línea de texto de regla.

Text2Property
public static readonly DependencyProperty Text2Property
value = RulerAnnotation.Text2Property

Segunda línea de texto de regla.