TX Text Control .NET for Windows Forms

ItemClick 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 when an RibbonListViewItem is clicked.

Syntax

public event RibbonListView.ItemClickedEventHandler ItemClick;

Examples

The following example records useful context when item click occurs.

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