Class ChartSelectionBehavior
Namespace: Telerik.Maui.Controls.Compatibility.Chart
Assembly: Telerik.Maui.Controls.Compatibility.dll
Syntax
public class ChartSelectionBehavior : ChartBehavior, IParentElement, IChildElement
Constructors
ChartSelectionBehavior()
Declaration
public ChartSelectionBehavior()
Fields
CommandParameterProperty
Identifies the Command
Declaration
public static readonly BindableProperty CommandParameterProperty
Field Value
Microsoft.
|
CommandProperty
Identifies the Command property.
Declaration
public static readonly BindableProperty CommandProperty
Field Value
Microsoft.
|
DataPointSelectionModeProperty
Identifies the Data
Declaration
public static readonly BindableProperty DataPointSelectionModeProperty
Field Value
Microsoft.
|
SeriesSelectionModeProperty
Identifies the Series
Declaration
public static readonly BindableProperty SeriesSelectionModeProperty
Field Value
Microsoft.
|
Properties
Command
Gets or sets the Command that is invoked when selection changes.
Declaration
public ICommand Command { get; set; }
Property Value
System.
|
CommandParameter
Gets or sets the Command
Declaration
public object CommandParameter { get; set; }
Property Value
System.
|
DataPointSelectionMode
Gets or sets the Chart
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
System.
|
SelectedSeries
Gets all the Chart
Declaration
public IEnumerable<ChartSeries> SelectedSeries { get; }
Property Value
System.
|
SeriesSelectionMode
Gets or sets the Chart
Declaration
public ChartSelectionMode SeriesSelectionMode { get; set; }
Property Value
Methods
ClearSelection(Boolean, Boolean)
Removes the current selection within the chart.
Declaration
public void ClearSelection(bool dataPoints = true, bool chartSeries = true)
Parameters
System. True to clear the selected state of each data point, false otherwise. |
System. True to clear the selected state of each chart series, false otherwise. |
OnSelectionChanged()
Events
SelectionChanged
Occurs when the IsSelected property of a Chart
Declaration
public event EventHandler SelectionChanged
Event Type
System.
|