Class ChartSelectionBehavior
Represents a behavior that changes the IsSelected state of data points and series depending on user input.
Inherited Members
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public class ChartSelectionBehavior : ChartBehavior
Constructors
ChartSelectionBehavior()
Declaration
public ChartSelectionBehavior()
Fields
DataPointSelectionModeProperty
Identifies the Data
Declaration
public static readonly DependencyProperty DataPointSelectionModeProperty
Field Value
System.
|
HitTestMarginProperty
Identifies the Hit
Declaration
public static readonly DependencyProperty HitTestMarginProperty
Field Value
System.
|
Properties
DataPointSelectionMode
Gets or sets the Chart
Declaration
public ChartSelectionMode DataPointSelectionMode { get; set; }
Property Value
HitTestMargin
Gets or sets the System.
Declaration
public Thickness HitTestMargin { get; set; }
Property Value
System.
|
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. |
CreateInstanceCore()
When implemented in a derived class, creates a new instance of the
System.
Declaration
protected override Freezable CreateInstanceCore()
Returns
System. The new instance. |
Overrides
OnAttached()
Called when the behavior is added to the chart control.
Declaration
protected override void OnAttached()
Overrides
OnChartTemplateChanged(Canvas, Canvas)
Called when chart template is changed.
Declaration
protected override void OnChartTemplateChanged(Canvas oldAdornerContainer, Canvas adornerContainer)
Parameters
System. The old adorner layer. |
System. The adorner layer. |
Overrides
OnDetached()
This method is called when this behavior is removed from the chart.
Declaration
protected override void OnDetached()
Overrides
OnSelectionChanged(ChartSelectionChangedEventArgs)
Raises the Selection
Declaration
protected virtual void OnSelectionChanged(ChartSelectionChangedEventArgs args)
Parameters
Chart The Chart |
Events
SelectionChanged
Occurs when the chart selection has changed.
Declaration
public event EventHandler<ChartSelectionChangedEventArgs> SelectionChanged
Event Type
System.
|