TX Text Control .NET for WPF

FieldNavigatorSidebar Property

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

Description

Gets or sets the the name of the sidebar that is connected to the RibbonReportingTab's TXITEM_FieldNavigation button.

Syntax

public string FieldNavigatorSidebar { get; set; }

Examples

The following example uses RibbonReportingTab.FieldNavigatorSidebar to configure field navigator sidebar as part of the ribbon reporting tab workflow. The configured value is checked before the workflow continues.

ribbonReportingTab.FieldNavigatorSidebar = "Quarterly report";
if (!string.IsNullOrWhiteSpace(ribbonReportingTab.FieldNavigatorSidebar))
{
    Console.WriteLine($"Field Navigator Sidebar: {ribbonReportingTab.FieldNavigatorSidebar}");
}

Remarks

Checking the TXITEM_FieldNavigation button displays the connected sidebar with the SidebarContentLayout.FieldNavigator layout. If no sidebar is set, the button is hidden.