OnTextFieldCreated Method
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Raises the TextFieldCreated event.
Syntax
protected virtual void OnTextFieldCreated(TextFieldEventArgs e);Protected Overridable Sub OnTextFieldCreated(e As TextFieldEventArgs)Parameters
| Parameter | Description |
|---|---|
| e | Specifies an TextFieldEventArgs object that contains the event data. |
Examples
The following example extends Text Control and performs custom processing when On Text Field Created is invoked.
class CustomTextControl : TXTextControl.WPF.TextControl
{
protected override void OnTextFieldCreated(TextFieldEventArgs e)
{
// Add custom processing before registered event handlers run.
base.OnTextFieldCreated(e);
}
}Class CustomTextControl
Inherits TXTextControl.WPF.TextControl
Protected Overrides Sub OnTextFieldCreated(e As TextFieldEventArgs)
' Add custom processing before registered event handlers run.
MyBase.OnTextFieldCreated(e)
End Sub
End ClassSee Also
Text Fields and Hypertext Links - Inserting and Deleting Text Fields.