Class RangeSegmentDraggingBase
Serves as base class for range series segment dragging.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public abstract class RangeSegmentDraggingBase : RangeSeriesBase, ICloneable, ISupportAxes2D, ISupportAxes
Constructors
RangeSegmentDraggingBase()
Declaration
protected RangeSegmentDraggingBase()
Fields
DragCancelKeyModifiersProperty
The DependencyProperty for DragCancelKeyModifiers property.
Declaration
public static readonly DependencyProperty DragCancelKeyModifiersProperty
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 the key modifier to cancel the dragging.
Declaration
public VirtualKeyModifiers DragCancelKeyModifiers { get; set; }
Property Value
Type | Description |
---|---|
Windows.System.VirtualKeyModifiers | The |
DraggedValue
Gets or sets a dragged value.
Declaration
protected double DraggedValue { get; set; }
Property Value
Type |
---|
System.Double |
DragSpliterHigh
Gets or sets a value for drag spliter high value.
Declaration
protected ContentControl DragSpliterHigh { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.ContentControl |
DragSpliterLow
Gets or sets a value for drag spliter low value.
Declaration
protected ContentControl DragSpliterLow { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.ContentControl |
DragTooltipTemplate
Gets or sets the custom template for the dragging tooltip.
Declaration
public DataTemplate DragTooltipTemplate { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.DataTemplate | Windows.UI.Xaml.DataTemplate |
EnableDragTooltip
Gets or sets a value indicating whether to enable the ToolTip while dragging segment.
Declaration
public bool EnableDragTooltip { get; set; }
Property Value
Type |
---|
System.Boolean |
EnableSegmentDragging
Gets or sets a value indicating whether to enable the segment dragging for this series.
Declaration
public bool EnableSegmentDragging { get; set; }
Property Value
Type |
---|
System.Boolean |
RoundToDecimal
Gets or sets the round off decimal places for the ToolTip value.
Declaration
public int RoundToDecimal { get; set; }
Property Value
Type |
---|
System.Int32 |
SegmentIndex
Gets or sets the segment index.
Declaration
protected int SegmentIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
SnapToPoint
Gets or sets the segment dropping mechanism as per requirement.
Declaration
public SnapToPoint SnapToPoint { get; set; }
Property Value
Type | Description |
---|---|
SnapToPoint |
UpdateSource
Gets or sets a value indicating whether to update the underlying source value while dragging.
Declaration
public bool UpdateSource { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
OnChartDragDelta(Point, Object)
Method implementation for DragDelta.
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 DragEnd.
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 DragEnter.
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 DragExit.
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 DragStart.
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 | Event args |
OnPointerExited(PointerRoutedEventArgs)
Called when pointer exited.
Declaration
protected override void OnPointerExited(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Event args |
Overrides
OnPointerMoved(PointerRoutedEventArgs)
Called when pointer moved.
Declaration
protected override void OnPointerMoved(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Event args |
Overrides
OnPointerPressed(PointerRoutedEventArgs)
Called when pointer pressed.
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Event args |
Overrides
OnPointerReleased(PointerRoutedEventArgs)
Called when pointer released.
Declaration
protected override void OnPointerReleased(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Event args |
Overrides
RaiseDragDelta(RangeDragEventArgs)
Method used to raise DragDelta event.
Declaration
protected void RaiseDragDelta(RangeDragEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
RangeDragEventArgs | args | Event args |
RaiseDragEnd(RangeDragEndEventArgs)
Method used to raise DragEnd event.
Declaration
protected void RaiseDragEnd(RangeDragEndEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
RangeDragEndEventArgs | args | Event args |
RaiseDragEnter(RangeSegmentEnterEventArgs)
Method used to raise SegmentEnter event.
Declaration
protected void RaiseDragEnter(RangeSegmentEnterEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
RangeSegmentEnterEventArgs | args | Event args |
RaiseDragStart(ChartDragStartEventArgs)
Method used to raise DragStart event.
Declaration
protected void RaiseDragStart(ChartDragStartEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
ChartDragStartEventArgs | args | Event args |
RaisePreviewEnd(RangeDragEventArgs)
Method used to raise PreviewDragEnd event.
Declaration
protected void RaisePreviewEnd(RangeDragEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
RangeDragEventArgs | args | Event args |
UpdateDragSpliterHigh(Rectangle)
Updates the drag spliter high.
Declaration
protected virtual void UpdateDragSpliterHigh(Rectangle rect)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Shapes.Rectangle | rect | The rect. |
UpdateDragSpliterLow(Rectangle)
Updates the drag spliter low.
Declaration
protected virtual void UpdateDragSpliterLow(Rectangle rect)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Shapes.Rectangle | rect | The rect. |
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<RangeDragEventArgs> DragDelta
Event Type
Type |
---|
System.EventHandler<RangeDragEventArgs> |
DragEnd
Occurs when [drag end].
Declaration
public event EventHandler<RangeDragEndEventArgs> DragEnd
Event Type
Type |
---|
System.EventHandler<RangeDragEndEventArgs> |
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<RangeDragEventArgs> PreviewDragEnd
Event Type
Type |
---|
System.EventHandler<RangeDragEventArgs> |
SegmentEnter
Occurs when [segment enter].
Declaration
public event EventHandler<RangeSegmentEnterEventArgs> SegmentEnter
Event Type
Type |
---|
System.EventHandler<RangeSegmentEnterEventArgs> |