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