menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class XySegmentDraggingBase - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class XySegmentDraggingBase

    XySegmentDraggingBase is abstract class which is used to allow, drag a segment in a chart series.

    Inheritance
    System.Object
    ChartSeriesBase
    ChartSeries
    AdornmentSeries
    CartesianSeries
    XyDataSeries
    XySegmentDraggingBase
    BarSeries
    ColumnSeries
    ScatterSeries
    XySeriesDraggingBase
    Implements
    ICloneable
    ISupportAxes2D
    ISupportAxes
    Inherited Members
    AdornmentSeries.AddAdornmentAtXY(Double, Double, Int32)
    AdornmentSeries.AddAreaAdornments(IList<Double>[])
    AdornmentSeries.AddColumnAdornments(Double[])
    AdornmentSeries.AdornmentLabelCreated
    AdornmentSeries.AdornmentsInfo
    AdornmentSeries.AdornmentsInfoProperty
    AdornmentSeries.ClearUnUsedAdornments(Int32)
    AdornmentSeries.CreateAdornment(AdornmentSeries, Double, Double, Double, Double)
    AdornmentSeries.CreateSegments()
    CartesianSeries.GetDataPoints(Double, Double, Double, Double)
    CartesianSeries.GetDataPoints(Rect)
    CartesianSeries.IsTransposed
    CartesianSeries.IsTransposedProperty
    CartesianSeries.ISupportAxes.ActualXAxis
    CartesianSeries.ISupportAxes.ActualYAxis
    CartesianSeries.OnApplyTemplate()
    CartesianSeries.OnVisibleRangeChanged(VisibleRangeChangedEventArgs)
    CartesianSeries.OnXAxisChanged(ChartAxis, ChartAxis)
    CartesianSeries.OnYAxisChanged(ChartAxis, ChartAxis)
    CartesianSeries.ShowTrackballInfo
    CartesianSeries.ShowTrackballInfoProperty
    CartesianSeries.Trendlines
    CartesianSeries.TrendlinesProperty
    CartesianSeries.XAxis
    CartesianSeries.XAxisProperty
    CartesianSeries.XRange
    CartesianSeries.YAxis
    CartesianSeries.YAxisProperty
    CartesianSeries.YRange
    ChartSeries.Area
    ChartSeries.CreateSegment()
    ChartSeries.GetDataPointIndex(Double, Double)
    ChartSeries.OnCreateAutomationPeer()
    ChartSeries.Stroke
    ChartSeries.StrokeProperty
    ChartSeries.StrokeThickness
    ChartSeries.StrokeThicknessProperty
    ChartSeriesBase.ActualXAxis
    ChartSeriesBase.ActualXValues
    ChartSeriesBase.ActualYAxis
    ChartSeriesBase.Adornments
    ChartSeriesBase.AnimationDuration
    ChartSeriesBase.AnimationDurationProperty
    ChartSeriesBase.ChartTransformer
    ChartSeriesBase.ClearUnUsedSegments(Int32)
    ChartSeriesBase.Clone()
    ChartSeriesBase.ColorModel
    ChartSeriesBase.ColorModelProperty
    ChartSeriesBase.ColorValues
    ChartSeriesBase.CreateEmptyPointSegments(IList<Double>, List<List<Double>>, List<List<Double>>)
    ChartSeriesBase.CreateTransformer(Size, Boolean)
    ChartSeriesBase.DataCount
    ChartSeriesBase.EmptyPointInterior
    ChartSeriesBase.EmptyPointInteriorProperty
    ChartSeriesBase.EmptyPointStyle
    ChartSeriesBase.EmptyPointStyleProperty
    ChartSeriesBase.EmptyPointSymbolTemplate
    ChartSeriesBase.EmptyPointSymbolTemplateProperty
    ChartSeriesBase.EmptyPointValue
    ChartSeriesBase.EmptyPointValueProperty
    ChartSeriesBase.EnableAnimation
    ChartSeriesBase.EnableAnimationProperty
    ChartSeriesBase.FindNearestChartPoint(Point, Double, Double, Double)
    ChartSeriesBase.GeneratePoints(String[], IList<Double>[])
    ChartSeriesBase.GetAvailableSize()
    ChartSeriesBase.GetPreviousSeries(ChartSeriesBase)
    ChartSeriesBase.GetSideBySideInfo(ChartSeriesBase)
    ChartSeriesBase.GetSpacing(DependencyObject)
    ChartSeriesBase.GetXValues()
    ChartSeriesBase.InitialDelayTimer
    ChartSeriesBase.Interior
    ChartSeriesBase.InteriorProperty
    ChartSeriesBase.Invalidate()
    ChartSeriesBase.IsAreaTypeSeries
    ChartSeriesBase.IsBitmapSeries
    ChartSeriesBase.IsColorPathSeries
    ChartSeriesBase.IsIndexed
    ChartSeriesBase.IsLinear
    ChartSeriesBase.IsSeriesVisible
    ChartSeriesBase.IsSeriesVisibleProperty
    ChartSeriesBase.IsSideBySide
    ChartSeriesBase.IsSortData
    ChartSeriesBase.IsSortDataProperty
    ChartSeriesBase.IsStacked
    ChartSeriesBase.IsTooltipAvailable(Canvas)
    ChartSeriesBase.ItemsSource
    ChartSeriesBase.ItemsSourceProperty
    ChartSeriesBase.Label
    ChartSeriesBase.LabelProperty
    ChartSeriesBase.LegendIcon
    ChartSeriesBase.LegendIconProperty
    ChartSeriesBase.LegendIconTemplate
    ChartSeriesBase.LegendIconTemplateProperty
    ChartSeriesBase.ListenPropertyChange
    ChartSeriesBase.ListenPropertyChangeProperty
    ChartSeriesBase.OnDataSourceChanged(DependencyPropertyChangedEventArgs)
    ChartSeriesBase.OnSeriesMouseDown(Object, Point)
    ChartSeriesBase.OnSeriesMouseUp(Object, Point)
    ChartSeriesBase.Palette
    ChartSeriesBase.PaletteProperty
    ChartSeriesBase.Position(Point, ChartTooltip)
    ChartSeriesBase.PropertyChanged
    ChartSeriesBase.ResumeNotification()
    ChartSeriesBase.SegmentColorPath
    ChartSeriesBase.SegmentColorPathProperty
    ChartSeriesBase.Segments
    ChartSeriesBase.SelectedIndexChanged(Int32, Int32)
    ChartSeriesBase.SelectedSegment
    ChartSeriesBase.SelectedSegments
    ChartSeriesBase.SelectedSegmentsIndexes
    ChartSeriesBase.SeriesSelectionBrush
    ChartSeriesBase.SeriesSelectionBrushProperty
    ChartSeriesBase.SetDoubleAnimation(ChartTooltip)
    ChartSeriesBase.SetIndividualDataTablePoint(Int32, Object, Boolean)
    ChartSeriesBase.SetIndividualPoint(Int32, Object, Boolean)
    ChartSeriesBase.SetSpacing(DependencyObject, Double)
    ChartSeriesBase.SetTooltipDuration()
    ChartSeriesBase.ShowEmptyPoints
    ChartSeriesBase.ShowEmptyPointsProperty
    ChartSeriesBase.ShowTooltip
    ChartSeriesBase.ShowTooltipProperty
    ChartSeriesBase.SortBy
    ChartSeriesBase.SortByProperty
    ChartSeriesBase.SortDirection
    ChartSeriesBase.SortDirectionProperty
    ChartSeriesBase.SpacingProperty
    ChartSeriesBase.SuspendNotification()
    ChartSeriesBase.Timer
    ChartSeriesBase.TooltipTemplate
    ChartSeriesBase.TooltipTemplateProperty
    ChartSeriesBase.TrackBallLabelTemplate
    ChartSeriesBase.TrackBallLabelTemplateProperty
    ChartSeriesBase.UpdateArea()
    ChartSeriesBase.UpdateSegments(Int32, NotifyCollectionChangedAction)
    ChartSeriesBase.VisibilityOnLegend
    ChartSeriesBase.VisibilityOnLegendProperty
    ChartSeriesBase.XBindingPath
    ChartSeriesBase.XBindingPathProperty
    ChartSeriesBase.YPaths
    XyDataSeries.CloneSeries(DependencyObject)
    XyDataSeries.GeneratePoints()
    XyDataSeries.OnBindingPathChanged(DependencyPropertyChangedEventArgs)
    XyDataSeries.OnDataSourceChanged(IEnumerable, IEnumerable)
    XyDataSeries.YBindingPath
    XyDataSeries.YBindingPathProperty
    XyDataSeries.YValues
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.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
    System.Windows.DependencyProperty

    draggedValue

    Declaration
    protected double draggedValue
    Field Value
    Type
    System.Double

    DragTooltipStyleProperty

    Declaration
    public static readonly DependencyProperty DragTooltipStyleProperty
    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 a value indicating whether to cancel the dragging

    Declaration
    public ModifierKeys DragCancelKeyModifiers { get; set; }
    Property Value
    Type
    System.Windows.Input.ModifierKeys

    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
    System.Windows.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
    System.Windows.DataTemplate

    This accepts a DataTemplate.

    EllipseAnimation

    Gets or sets ellipse animation.

    Declaration
    protected Storyboard EllipseAnimation { get; set; }
    Property Value
    Type
    System.Windows.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
    System.Windows.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
    System.Windows.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
    System.Windows.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
    System.Windows.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
    System.Windows.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
    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
    ChartSeriesBase.OnMouseLeave(MouseEventArgs)

    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
    ChartSeriesBase.OnMouseLeftButtonDown(MouseButtonEventArgs)

    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
    ChartSeriesBase.OnMouseLeftButtonUp(MouseButtonEventArgs)

    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
    ChartSeriesBase.OnMouseMove(MouseEventArgs)

    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 true [drag end event].

    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>

    Implements

    ICloneable
    ISupportAxes2D
    ISupportAxes

    See Also

    EnableSegmentDragging
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved