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