Items 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 all items that are displayed when the drop-down menu is opened. The default value is an empty string array.
Syntax
public string[] Items { get; set; }Public Property Items As String()Examples
The following example uses RibbonListViewItemDropDown.Items to configure items as part of the ribbon list view item drop down workflow. The configured value is checked before the workflow continues.
ribbonListViewItemDropDown.Items = new string[] { "Quarterly report" };
if (ribbonListViewItemDropDown.Items != null)
{
Console.WriteLine("Ribbon List View Item Drop Down: Items is available.");
}ribbonListViewItemDropDown.Items = New String() { "Quarterly report" }
If ribbonListViewItemDropDown.Items IsNot Nothing Then
Console.WriteLine("Ribbon List View Item Drop Down: Items is available.")
End If