# GrapeCity.ActiveReports.Design.Designer.ChartDataSourceClicked

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="GrapeCity_ActiveReports_Design_Designer_ChartDataSourceClicked" data-uid="GrapeCity.ActiveReports.Design.Designer.ChartDataSourceClicked" class="text-break">ChartDataSourceClicked Event
</h1>
<div class="markdown level0 summary"><p>Occurs when a data source item within a chart is selected by the user.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Design.html">GrapeCity.ActiveReports.Design</a></h6>
<h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Design.Win.dll</h6>
<h5 id="GrapeCity_ActiveReports_Design_Designer_ChartDataSourceClicked_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event EventHandler&lt;ChartDataSourceClickedEventArgs&gt; ChartDataSourceClicked</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Design.ChartDataSourceClickedEventArgs.html">ChartDataSourceClickedEventArgs</a>&gt;</td>
      <td>Occurs when a data source item within a chart is selected by the user.</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Design_Designer_ChartDataSourceClicked_remarks"><strong>Remarks</strong></h5>
<div class="markdown level0 remarks"><p>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.</p>
<p>The <a class="xref" href="GrapeCity.ActiveReports.Design.ChartDataSourceClickedEventArgs.html">ChartDataSourceClickedEventArgs</a> parameter contains information about the clicked data source item, enabling detailed handling 
of the event.</p>
</div>
</div>
