Class RangeSegmentDraggingBase
Serves as base class for range series segment dragging.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.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 |
---|
System.Windows.DependencyProperty |
DragTooltipTemplateProperty
The DependencyProperty for DragTooltipTemplate property.
Declaration
public static readonly DependencyProperty DragTooltipTemplateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
EnableDragTooltipProperty
The DependencyProperty for EnableDragTooltip property.
Declaration
public static readonly DependencyProperty EnableDragTooltipProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
EnableSegmentDraggingProperty
The DependencyProperty for EnableSegmentDragging property.
Declaration
public static readonly DependencyProperty EnableSegmentDraggingProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
RoundToDecimalProperty
The DependencyProperty for RoundToDecimal property.
Declaration
public static readonly DependencyProperty RoundToDecimalProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SnapToPointProperty
The DependencyProperty for SnapToPoint property.
Declaration
public static readonly DependencyProperty SnapToPointProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
UpdateSourceProperty
The DependencyProperty for UpdateSource property.
Declaration
public static readonly DependencyProperty UpdateSourceProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
DragCancelKeyModifiers
Gets or sets the key modifier to cancel the dragging.
Declaration
public ModifierKeys DragCancelKeyModifiers { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ModifierKeys | System.Windows.Input.ModifierKeys |
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 |
---|
System.Windows.Controls.ContentControl |
DragSpliterLow
Gets or sets a value for drag spliter low value.
Declaration
protected ContentControl DragSpliterLow { get; set; }
Property Value
Type |
---|
System.Windows.Controls.ContentControl |
DragTooltipTemplate
Gets or sets the custom template for the dragging tooltip.
Declaration
public DataTemplate DragTooltipTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.DataTemplate | System.Windows.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 |
---|---|---|
System.Windows.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 |
---|---|---|
System.Windows.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 |
---|---|---|
System.Windows.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 |
---|---|---|
System.Windows.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 |
---|---|---|
System.Windows.Point | mousePos | point |
System.Object | originalSource | object |
OnMouseEnter(MouseEventArgs)
Called when mouse entered.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | Event args |
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 moved.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | 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 |
---|---|---|
System.Windows.Shapes.Rectangle | rect | The rect. |
UpdateDragSpliterLow(Rectangle)
Updates the drag spliter low.
Declaration
protected virtual void UpdateDragSpliterLow(Rectangle rect)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.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> |