TX Text Control .NET for Windows Forms

ShowText Property

Property|Introduced in 29.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 the value of the RibbonListViewItemDropDown.Text property is displayed to the left of the drop-down button. The default value is true.

Syntax

public bool ShowText { get; set; }

Examples

The following example uses RibbonListViewItemDropDown.ShowText to configure show text as part of the ribbon list view item drop down workflow. The configured value is checked before the workflow continues.

ribbonListViewItemDropDown.ShowText = true;
if (ribbonListViewItemDropDown.ShowText)
{
    Console.WriteLine("Ribbon List View Item Drop Down: Show Text is enabled.");
}