Text 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 the RibbonListViewItem's text
Syntax
public string Text { get; set; }Public Property Text As StringExamples
The following example uses RibbonListViewItem.Text to replace the ribbon list view item's displayed content. The configured value is checked before the workflow continues.
ribbonListViewItem.Text = "Quarterly results";
if (!string.IsNullOrWhiteSpace(ribbonListViewItem.Text))
{
Console.WriteLine($"Text: {ribbonListViewItem.Text}");
}ribbonListViewItem.Text = "Quarterly results"
If Not String.IsNullOrWhiteSpace(ribbonListViewItem.Text) Then
Console.WriteLine($"Text: {ribbonListViewItem.Text}")
End If