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