'Declaration Public Event SeriesClick As MouseButtonEventHandler
public event MouseButtonEventHandler SeriesClick
The event handler receives an argument of type ChartMouseButtonEventArgs containing data related to this event. The following ChartMouseButtonEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CancelSelection | Gets or sets whether to cancel series selection. |
Chart | Gets the Chart associated with the current event. |
ChartPosition | Gets the mouse position relative to the chart. |
Handled | Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. |
Item | Gets the ItemsSource item associated with the current event. |
OriginalSource | Gets a reference to the object that raised the event. |
PlotAreaPosition | Gets the mouse position relative to the plot area. |
Series | Gets the series associated with the current event. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2