UpButtonClicked Event
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Occurs as the text box's up button is clicked.
Syntax
public event EventHandler UpButtonClicked;Public Event UpButtonClicked As EventHandlerExamples
The following example records useful context when up button clicked occurs.
ribbonTextBox.UpButtonClicked += (sender, e) =>
{
Console.WriteLine($"Up Button Clicked at {DateTime.Now:u}");
};AddHandler ribbonTextBox.UpButtonClicked,
Sub(sender, e)
Console.WriteLine($"Up Button Clicked at {DateTime.Now:u}")
End Sub