RibbonListViewItem Class
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.Windows. Forms. dll
Description
The RibbonListViewItem class represents an item in a RibbonListView control.
Syntax
public class RibbonListView.RibbonListViewItemPublic Class RibbonListView.RibbonListViewItemExamples
The following example creates a Ribbon List View Item instance and configures its is editable setting for a document workflow.
TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem ribbonListViewItem = new();
ribbonListViewItem.IsEditable = true;Dim ribbonListViewItem As New TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem()
ribbonListViewItem.IsEditable = TrueMembers
Constructors
| Constructor | Description |
|---|---|
| RibbonListViewItem | Initializes a new instance of the RibbonListViewItem class. |
Properties
| Property | Description |
|---|---|
| DropDown | Gets an object of type RibbonListView.RibbonListViewItemDropDown to access settings of the drop-down menu, that is displayed for each RibbonListViewItem when the RibbonListView.ViewMode property includes the ListViewMode.DropDown enumeration. |
| Icon | Gets or sets the icon for this RibbonListViewItem. |
| IsEditable | Gets or sets a value indicating whether this RibbonListViewItem is editable. If the property is set to true, the RibbonListViewItem can be edited by a text box that appears on double clicking the item, pressing the F2 key or using the RibbonListView.ActivateEditItemTextBox method. The default value is false. |
| IsSelected | Gets or sets a value indicating whether this RibbonListViewItem is selected. |
| Tag | Gets or sets the data associated with this RibbonListViewItem. |
| Text | Gets or sets the RibbonListViewItem's text |
| ToolTip | Gets an object of type RibbonToolTip that displays text when the mouse pointer hovers over the item. |