Class XySeriesDraggingBase
XySeriesDraggingBase is abstract class which is used to allow, drag a chart series in chart area.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public abstract class XySeriesDraggingBase : XySegmentDraggingBase, ICloneable, ISupportAxes2D, ISupportAxes
Constructors
XySeriesDraggingBase()
Declaration
protected XySeriesDraggingBase()
Fields
EnableSeriesDraggingProperty
The DependencyProperty for EnableSeriesDragging property. .
Declaration
public static readonly DependencyProperty EnableSeriesDraggingProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
EnableSeriesDragging
Gets or sets a value indicating whether to enable the series dragging. We can drag the series, if its true
.
Declaration
public bool EnableSeriesDragging { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
OnChartDragDelta(Point, Object)
Called when dragging series.
Declaration
protected override void OnChartDragDelta(Point mousePos, object originalSource)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Point | mousePos | mouse position |
System.Object | originalSource | original source |
Overrides
OnChartDragEntered(Point, Object)
Called when dragging entered.
Declaration
protected override void OnChartDragEntered(Point mousePos, object originalSource)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Point | mousePos | mouse position |
System.Object | originalSource | original source |
Overrides
OnChartDragExited(Point, Object)
Called when dragging exit.
Declaration
protected override void OnChartDragExited(Point mousePos, object originalSource)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Point | mousePos | mouse position |
System.Object | originalSource | original source |
Overrides
OnMouseEnter(MouseEventArgs)
Called when mouse enter.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | Event args |
Overrides
OnMouseLeave(MouseEventArgs)
Called when mouse leave.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | Event args |
Overrides
OnMouseLeftButtonDown(MouseButtonEventArgs)
Called when mouse left button down.
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | Event args |
Overrides
OnMouseLeftButtonUp(MouseButtonEventArgs)
Called when mouse left button up.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | Event args |
Overrides
OnMouseMove(MouseEventArgs)
Called when mouse move.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | Event args |
Overrides
ResetDraggingElements(String, Boolean)
Resets the dragging elements.
Declaration
protected override void ResetDraggingElements(string reason, bool dragEndEvent)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | The reason. |
System.Boolean | dragEndEvent | if set to |
Overrides
UpdateUnderLayingModel(String, IList<Double>)
Method used to update the underlying model.
Declaration
protected void UpdateUnderLayingModel(string path, IList<double> updatedDatas)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | path |
System.Collections.Generic.IList<System.Double> | updatedDatas | updated datas |