Class VerticalLineAnnotation
Inheritance
System.Object
VerticalLineAnnotation
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class VerticalLineAnnotation : StraightLineAnnotation, ICloneable
Constructors
VerticalLineAnnotation()
Declaration
public VerticalLineAnnotation()
Fields
HorizontalTextAlignmentProperty
The DependencyProperty for HorizontalTextAlignment property.
Declaration
public static readonly DependencyProperty HorizontalTextAlignmentProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
VerticalTextAlignmentProperty
The DependencyProperty for VerticalTextAlignment property.
Declaration
public static readonly DependencyProperty VerticalTextAlignmentProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
HorizontalTextAlignment
Gets or sets the horizontal text alignment.
Declaration
public HorizontalAlignment HorizontalTextAlignment { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.HorizontalAlignment | The System.Windows.HorizontalAlignment value. |
VerticalTextAlignment
Gets or sets the vertical text alignment.
Declaration
public VerticalAlignment VerticalTextAlignment { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.VerticalAlignment | The System.Windows.VerticalAlignment value. |
Methods
SetTextElementPosition(Point, Point, Size, Point, ContentControl)
Declaration
protected override void SetTextElementPosition(Point point, Point point2, Size desiredSize, Point positionedPoint, ContentControl TextElement)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Point | point | |
System.Windows.Point | point2 | |
System.Windows.Size | desiredSize | |
System.Windows.Point | positionedPoint | |
System.Windows.Controls.ContentControl | TextElement |
Overrides
UpdateAnnotation()
Updates the annotation
Declaration
public override void UpdateAnnotation()