TX Text Control .NET for Windows Forms

ViewMode Property

Property|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the mode in which this RibbonListView displays its items. All values can be combined with each other. The default value is ListViewMode.Icon.

Syntax

public RibbonListView.ListViewMode ViewMode { get; set; }

Examples

The following example uses RibbonListView.ViewMode to configure view mode as part of the ribbon list view workflow. The change is then applied to the active document or user interface.

ribbonListView.ViewMode = TXTextControl.Windows.Forms.Ribbon.RibbonListView.ListViewMode.Icon;
ribbonListView.Update();