TX Text Control .NET for Windows Forms

DropDownOpening Event

Event|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Occurs as the RibbonMenuButton's drop-down menu is opening.

Syntax

public event EventHandler DropDownOpening;

Examples

The following example records useful context when drop down opening occurs.

ribbonMenuButton.DropDownOpening += (sender, e) =>
{
    Console.WriteLine($"Drop Down Opening at {DateTime.Now:u}");
};