RibbonViewTab 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.RibbonViewTab object to be used with a TextControl. The elements of the ribbon tab can be used to alter the document's view. The property value is an empty string, if there is no ribbon tab connected.
Syntax
public string RibbonViewTab { get; set; }Public Property RibbonViewTab As StringExamples
The following example uses TextControl.RibbonViewTab to configure ribbon view tab as part of the text control workflow. The configured value is checked before the workflow continues.
textControl.RibbonViewTab = "Quarterly report";
if (!string.IsNullOrWhiteSpace(textControl.RibbonViewTab))
{
Console.WriteLine($"Ribbon View Tab: {textControl.RibbonViewTab}");
}textControl.RibbonViewTab = "Quarterly report"
If Not String.IsNullOrWhiteSpace(textControl.RibbonViewTab) Then
Console.WriteLine($"Ribbon View Tab: {textControl.RibbonViewTab}")
End If