TX Text Control .NET for Windows Forms

RibbonListViewItemEventArgs Class

Class|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Windows.Forms.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.Windows.Forms.dll from the setup.
Inherits
  1. EventArgs
  2. RibbonListView.RibbonListViewItemEventArgs

Description

The RibbonListViewItemEventArgs class provides data for the RibbonListView.EditItemTextBoxActivated, RibbonListView.EditItemTextBoxDeactivated, RibbonListView.ItemClick, ItemMouseEnter or ItemMouseLeave event. The RibbonListViewItemEventArgs class is inherited from the System.EventArgs class. The following describes only the properties, methods and events defined through the RibbonListViewItemEventArgs class. For a list of properties, methods and events inherited from the System.EventArgs class see the .NET Framework reference.

Syntax

public class RibbonListView.RibbonListViewItemEventArgs : EventArgs

Examples

The following example includes the item value from a Ribbon List View Item Event Args object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Item: {ribbonListViewItemEventArgs.Item}");
Console.WriteLine("Ribbon List View Item Event Args is ready for use.");

Members

Properties

PropertyDescription
ItemGets an object of type RibbonListViewItem that represents the handled item.