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