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