ClassChartSelectionBehavior
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
ChartSelectionBehavior()
Declaration
public ChartSelectionBehavior()
Fields
CommandParameterProperty
Identifies the CommandParameter property.
Declaration
public static readonly BindableProperty CommandParameterProperty
Field Value
BindableProperty
CommandProperty
Identifies the Command property.
Declaration
public static readonly BindableProperty CommandProperty
Field Value
BindableProperty
DataPointSelectionModeProperty
Identifies the DataPointSelectionMode property.
Declaration
public static readonly BindableProperty DataPointSelectionModeProperty
Field Value
BindableProperty
SeriesSelectionModeProperty
Identifies the SeriesSelectionMode property.
Declaration
public static readonly BindableProperty SeriesSelectionModeProperty
Field Value
BindableProperty
Properties
CommandParameter
Gets or sets the CommandParameter that is passed to the Command property. The ChartSelectionBehavior instance is the default parameter.
DataPointSelectionMode
Gets or sets the ChartSelectionMode that controls the selection behavior of the data points within the chart series.
Declaration
public ChartSelectionMode DataPointSelectionMode { get; set; }
Property Value
SelectedPoints
Gets all the points from all series within the chart plot area that are currently selected.
Declaration
public IEnumerable<DataPoint> SelectedPoints { get; }
Property Value
SelectedSeries
Gets all the ChartSeries instances within the plot area that are currently selected.
Declaration
public IEnumerable<ChartSeries> SelectedSeries { get; }
Property Value
SeriesSelectionMode
Gets or sets the ChartSelectionMode that controls the selection behavior of the chart series.
Declaration
public ChartSelectionMode SeriesSelectionMode { get; set; }
Property Value
Methods
ClearSelection(bool, bool)
Removes the current selection within the chart.
OnSelectionChanged()
Raises the SelectionChanged event.
Declaration
public void OnSelectionChanged()
Events
SelectionChanged
Occurs when the IsSelected property of a ChartSeries and/or DataPoint instance changes.