VerticalLineAnnotation
Una clase para VerticalLineAnnotation
Hereda de: LineAnnotationWithLabelsBase
Constructores
public VerticalLineAnnotation()
verticalLineAnnotation = VerticalLineAnnotation()
Crea nueva instancia de VerticalLineAnnotation
Propiedades
public Orientation LabelsOrientation { get; set; }
value = verticalLineAnnotation.LabelsOrientation
verticalLineAnnotation.LabelsOrientation = value
Obtiene o establece valor, indicando si las etiquetas se colocarán vertical o horizontalmente
public VerticalAlignment VerticalAlignment { get; set; }
value = verticalLineAnnotation.VerticalAlignment
verticalLineAnnotation.VerticalAlignment = value
Consigue o establece el acoplamiento de VerticalLineAnnotation
Métodos
protected override void ApplyPlacement(AnnotationLabel label, LabelPlacement placement)
verticalLineAnnotation.ApplyPlacement(label, placement)
Posición de AnnotationLabel utilizando el valor de LabelPlacement enum
- label
- La etiqueta para colocar
- placement
- Discusión de colocación
protected override void Attach(AnnotationLabel label)
verticalLineAnnotation.Attach(label)
Llamado internamente para adjuntar a la instancia actual un AnnotationLabel
- label
- AnnotationLabel para adjuntar
protected override void GetPropertiesFromIndex(int index, DependencyProperty x, DependencyProperty y)
verticalLineAnnotation.GetPropertiesFromIndex(index, x, y)
Usado internamente para derivar el X1Property, Y1Property, X1Property, Y2Property par para el índice dado alrededor de la anotación.. e.g. index 0 devoluciones X1,Y1 índice 1 devuelve X2,Y1 índice 2 devuelve X2,Y2 índice 3 devuelve X1,Y2
- index
- El índice
- x
- La propiedad de dependencia de X coordina, ya sea X1Property o X2Property
- y
- La propiedad de dependencia Y coordinar, ya sea Y1Property o Y2Property
protected override Cursor GetSelectedCursor()
result = verticalLineAnnotation.GetSelectedCursor()
Consigue que el Cursor use para la anotación cuando se selecciona
public override IAxis GetUsedAxis()
result = verticalLineAnnotation.GetUsedAxis()
Retorno del eje, que la anotación actual muestra valor de datos para
protected override void SetBasePoint(Point newPoint, int index, IAxis xAxis, IAxis yAxis)
verticalLineAnnotation.SetBasePoint(newPoint, index, xAxis, yAxis)
Llamado internamente a marshal pixel apunta a valores X1,Y1,X2,Y2. Tomando un punto de píxel () y punto de base, establece los valores de datos X,Y.
- newPoint
- El punto de pixel
- index
- El índice de puntos base, donde 0, 1, 2, 3 se refieren a los cuatro rincones de una anotación
- xAxis
- El eje X actual
- yAxis
- El eje Y actual
Campos
public static readonly DependencyProperty LabelsOrientationProperty
value = VerticalLineAnnotation.LabelsOrientationProperty
Define el LabelDirectionPropiedad
public static readonly DependencyProperty VerticalAlignmentProperty
value = VerticalLineAnnotation.VerticalAlignmentProperty
Define el VerticalAlignmentPropiedad