SelectedItems 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 items that are selected in this RibbonListView.
Syntax
public RibbonListView.RibbonListViewItem[] SelectedItems { get; set; }Public Property SelectedItems As RibbonListView.RibbonListViewItem()Examples
The following example uses RibbonListView.SelectedItems to configure selected items as part of the ribbon list view workflow. The change is then applied to the active document or user interface.
ribbonListView.SelectedItems = new TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem[] { new TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem() };
ribbonListView.Update();ribbonListView.SelectedItems = New TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem() { New TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem() }
ribbonListView.Update()