OnChartRightClicked Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Raises the ChartRightClicked event.
Syntax
protected virtual void OnChartRightClicked(ChartEventArgs e);Protected Overridable Sub OnChartRightClicked(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 Right Clicked is invoked.
class CustomTextControl : TextControl
{
protected override void OnChartRightClicked(TXTextControl.DataVisualization.ChartEventArgs e)
{
// Add custom processing before registered event handlers run.
base.OnChartRightClicked(e);
}
}Class CustomTextControl
Inherits TextControl
Protected Overrides Sub OnChartRightClicked(e As TXTextControl.DataVisualization.ChartEventArgs)
' Add custom processing before registered event handlers run.
MyBase.OnChartRightClicked(e)
End Sub
End Class