DropDownOpening 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 RibbonListView's drop-down menu is opening.
Syntax
public event EventHandler DropDownOpening;Public Event DropDownOpening As EventHandlerExamples
The following example records useful context when drop down opening occurs.
ribbonListView.DropDownOpening += (sender, e) =>
{
Console.WriteLine($"Drop Down Opening at {DateTime.Now:u}");
};AddHandler ribbonListView.DropDownOpening,
Sub(sender, e)
Console.WriteLine($"Drop Down Opening at {DateTime.Now:u}")
End Sub