TX Text Control .NET for Windows Forms

IsSelected 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 a value indicating whether this RibbonListViewItem is selected.

Syntax

public bool IsSelected { get; set; }

Examples

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

ribbonListViewItem.IsSelected = true;
if (ribbonListViewItem.IsSelected)
{
    Console.WriteLine("Ribbon List View Item: Is Selected is enabled.");
}