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