Class ChartSeries

    Show / Hide Table of Contents

    Class ChartSeries

    Inheritance
    System.Object
    ChartSeries
    DataMarkerSeries
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.Chart.WinUI.dll
    Syntax
    public abstract class ChartSeries : Control

    Constructors

    ChartSeries()

    Initializes a new instance of the ChartSeries.

    Declaration
    public ChartSeries()

    Fields

    AnimationDurationProperty

    Identifies the AnimationDuration dependency property.

    Declaration
    public static readonly DependencyProperty AnimationDurationProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for AnimationDuration dependency property.

    EnableAnimationProperty

    Identifies the EnableAnimation dependency property.

    Declaration
    public static readonly DependencyProperty EnableAnimationProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for EnableAnimation dependency property.

    EnableTooltipProperty

    Identifies the EnableTooltip dependency property.

    Declaration
    public static readonly DependencyProperty EnableTooltipProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for EnableTooltip dependency property.

    FillProperty

    Identifies the Fill dependency property.

    Declaration
    public static readonly DependencyProperty FillProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for Interior dependency property.

    IsSeriesVisibleProperty

    Identifies the IsSeriesVisible dependency property.

    Declaration
    public static readonly DependencyProperty IsSeriesVisibleProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for IsSeriesVisible dependency property.

    IsVisibleOnLegendProperty

    Identifies the IsVisibleOnLegend dependency property.

    Declaration
    public static readonly DependencyProperty IsVisibleOnLegendProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for IsVisibleOnLegend dependency property.

    ItemsSourceProperty

    Identifies the ItemsSource dependency property.

    Declaration
    public static readonly DependencyProperty ItemsSourceProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for ItemsSource dependency property.

    LabelProperty

    Identifies the Label dependency property.

    Declaration
    public static readonly DependencyProperty LabelProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for Label dependency property.

    LegendIconProperty

    Identifies the LegendIcon dependency property.

    Declaration
    public static readonly DependencyProperty LegendIconProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for LegendIcon dependency property.

    LegendIconTemplateProperty

    Identifies the LegendIconTemplate dependency property.

    Declaration
    public static readonly DependencyProperty LegendIconTemplateProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for LegendIconTemplate dependency property.

    ListenPropertyChangeProperty

    Identifies the ListenPropertyChange dependency property.

    Declaration
    public static readonly DependencyProperty ListenPropertyChangeProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for ListenPropertyChange dependency property.

    PaletteBrushesProperty

    Identifies the PaletteBrushes dependency property.

    Declaration
    public static readonly DependencyProperty PaletteBrushesProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for PaletteBrushes dependency property.

    SpacingProperty

    Identifies the Spacing dependency property. This is attached property.

    Declaration
    public static readonly DependencyProperty SpacingProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for Spacing dependency property.

    StrokeProperty

    The DependencyProperty for Stroke property.

    Declaration
    public static readonly DependencyProperty StrokeProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    StrokeThicknessProperty

    The DependencyProperty for StrokeThickness property.

    Declaration
    public static readonly DependencyProperty StrokeThicknessProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    TooltipTemplateProperty

    Identifies the TooltipTemplate dependency property.

    Declaration
    public static readonly DependencyProperty TooltipTemplateProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for TooltipTemplate dependency property.

    TrackballLabelTemplateProperty

    Identifies the TrackballLabelTemplate dependency property.

    Declaration
    public static readonly DependencyProperty TrackballLabelTemplateProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for TrackballLabelTemplate dependency property.

    XBindingPathProperty

    Identifies the XBindingPath dependency property.

    Declaration
    public static readonly DependencyProperty XBindingPathProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for XBindingPath dependency property.

    Properties

    AnimationDuration

    Gets or sets a value to indicate the timeline for the animation.

    Declaration
    public TimeSpan AnimationDuration { get; set; }
    Property Value
    Type Description
    System.TimeSpan

    It accepts System.TimeSpan value and its default value is TimeSpan.FromSeconds(0.8).

    Examples
    • Xaml
    • C#
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
             <chart:ColumnSeries ItemsSource="{Binding Data}"
                               XBindingPath="XValue"
                               YBindingPath="YValue"
                               EnableAnimation = "True"
                               AnimationDuration="00:00:02"/>
    
        </chart:SfCartesianChart>
        SfCartesianChart chart = new SfCartesianChart();
        ViewModel viewModel = new ViewModel();
    
        // Eliminated for simplicity
    
        ColumnSeries columnSeries = new ColumnSeries()
        {
              ItemsSource = viewModel.Data,
              XBindingPath = "XValue",
              YBindingPath = "YValue",
              EnableAnimation = true,
              AnimationDuration= TimeSpan.FromSeconds(2)
        };
    
        chart.Series.Add(columnSeries);

    Chart

    Gets the ChartBase instance.

    Declaration
    public ChartBase Chart { get; }
    Property Value
    Type Description
    ChartBase

    EnableAnimation

    Gets or sets a boolean value indicating whether to animate the chart series on loading.

    Declaration
    public bool EnableAnimation { get; set; }
    Property Value
    Type Description
    System.Boolean

    It accepts bool values and its default value is False.

    Examples
    • Xaml
    • C#
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
             <chart:ColumnSeries ItemsSource="{Binding Data}"
                               XBindingPath="XValue"
                               YBindingPath="YValue"
                               EnableAnimation = "True"/>
    
        </chart:SfCartesianChart>
        SfCartesianChart chart = new SfCartesianChart();
        ViewModel viewModel = new ViewModel();
    
        // Eliminated for simplicity
    
        ColumnSeries columnSeries = new ColumnSeries()
        {
              ItemsSource = viewModel.Data,
              XBindingPath = "XValue",
              YBindingPath = "YValue",
              EnableAnimation = true,
        };
    
        chart.Series.Add(columnSeries);

    EnableTooltip

    Gets or sets a boolean value indicating whether the tooltip for series should be shown or hidden.

    Declaration
    public bool EnableTooltip { get; set; }
    Property Value
    Type Description
    System.Boolean

    It accepts bool values and its default value is False.

    Remarks

    The series tooltip will appear when you click or tap the series area.

    Examples
    • Xaml
    • C#
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
             <chart:ColumnSeries ItemsSource="{Binding Data}"
                               XBindingPath="XValue"
                               YBindingPath="YValue"
                               EnableTooltip="True"/>
    
        </chart:SfCartesianChart>
        SfCartesianChart chart = new SfCartesianChart();
        ViewModel viewModel = new ViewModel();
    
        // Eliminated for simplicity
    
        ColumnSeries columnSeries = new ColumnSeries()
        {
              ItemsSource = viewModel.Data,
              XBindingPath = "XValue",
              YBindingPath = "YValue",
              EnableTooltip = true,
        };
    
        chart.Series.Add(columnSeries);

    Fill

    Gets or sets a brush value to customize the series appearance.

    Declaration
    public Brush Fill { get; set; }
    Property Value
    Type Description
    Microsoft.UI.Xaml.Media.Brush

    It accepts a Microsoft.UI.Xaml.Media.Brush value and its default value is null.

    Examples
    • Xaml
    • C#
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
             <chart:ColumnSeries ItemsSource="{Binding Data}"
                               XBindingPath="XValue"
                               YBindingPath="YValue"
                               Fill = "Red"/>
    
        </chart:SfCartesianChart>
        SfCartesianChart chart = new SfCartesianChart();
        ViewModel viewModel = new ViewModel();
    
        // Eliminated for simplicity
    
        ColumnSeries columnSeries = new ColumnSeries()
        {
              ItemsSource = viewModel.Data,
              XBindingPath = "XValue",
              YBindingPath = "YValue",
              Fill = new SolidColorBrush(Colors.Red),
        };
    
        chart.Series.Add(columnSeries);

    IsSeriesVisible

    Gets or sets a value that indicates whether the series is visible or not.

    Declaration
    public bool IsSeriesVisible { get; set; }
    Property Value
    Type Description
    System.Boolean

    It accepts bool values and its default value is True.

    Examples
    • Xaml
    • C#
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
             <chart:ColumnSeries ItemsSource="{Binding Data}"
                               XBindingPath="XValue"
                               YBindingPath="YValue"
                               IsSeriesVisible="False"/>
    
        </chart:SfCartesianChart>
        SfCartesianChart chart = new SfCartesianChart();
        ViewModel viewModel = new ViewModel();
    
        // Eliminated for simplicity
    
        ColumnSeries columnSeries = new ColumnSeries()
        {
              ItemsSource = viewModel.Data,
              XBindingPath = "XValue",
              YBindingPath = "YValue",
              IsSeriesVisible = false,
        };
    
        chart.Series.Add(columnSeries);

    IsVisibleOnLegend

    Gets or sets a value that indicates whether to show a legend item for this series.

    Declaration
    public bool IsVisibleOnLegend { get; set; }
    Property Value
    Type Description
    System.Boolean

    It accepts bool values and its default value is True.

    Examples
    • Xaml
    • C#
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
            <chart:SfCartesianChart.Legend>
               <chart:ChartLegend />
            </chart:SfCartesianChart.Legend>
    
             <chart:ColumnSeries ItemsSource="{Binding Data}"
                               XBindingPath="XValue"
                               YBindingPath="YValue"
                               IsVisibleOnLegend = "False"/>
    
        </chart:SfCartesianChart>
        SfCartesianChart chart = new SfCartesianChart();
        chart.Legend = new ChartLegend();
        ViewModel viewModel = new ViewModel();
    
        // Eliminated for simplicity
    
        ColumnSeries columnSeries = new ColumnSeries()
        {
              ItemsSource = viewModel.Data,
              XBindingPath = "XValue",
              YBindingPath = "YValue",
              IsVisibleOnLegend = false,
        };
    
        chart.Series.Add(columnSeries);

    ItemsSource

    Gets or sets a data points collection that will be used to plot a chart.

    Declaration
    public object ItemsSource { get; set; }
    Property Value
    Type Description
    System.Object
    Examples
    • Xaml
    • C#
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
             <chart:ColumnSeries ItemsSource="{Binding Data}"
                               XBindingPath="XValue"
                               YBindingPath="YValue" />
    
        </chart:SfCartesianChart>
        SfCartesianChart chart = new SfCartesianChart();
        ViewModel viewModel = new ViewModel();
    
        // Eliminated for simplicity
    
        ColumnSeries columnSeries = new ColumnSeries()
        {
              ItemsSource = viewModel.Data,
              XBindingPath = "XValue",
              YBindingPath = "YValue",
        };
    
        chart.Series.Add(columnSeries);

    Label

    Gets or sets a value that will be displayed in the associated legend item.

    Declaration
    public string Label { get; set; }
    Property Value
    Type Description
    System.String

    It accepts a string value and its default value is string.Empty.

    Examples
    • Xaml
    • C#
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
             <chart:ColumnSeries ItemsSource="{Binding Data}"
                               XBindingPath="XValue"
                               YBindingPath="YValue"
                               Label = "ColumnSeries"/>
    
        </chart:SfCartesianChart>
        SfCartesianChart chart = new SfCartesianChart();
        ViewModel viewModel = new ViewModel();
    
        // Eliminated for simplicity
    
        ColumnSeries columnSeries = new ColumnSeries()
        {
              ItemsSource = viewModel.Data,
              XBindingPath = "XValue",
              YBindingPath = "YValue",
              Label = "ColumnSeries",
        };
    
        chart.Series.Add(columnSeries);

    LegendIcon

    Gets or sets a legend icon that will be displayed in the associated legend item.

    Declaration
    public ChartLegendIcon LegendIcon { get; set; }
    Property Value
    Type Description
    ChartLegendIcon

    It accepts ChartLegendIcon values and its default value is SeriesType.

    Examples
    • Xaml
    • C#
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
            <chart:SfCartesianChart.Legend>
               <chart:ChartLegend />
            </chart:SfCartesianChart.Legend>
    
             <chart:ColumnSeries ItemsSource="{Binding Data}"
                               XBindingPath="XValue"
                               YBindingPath="YValue"
                               LegendIcon = "Diamond"/>
    
        </chart:SfCartesianChart>
        SfCartesianChart chart = new SfCartesianChart();
        chart.Legend = new ChartLegend();
        ViewModel viewModel = new ViewModel();
    
        // Eliminated for simplicity
    
        ColumnSeries columnSeries = new ColumnSeries()
        {
              ItemsSource = viewModel.Data,
              XBindingPath = "XValue",
              YBindingPath = "YValue",
              LegendIcon = ChartLegendIcon.Diamond,
        };
    
        chart.Series.Add(columnSeries);

    LegendIconTemplate

    Gets or sets a template to customize the legend icon that appears in the associated legend item.

    Declaration
    public DataTemplate LegendIconTemplate { get; set; }
    Property Value
    Type Description
    Microsoft.UI.Xaml.DataTemplate

    It accepts Microsoft.UI.Xaml.DataTemplate value and its default value is null.

    Examples
    • Xaml
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
            <chart:SfCartesianChart.Legend>
               <chart:ChartLegend />
            </chart:SfCartesianChart.Legend>
    
             <chart:ColumnSeries ItemsSource="{Binding Data}"
                               XBindingPath="XValue"
                               YBindingPath="YValue">
                    <chart:ColumnSeries.LegendIconTemplate>
                      <DataTemplate x:Key="iconTemplate">
                          <Ellipse Height = "10" Width="10" 
                                   Fill="White" Stroke="#4a4a4a"
                                   StrokeThickness="2"/>
                       </DataTemplate>
                    </chart:ColumnSeries.LegendIconTemplate>
             </chart:ColumnSeries>
    
        </chart:SfCartesianChart>

    ListenPropertyChange

    Gets or sets a value that indicates whether to listen property change or not.

    Declaration
    public bool ListenPropertyChange { get; set; }
    Property Value
    Type Description
    System.Boolean

    It accepts bool values and its default value is False.

    PaletteBrushes

    Gets or sets the list of brushes that can be used to customize the appearance of the series.

    Declaration
    public IList<Brush> PaletteBrushes { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IList<Microsoft.UI.Xaml.Media.Brush>

    This property accepts a list of brushes as input and comes with a set of predefined brushes by default.

    Remarks

    It allows custom brushes, and gradient brushes to customize the appearance.

    Examples
    • MainPage.xaml
    • MainPage.xaml.cs
    <Grid>
    <Grid.Resources>
    <BrushCollection x:Key="customBrushes">
          <SolidColorBrush Color="#4dd0e1"/>
          <SolidColorBrush Color="#26c6da"/>
          <SolidColorBrush Color="#00bcd4"/>
          <SolidColorBrush Color="#00acc1"/>
          <SolidColorBrush Color="#0097a7"/>
          <SolidColorBrush Color="#00838f"/>
       </BrushCollection>
    </Grid.Resources>
    
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
           <chart:ColumnSeries ItemsSource = "{Binding Data}"
                               XBindingPath="XValue"
                               YBindingPath="YValue"
                               PaletteBrushes="{StaticResource customBrushes}" />
    
        </chart:SfCartesianChart>
    </Grid>
    List<Brush> CustomBrushes = new List<Brush>();
    CustomBrushes.Add(new SolidColorBrush(Color.FromArgb(255, 77, 208, 225)));
    CustomBrushes.Add(new SolidColorBrush(Color.FromArgb(255, 38, 198, 218)));
    CustomBrushes.Add(new SolidColorBrush(Color.FromArgb(255, 0, 188, 212)));
    CustomBrushes.Add(new SolidColorBrush(Color.FromArgb(255, 0, 172, 193)));
    CustomBrushes.Add(new SolidColorBrush(Color.FromArgb(255, 0, 151, 167)));
    CustomBrushes.Add(new SolidColorBrush(Color.FromArgb(255, 0, 131, 143)));
    
    SfCartesianChart chart = new SfCartesianChart();
    ViewModel viewModel = new ViewModel();
    
    // Eliminated for simplicity
    
     ColumnSeries columnSeries = new ColumnSeries()
    {
         ItemsSource = viewModel.Data,
         XBindingPath = "XValue",
         YBindingPath = "YValue",
         PaletteBrushes = CustomBrushes,
    };
    
        chart.Series.Add(columnSeries);

    Stroke

    Gets or sets a value to customize the stroke appearance of a chart series.

    Declaration
    public Brush Stroke { get; set; }
    Property Value
    Type Description
    Microsoft.UI.Xaml.Media.Brush

    It accepts Microsoft.UI.Xaml.Media.Brush values and its default value is null.

    Examples
    • Xaml
    • C#
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
             <chart:ColumnSeries ItemsSource="{Binding Data}"
                               XBindingPath="XValue"
                               YBindingPath="YValue"
                               Stroke = "Red"
                               StrokeThickness = "3"/>
    
        </chart:SfCartesianChart>
        SfCartesianChart chart = new SfCartesianChart();
        ViewModel viewModel = new ViewModel();
    
        // Eliminated for simplicity
    
        ColumnSeries columnSeries = new ColumnSeries()
        {
              ItemsSource = viewModel.Data,
              XBindingPath = "XValue",
              YBindingPath = "YValue",
              Stroke = new SolidColorBrush(Colors.Red),
              StrokeThickness= 3,
        };
    
        chart.Series.Add(columnSeries);

    StrokeThickness

    Gets or sets a value to specify the stroke thickness of a chart series.

    Declaration
    public double StrokeThickness { get; set; }
    Property Value
    Type Description
    System.Double

    It accepts double values and its default value is 2.

    Examples
    • Xaml
    • C#
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
             <chart:ColumnSeries ItemsSource="{Binding Data}"
                               XBindingPath="XValue"
                               YBindingPath="YValue"
                               Stroke = "Red"
                               StrokeThickness = "3"/>
    
        </chart:SfCartesianChart>
        SfCartesianChart chart = new SfCartesianChart();
        ViewModel viewModel = new ViewModel();
    
        // Eliminated for simplicity
    
        ColumnSeries columnSeries = new ColumnSeries()
        {
              ItemsSource = viewModel.Data,
              XBindingPath = "XValue",
              YBindingPath = "YValue",
              Stroke = new SolidColorBrush(Colors.Red),
              StrokeThickness= 3,
        };
    
        chart.Series.Add(columnSeries);

    TooltipTemplate

    Gets or sets the DataTemplate that can be used to customize the appearance of the tooltip.

    Declaration
    public DataTemplate TooltipTemplate { get; set; }
    Property Value
    Type Description
    Microsoft.UI.Xaml.DataTemplate

    It accepts a Microsoft.UI.Xaml.DataTemplate value.

    Examples
    • Xaml
    <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
        <chart:ColumnSeries  ItemsSource="{Binding Data}"
                             XBindingPath="XValue"
                             YBindingPath="YValue"
                             EnableTooltip="True" >
        <chart:ColumnSeries.TooltipTemplate>
            <DataTemplate>
               <Border Background = "DarkGreen"
                       CornerRadius="5"
                       BorderThickness="2"
                       BorderBrush="Black"
                       Width="50" Height="30">
                   <TextBlock Text = "{Binding Item.YValue}"
                              Foreground="White"
                              FontWeight="Bold"
                              HorizontalAlignment="Center"
                              VerticalAlignment="Center"/>
               </Border>
           </DataTemplate>
        </chart:ColumnSeries.TooltipTemplate>
        </chart:ColumnSeries>
    </chart:SfCartesianChart>

    TrackballLabelTemplate

    Gets or sets the custom template to customize the appearance of the chart series trackball label.

    Declaration
    public DataTemplate TrackballLabelTemplate { get; set; }
    Property Value
    Type Description
    Microsoft.UI.Xaml.DataTemplate

    It accepts a Microsoft.UI.Xaml.DataTemplate value.

    Examples
    • Xaml
    <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
        <chart:SfCartesianChart.TrackballBehavior>
           <chart:ChartTrackballBehavior />
       </chart:SfCartesianChart.TrackballBehavior>
    
        <chart:ColumnSeries  ItemsSource="{Binding Data}"
                             XBindingPath="XValue"
                             YBindingPath="YValue">
            <chart:ColumnSeries.TrackballLabelTemplate>
                <DataTemplate>
                       <Border CornerRadius = "5" BorderThickness="1" 
                           BorderBrush="Black" Background="LightGreen" Padding="5">
                           <TextBlock Foreground = "Black" Text="{Binding ValueY}"/>
                       </Border>
                </DataTemplate>
            </chart:ColumnSeries.TrackballLabelTemplate>
        </chart:ColumnSeries>
    </chart:SfCartesianChart>

    XBindingPath

    Gets or sets a path value on the source object to serve a x value to the series.

    Declaration
    public string XBindingPath { get; set; }
    Property Value
    Type Description
    System.String

    The string that represents the property name for the x plotting data, and its default value is null.

    Examples
    • Xaml
    • C#
        <chart:SfCartesianChart>
    
        <!-- ... Eliminated for simplicity-->
    
             <chart:ColumnSeries ItemsSource="{Binding Data}"
                               XBindingPath="XValue"
                               YBindingPath="YValue" />
    
        </chart:SfCartesianChart>
        SfCartesianChart chart = new SfCartesianChart();
        ViewModel viewModel = new ViewModel();
    
        // Eliminated for simplicity
    
        ColumnSeries columnSeries = new ColumnSeries()
        {
              ItemsSource = viewModel.Data,
              XBindingPath = "XValue",
              YBindingPath = "YValue",
        };
    
        chart.Series.Add(columnSeries);

    Methods

    OnApplyTemplate()

    Declaration
    protected override void OnApplyTemplate()

    OnPointerExited(PointerRoutedEventArgs)

    Declaration
    protected override void OnPointerExited(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.PointerRoutedEventArgs e

    OnPointerMoved(PointerRoutedEventArgs)

    Declaration
    protected override void OnPointerMoved(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.PointerRoutedEventArgs e

    OnPointerPressed(PointerRoutedEventArgs)

    Declaration
    protected override void OnPointerPressed(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.PointerRoutedEventArgs e

    OnPointerReleased(PointerRoutedEventArgs)

    Declaration
    protected override void OnPointerReleased(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.PointerRoutedEventArgs e

    OnTapped(TappedRoutedEventArgs)

    Declaration
    protected override void OnTapped(TappedRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.TappedRoutedEventArgs e

    ResumeNotification()

    Processes the data that is added to the data source after SuspendNotification.

    Declaration
    public void ResumeNotification()

    SuspendNotification()

    Suspends the series from updating the series data until ResumeNotification is called.

    Declaration
    public void SuspendNotification()
    Remarks

    This is specifically used when we need to append a collection of data.

    Events

    PropertyChanged

    Occurs when a property value changes.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved