ShowItemsInDropDown Property
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
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; }Public Property ShowItemsInDropDown As BooleanExamples
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();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.