VShrunk 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 Text Control has automatically shrunk its size vertically. The event handler receives an argument of type EventArgs containing data related to this event.
Syntax
public event EventHandler VShrunk;Public Event VShrunk As EventHandlerExamples
The following example records useful context when vshrunk occurs.
textControl.VShrunk += (sender, e) =>
{
Console.WriteLine($"VShrunk at {DateTime.Now:u}");
};AddHandler textControl.VShrunk,
Sub(sender, e)
Console.WriteLine($"VShrunk at {DateTime.Now:u}")
End Sub