OnChartSelected Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Raises the ChartSelected event.
Syntax
protected virtual void OnChartSelected(ChartEventArgs e);Protected Overridable Sub OnChartSelected(e As ChartEventArgs)Parameters
| Parameter | Description |
|---|---|
| e | Specifies a ChartEventArgs object that contains the event data. |
Examples
The following example extends Text Control and performs custom processing when On Chart Selected is invoked.
class CustomTextControl : TextControl
{
protected override void OnChartSelected(TXTextControl.DataVisualization.ChartEventArgs e)
{
// Add custom processing before registered event handlers run.
base.OnChartSelected(e);
}
}Class CustomTextControl
Inherits TextControl
Protected Overrides Sub OnChartSelected(e As TXTextControl.DataVisualization.ChartEventArgs)
' Add custom processing before registered event handlers run.
MyBase.OnChartSelected(e)
End Sub
End Class