TX Text Control .NET for Windows Forms

ShowItemsInDropDown 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 a value indicating whether this RibbonListView's drop down menu displays additionally to the drop down items the control's RibbonListViewItems or not. The default value is false.

Syntax

public bool ShowItemsInDropDown { get; set; }

Examples

The following example uses RibbonListView.ShowItemsInDropDown to configure show items in drop down as part of the ribbon list view workflow. The change is then applied to the active document or user interface.

ribbonListView.ShowItemsInDropDown = true;
ribbonListView.Update();

Remarks

The RibbonListView is extended by a drop-down button to the right if this property is set to true and the actual number of rows is greater than the specified maximum number of rows.