The event handler receives an argument of type ChartDataSourceClickedEventArgs containing data related to this event. The following ChartDataSourceClickedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Indicates that the default action should be skipped. |
Chart | Provides access to the control. |
This event is raised in response to the user clicking on a data source item specifically for a chart component within the designer. It provides an opportunity to respond to the selection of a chart's data source, allowing for custom logic or UI to be invoked, such as displaying the data source properties or initiating data source configuration.
The ChartDataSourceClickedEventArgs parameter contains information about the clicked data source item, enabling detailed handling of the event.