RibbonTableLayoutTab Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Specifies the name of the WPF.RibbonTableLayoutTab object to be used with a TextControl. The elements of the ribbon tab can be used to set the attributes and the layout of a table. The property value is an empty string, if there is no ribbon tab connected.
Syntax
public string RibbonTableLayoutTab { get; set; }Public Property RibbonTableLayoutTab As StringExamples
The following example uses TextControl.RibbonTableLayoutTab to configure ribbon table layout tab as part of the text control workflow. The configured value is checked before the workflow continues.
textControl.RibbonTableLayoutTab = "Quarterly report";
if (!string.IsNullOrWhiteSpace(textControl.RibbonTableLayoutTab))
{
Console.WriteLine($"Ribbon Table Layout Tab: {textControl.RibbonTableLayoutTab}");
}textControl.RibbonTableLayoutTab = "Quarterly report"
If Not String.IsNullOrWhiteSpace(textControl.RibbonTableLayoutTab) Then
Console.WriteLine($"Ribbon Table Layout Tab: {textControl.RibbonTableLayoutTab}")
End If