TX Text Control .NET for WPF

RibbonReportingTab Property

Property|Introduced in 24.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Specifies the name of the WPF.RibbonReportingTab object to be used with a TextControl. The elements of the ribbon tab can be used to integrate mail merge and reporting functionality. The property value is an empty string, if there is no ribbon tab connected.

Syntax

public string RibbonReportingTab { get; set; }

Examples

The following example uses TextControl.RibbonReportingTab to configure ribbon reporting tab as part of the text control workflow. The configured value is checked before the workflow continues.

textControl.RibbonReportingTab = "Quarterly report";
if (!string.IsNullOrWhiteSpace(textControl.RibbonReportingTab))
{
    Console.WriteLine($"Ribbon Reporting Tab: {textControl.RibbonReportingTab}");
}