TX Text Control .NET for Windows Forms

Tag Property

Property|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

Gets or sets the data associated with this RibbonListViewItem.

Syntax

public object Tag { get; set; }

Examples

The following example uses RibbonListViewItem.Tag to configure tag as part of the ribbon list view item workflow. The configured value is checked before the workflow continues.

ribbonListViewItem.Tag = "Approved";
if (ribbonListViewItem.Tag != null)
{
    Console.WriteLine("Ribbon List View Item: Tag is available.");
}