GotoSidebar 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 vertical sidebar that is connected to the RibbonFormattingTab's TXITEM_Goto button and its vertical sidebar drop down button. The default value is null.
Syntax
public Sidebar GotoSidebar { get; set; }Public Property GotoSidebar As SidebarExamples
The following example uses RibbonFormattingTab.GotoSidebar to configure goto sidebar as part of the ribbon formatting tab workflow. The change is then applied to the active document or user interface.
ribbonFormattingTab.GotoSidebar = new TXTextControl.Windows.Forms.Sidebar();
ribbonFormattingTab.Update();ribbonFormattingTab.GotoSidebar = New TXTextControl.Windows.Forms.Sidebar()
ribbonFormattingTab.Update()Remarks
Checking the TXITEM_Goto button, if the corresponding vertical sidebar drop down button is toggled, displays the connected sidebar as pinned. If the drop down button is not toggled, the sidebar is represented by a non-sizable dialog. In both cases, the sidebar's content layout is set to SidebarContentLayout.Goto and the connected horizontal go to sidebar is hidden.