Class XySegmentDraggingBase
XySegmentDraggingBase is abstract class which is used to allow, drag a segment in a chart series.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public abstract class XySegmentDraggingBase : XyDataSeries, ICloneable, ISupportAxes2D, ISupportAxes
Constructors
XySegmentDraggingBase()
Declaration
protected XySegmentDraggingBase()
Fields
DragCancelKeyModifiersProperty
The DependencyProperty for DragCancelKeyModifiers property.
Declaration
public static readonly DependencyProperty DragCancelKeyModifiersProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
draggedValue
Declaration
protected double draggedValue
Field Value
Type |
---|
System.Double |
DragTooltipStyleProperty
Declaration
public static readonly DependencyProperty DragTooltipStyleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DragTooltipTemplateProperty
The DependencyProperty for DragTooltipTemplate property. .
Declaration
public static readonly DependencyProperty DragTooltipTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
EnableDragTooltipProperty
The DependencyProperty for EnableDragTooltip property. .
Declaration
public static readonly DependencyProperty EnableDragTooltipProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
EnableSegmentDraggingProperty
The DependencyProperty for EnableSegmentDragging property. .
Declaration
public static readonly DependencyProperty EnableSegmentDraggingProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
RoundToDecimalProperty
The DependencyProperty for RoundToDecimal property. .
Declaration
public static readonly DependencyProperty RoundToDecimalProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SnapToPointProperty
The DependencyProperty for SnapToPoint property. .
Declaration
public static readonly DependencyProperty SnapToPointProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
UpdateSourceProperty
The DependencyProperty for UpdateSource property. .
Declaration
public static readonly DependencyProperty UpdateSourceProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
DragCancelKeyModifiers
Gets or sets a value indicating whether to cancel the dragging.
Declaration
public VirtualKeyModifiers DragCancelKeyModifiers { get; set; }
Property Value
Type |
---|
Windows.System.VirtualKeyModifiers |
DraggedValue
Gets or sets a value for dragged yvalue.
Declaration
protected double DraggedValue { get; set; }
Property Value
Type |
---|
System.Double |
DraggedXValue
Gets or sets a value for dragged xvalue.
Declaration
protected double DraggedXValue { get; set; }
Property Value
Type |
---|
System.Double |
DragInfo
Gets or sets the dragging info.
Declaration
protected ChartDragPointinfo DragInfo { get; set; }
Property Value
Type |
---|
ChartDragPointinfo |
DragSpliter
Gets or sets a value for drag splitter.
Declaration
protected ContentControl DragSpliter { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.ContentControl |
DragTooltipStyle
Gets or sets dragging tooltip style.
Declaration
public ChartDragTooltipStyle DragTooltipStyle { get; set; }
Property Value
Type |
---|
ChartDragTooltipStyle |
DragTooltipTemplate
Gets or sets the custom template for dragging tooltip/>.
Declaration
public DataTemplate DragTooltipTemplate { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.DataTemplate | This accepts a DataTemplate. |
EllipseAnimation
Gets or sets ellipse animation.
Declaration
protected Storyboard EllipseAnimation { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Animation.Storyboard |
EnableDragTooltip
Gets or sets a value indicating whether dragging tooltip is enabled or not.
Declaration
public bool EnableDragTooltip { get; set; }
Property Value
Type |
---|
System.Boolean |
EnableSegmentDragging
Gets or sets a value indicating whether segment dragging is enabled or not.
Declaration
public bool EnableSegmentDragging { get; set; }
Property Value
Type |
---|
System.Boolean |
RoundToDecimal
Gets or sets a property used to round the decimal value.
Declaration
public int RoundToDecimal { get; set; }
Property Value
Type |
---|
System.Int32 |
SegmentIndex
Gets or sets a segment index.
Declaration
protected int SegmentIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
SnapToPoint
Gets or sets snap point.
Declaration
public SnapToPoint SnapToPoint { get; set; }
Property Value
Type |
---|
SnapToPoint |
Tooltip
Gets or sets the dragging tooltip.
Declaration
protected ContentControl Tooltip { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.ContentControl |
UpdateSource
Gets or sets a value indicating whether to update the dragging values in source
Declaration
public bool UpdateSource { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
OnChartDragDelta(Point, Object)
Method implementation for ChartDragDelta.
Declaration
protected virtual void OnChartDragDelta(Point mousePos, object originalSource)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Point | mousePos | point |
System.Object | originalSource | object |
OnChartDragEnd(Point, Object)
Method implementation for ChartDragEnd
Declaration
protected virtual void OnChartDragEnd(Point mousePos, object originalSource)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Point | mousePos | point |
System.Object | originalSource | object |
OnChartDragEntered(Point, Object)
Method implementation for ChartDragEnter.
Declaration
protected virtual void OnChartDragEntered(Point mousePos, object originalSource)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Point | mousePos | point |
System.Object | originalSource | object |
OnChartDragExited(Point, Object)
Method implementation for ChartDragExit.
Declaration
protected virtual void OnChartDragExited(Point mousePos, object originalSource)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Point | mousePos | point |
System.Object | originalSource | object |
OnChartDragStart(Point, Object)
Method implementation for ChartDragStart.
Declaration
protected virtual void OnChartDragStart(Point mousePos, object originalSource)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Point | mousePos | point |
System.Object | originalSource | object |
OnPointerEntered(PointerRoutedEventArgs)
Called when pointer entered.
Declaration
protected override void OnPointerEntered(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | PointerRoutedEventArgs |
OnPointerExited(PointerRoutedEventArgs)
Called when pointer exit.
Declaration
protected override void OnPointerExited(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | PointerRoutedEventArgs |
Overrides
OnPointerMoved(PointerRoutedEventArgs)
Called when pointer moved.
Declaration
protected override void OnPointerMoved(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | PointerRoutedEventArgs |
Overrides
OnPointerPressed(PointerRoutedEventArgs)
Called when pointer pressed.
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | PointerRoutedEventArgs |
Overrides
OnPointerReleased(PointerRoutedEventArgs)
Called when pointer released.
Declaration
protected override void OnPointerReleased(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | PointerRoutedEventArgs |
Overrides
RaiseDragDelta(DragDelta)
Raises the drag delta.
Declaration
protected void RaiseDragDelta(DragDelta args)
Parameters
Type | Name | Description |
---|---|---|
DragDelta | args | The arguments. |
RaiseDragEnd(ChartDragEndEventArgs)
Raises the drag end.
Declaration
protected void RaiseDragEnd(ChartDragEndEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
ChartDragEndEventArgs | args | The ChartDragEndEventArgs instance containing the event data. |
RaiseDragEnter(XySegmentEnterEventArgs)
Raises the drag enter.
Declaration
protected void RaiseDragEnter(XySegmentEnterEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
XySegmentEnterEventArgs | args | The XySegmentEnterEventArgs instance containing the event data. |
RaiseDragStart(ChartDragStartEventArgs)
Raises the drag start.
Declaration
protected void RaiseDragStart(ChartDragStartEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
ChartDragStartEventArgs | args | The ChartDragStartEventArgs instance containing the event data. |
RaisePreviewEnd(XyPreviewEndEventArgs)
Raises the preview end.
Declaration
protected void RaisePreviewEnd(XyPreviewEndEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
XyPreviewEndEventArgs | args | The XyPreviewEndEventArgs instance containing the event data. |
ResetDraggingElements(String, Boolean)
Resets the dragging elements.
Declaration
protected virtual void ResetDraggingElements(string reason, bool dragEndEvent)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | The reason. |
System.Boolean | dragEndEvent | if set to |
ResetDragSpliter()
Resets the drag spliter.
Declaration
protected virtual void ResetDragSpliter()
UpdateUnderLayingModel(String, Int32, Object)
Updates the under laying model.
Declaration
protected void UpdateUnderLayingModel(string path, int index, object updatedData)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path. |
System.Int32 | index | The index. |
System.Object | updatedData | The updated data. |
Events
DragDelta
Occurs when [drag delta].
Declaration
public event EventHandler<DragDelta> DragDelta
Event Type
Type |
---|
System.EventHandler<DragDelta> |
DragEnd
Occurs when [drag end].
Declaration
public event EventHandler<ChartDragEndEventArgs> DragEnd
Event Type
Type |
---|
System.EventHandler<ChartDragEndEventArgs> |
DragStart
Occurs when [drag start].
Declaration
public event EventHandler<ChartDragStartEventArgs> DragStart
Event Type
Type |
---|
System.EventHandler<ChartDragStartEventArgs> |
PreviewDragEnd
Occurs when [preview drag end].
Declaration
public event EventHandler<XyPreviewEndEventArgs> PreviewDragEnd
Event Type
Type |
---|
System.EventHandler<XyPreviewEndEventArgs> |
SegmentEnter
Occurs when [segment enter].
Declaration
public event EventHandler<XySegmentEnterEventArgs> SegmentEnter
Event Type
Type |
---|
System.EventHandler<XySegmentEnterEventArgs> |