FieldNavigatorSidebar Property
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets the sidebar that is connected to the RibbonReportingTab's TXITEM_FieldNavigation button.
Syntax
public Sidebar FieldNavigatorSidebar { get; set; }Public Property FieldNavigatorSidebar As SidebarExamples
The following example uses RibbonReportingTab.FieldNavigatorSidebar to configure field navigator sidebar as part of the ribbon reporting tab workflow. The change is then applied to the active document or user interface.
ribbonReportingTab.FieldNavigatorSidebar = new TXTextControl.Windows.Forms.Sidebar();
ribbonReportingTab.Update();ribbonReportingTab.FieldNavigatorSidebar = New TXTextControl.Windows.Forms.Sidebar()
ribbonReportingTab.Update()Remarks
Checking the TXITEM_FieldNavigation button displays the connected sidebar with the SidebarContentLayout.FieldNavigator layout. If no sidebar is set, the button is hidden.