BorderStyleChanged Event
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Occurs when the value of the BorderStyle property has changed. The event handler receives an argument of type EventArgs containing data related to this event.
Syntax
public event EventHandler BorderStyleChanged;Public Event BorderStyleChanged As EventHandlerExamples
The following example records useful context when border style changed occurs.
textControl.BorderStyleChanged += (sender, e) =>
{
Console.WriteLine($"Border Style Changed at {DateTime.Now:u}");
};AddHandler textControl.BorderStyleChanged,
Sub(sender, e)
Console.WriteLine($"Border Style Changed at {DateTime.Now:u}")
End Sub