IsSelected 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 a value indicating whether this RibbonListViewItem is selected.
Syntax
public bool IsSelected { get; set; }Public Property IsSelected As BooleanExamples
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.");
}ribbonListViewItem.IsSelected = True
If ribbonListViewItem.IsSelected Then
Console.WriteLine("Ribbon List View Item: Is Selected is enabled.")
End If