TXTextControl.Windows.Forms.Ribbon.RibbonListView Class

The RibbonListView class is a list view control, which displays a collection of items that can be displayed using one of three different views. The RibbonListView class is inherited from the System.Windows.Forms.Control class and implements the System.ComponentModel.INotifyPropertyChanged interface. The following describes only the properties, methods and events defined through the RibbonListView class. For a list of properties, methods and events inherited from the System.Windows.Forms.Control class and the System.ComponentModel.INotifyPropertyChanged interface see the .NET Framework reference.

Introduced: 24.0.

Syntax

[C#]
public class RibbonListView : System.Windows.Forms.Control, System.ComponentModel.INotifyPropertyChanged
[Visual Basic]
Public Class RibbonListView
  Inherits System.Windows.Forms.Control
  Implements System.ComponentModel.INotifyPropertyChanged

Constructors

Constructor Description
RibbonListView Initializes a new instance of the RibbonListView class.

Properties

Property Description
CellPadding Gets or sets the amount of space between the cell's item and the cell's border.
ColumnCount Gets the number of columns in this RibbonListView.
ColumnWidth Gets the width for each column in this RibbonListView.
Deselectable Gets or sets a value whether a selected RibbonListViewItem can be deselected by clicking into a cell that does not contain a RibbonListViewItem or clicking on it in combination with the pressed Ctrl key.
DropDownItems Gets the collection of controls in the drop-down menu that is associated with this RibbonListView.
HideItems Gets or sets a value indicating whether the RibbonListViewItems are displayed inside the RibbonListView or not.
HideSelectedItems Gets or sets a value indicating whether the selected RibbonListViewItems are highlighted inside the RibbonListView or not.
ItemsSource Gets or sets an array of RibbonListViewItems used to generate the content of this RibbonListView.
KeyTip Gets or sets the keyboard shortcut of the RibbonListView.
MaxVisibleRows Gets or sets a value specifying the maximum number of rows that are displayed by the RibbonListView.
MinColumnCount Gets or sets the minimum number of columns in this RibbonListView.
MultiSelect Gets or sets a value indicating whether multiple items can be selected.
ParentCollection Gets the RibbonItemCollection that contains this RibbonListView.
RibbonListViewItems Gets a collection containing all items in this RibbonListView.
RowCount Gets the number of rows in this RibbonListView.
RowHeight Gets the height for each row in this RibbonListView.
ScrollButtonsVisible Gets or sets a value whether the scroll bars buttons should be displayed or not.
SelectedIndices Gets the indexes of the selected items in this RibbonListView.
SelectedItems Gets the items that are selected in this RibbonListView.
ShowBorder Gets or sets a value indicating whether this RibbonListView is surrounded by a border or not.
ShowItemsInDropDown Gets or sets a value indicating whether this RibbonListView's drop down menu displays additionally to the drop down items the control's RibbonListViewItems or not.
ToolTip Gets an object of type RibbonToolTip that displays text when the mouse pointer hovers over RibbonListView's scroll bar or drop-down button.
ViewMode Gets or sets the mode in which this RibbonListView displays its items.

Methods

Method Description
ScrollTo Scrolls the contents of the RibbonListView to a specified RibbonListViewItem.

Events

Event Description
DropDownClosed Occurs as the RibbonListView's drop-down menu is closed.
DropDownOpening Occurs as the RibbonListView's drop-down menu is opening.
ItemClick Occurs as an RibbonListViewItem is clicked.
ItemMouseEnter Occurs when the mouse pointer enters a RibbonListViewItem.
ItemMouseLeave Occurs when the mouse pointer leaves a RibbonListViewItem.

See Also