TX Text Control .NET for Windows Forms

GotoHorizontalSidebar Property

Property|Introduced in 26.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the horizontal sidebar that is connected to the RibbonFormattingTab's TXITEM_Goto button. The default value is null.

Syntax

public Sidebar GotoHorizontalSidebar { get; set; }

Examples

The following example uses RibbonFormattingTab.GotoHorizontalSidebar to configure goto horizontal sidebar as part of the ribbon formatting tab workflow. The change is then applied to the active document or user interface.

ribbonFormattingTab.GotoHorizontalSidebar = new TXTextControl.Windows.Forms.Sidebar();
ribbonFormattingTab.Update();

Remarks

Checking the TXITEM_Goto button, if the corresponding horizontal 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 vertical replace sidebar is hidden.