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