TX Text Control .NET for Windows Forms

ItemMouseDown Event

Event|Introduced in 25.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 when the mouse pointer is over a RibbonListViewItem and the mouse button is pressed.

Syntax

public event RibbonListView.ItemMouseDownEventHandler ItemMouseDown;

Examples

The following example records useful context when item mouse down occurs.

ribbonListView.ItemMouseDown += (sender, e) =>
{
    Console.WriteLine($"Item Mouse Down at {DateTime.Now:u}");
};