Version

LegendItemMouseLeftButtonDown Event

Event raised when the left mouse button is pressed while the mouse pointer is over a legend item in this Legend.
Syntax
'Declaration
 
Public Event LegendItemMouseLeftButtonDown As LegendMouseButtonEventHandler
public event LegendMouseButtonEventHandler LegendItemMouseLeftButtonDown
Event Data

The event handler receives an argument of type LegendMouseButtonEventArgs containing data related to this event. The following LegendMouseButtonEventArgs properties provide information specific to this event.

PropertyDescription
Chart Gets the Chart associated with the current event.
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.
LegendItem The legend item that was the target of the mouse event.
OriginalSource Gets a reference to the object that raised the event.
Series Gets the series associated with the current event.
StylusDevice Gets an object that reports stylus device information, such as the collection of stylus points associated with the input.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also