Class StraightLineAnnotation
Inheritance
System.Object
StraightLineAnnotation
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public abstract class StraightLineAnnotation : LineAnnotation, ICloneable
Constructors
StraightLineAnnotation()
Constructor
Declaration
public StraightLineAnnotation()
Fields
AxisLabelTemplateProperty
The DependencyProperty for AxisLabelTemplate property.
Declaration
public static readonly DependencyProperty AxisLabelTemplateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShowAxisLabelProperty
The Dependencyproperty for ShowAxisLabel property.
Declaration
public static readonly DependencyProperty ShowAxisLabelProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
AxisLabelTemplate
Gets or sets the custom template for the axis label.
Declaration
public DataTemplate AxisLabelTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.DataTemplate | System.Windows.DataTemplate |
ShowAxisLabel
Gets or sets a value indicating whether to enable or disable the annotation label displaying in axis.
Declaration
public bool ShowAxisLabel { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
SetAxisMarkerValue(Object, Object, Object, Object, AxisMode)
Declaration
protected void SetAxisMarkerValue(object X1, object X2, object Y1, object Y2, AxisMode axisMode)
Parameters
Type | Name | Description |
---|---|---|
System.Object | X1 | |
System.Object | X2 | |
System.Object | Y1 | |
System.Object | Y2 | |
AxisMode | axisMode |
Events
DragCompleted
Occurs when annotation drag is completed.
Declaration
public event EventHandler<AnnotationDragCompletedEventArgs> DragCompleted
Event Type
Type |
---|
System.EventHandler<AnnotationDragCompletedEventArgs> |
DragDelta
Occurs while dragging the annotation.
Declaration
public event EventHandler<AnnotationDragDeltaEventArgs> DragDelta
Event Type
Type |
---|
System.EventHandler<AnnotationDragDeltaEventArgs> |
DragStarted
Occurs when annotation drag is started.
Declaration
public event EventHandler DragStarted
Event Type
Type |
---|
System.EventHandler |
Selected
Occurs when Syncfusion.UI.Xaml.Charts.Annotation becomes selected.
Declaration
public event EventHandler Selected
Event Type
Type |
---|
System.EventHandler |
UnSelected
Occurs when Syncfusion.UI.Xaml.Charts.Annotation becomes unselected.
Declaration
public event EventHandler UnSelected
Event Type
Type |
---|
System.EventHandler |