Tag Property
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets the data associated with this RibbonListViewItem.
Syntax
public object Tag { get; set; }Public Property Tag As ObjectExamples
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.");
}ribbonListViewItem.Tag = "Approved"
If ribbonListViewItem.Tag IsNot Nothing Then
Console.WriteLine("Ribbon List View Item: Tag is available.")
End If