ListViewMode Enumeration
- 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
Determines the view mode of the RibbonListView:
Syntax
public enum RibbonListView.ListViewModePublic Enum RibbonListView.ListViewModeMembers
| Member | Value | Description |
|---|---|---|
| Icon | 1 | A RibbonListViewItem displayes its icon. |
| Text | 2 | A RibbonListViewItem displayes its text. |
| DropDown | 4 | A RibbonListViewItem a drop-down. |
Examples
The following example selects the Icon value from the List View Mode enumeration and uses it as a documented workflow choice.
TXTextControl.Windows.Forms.Ribbon.RibbonListView.ListViewMode value = TXTextControl.Windows.Forms.Ribbon.RibbonListView.ListViewMode.Icon;
Console.WriteLine($"Using List View Mode: {value}");Dim value As TXTextControl.Windows.Forms.Ribbon.RibbonListView.ListViewMode = TXTextControl.Windows.Forms.Ribbon.RibbonListView.ListViewMode.Icon
Console.WriteLine($"Using List View Mode: {value}")