Represents a behavior that handles selection of chart series and data points.
Definition
Namespace:Telerik.Maui.Controls.Compatibility.Chart
Assembly:Telerik.Maui.Controls.Compatibility.dll
Syntax:
public class ChartSelectionBehavior : ChartBehavior
Inheritance: objectChartElementChartBehaviorChartSelectionBehavior
Inherited Members
Constructors
public ChartSelectionBehavior()
Fields
CommandParameterProperty
BindableProperty
Identifies the CommandParameter property.
public static readonly BindableProperty CommandParameterProperty
CommandProperty
BindableProperty
Identifies the Command property.
public static readonly BindableProperty CommandProperty
DataPointSelectionModeProperty
BindableProperty
Identifies the DataPointSelectionMode property.
public static readonly BindableProperty DataPointSelectionModeProperty
SeriesSelectionModeProperty
BindableProperty
Identifies the SeriesSelectionMode property.
public static readonly BindableProperty SeriesSelectionModeProperty
Properties
Gets or sets the Command that is invoked when selection changes.
public ICommand Command { get; set; }
Gets or sets the CommandParameter that is passed to the Command property. The ChartSelectionBehavior instance is the default parameter.
public object CommandParameter { get; set; }
Gets or sets the ChartSelectionMode that controls the selection behavior of the data points within the chart series.
public ChartSelectionMode DataPointSelectionMode { get; set; }
Gets all the points from all series within the chart plot area that are currently selected.
public IEnumerable<DataPoint> SelectedPoints { get; }
Gets all the ChartSeries instances within the plot area that are currently selected.
public IEnumerable<ChartSeries> SelectedSeries { get; }
Gets or sets the ChartSelectionMode that controls the selection behavior of the chart series.
public ChartSelectionMode SeriesSelectionMode { get; set; }
Methods
Removes the current selection within the chart.
Raises the SelectionChanged event.
public void OnSelectionChanged()
Events
Occurs when the IsSelected property of a ChartSeries and/or DataPoint instance changes.
public event EventHandler SelectionChanged