FieldNavigatorSidebar Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
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; }Public Property FieldNavigatorSidebar As StringExamples
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}");
}ribbonReportingTab.FieldNavigatorSidebar = "Quarterly report"
If Not String.IsNullOrWhiteSpace(ribbonReportingTab.FieldNavigatorSidebar) Then
Console.WriteLine($"Field Navigator Sidebar: {ribbonReportingTab.FieldNavigatorSidebar}")
End IfRemarks
Checking the TXITEM_FieldNavigation button displays the connected sidebar with the SidebarContentLayout.FieldNavigator layout. If no sidebar is set, the button is hidden.