ConditionalInstructionsHorizontalSidebar 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 horizontal sidebar that is connected to the RibbonFormFieldsTab's TXITEM_ManageConditionalInstructions button and its horizontal sidebar drop down button. The default value is null.
Syntax
public Sidebar ConditionalInstructionsHorizontalSidebar { get; set; }Public Property ConditionalInstructionsHorizontalSidebar As SidebarExamples
The following example uses RibbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar to configure conditional instructions horizontal sidebar as part of the ribbon form fields tab workflow. The change is then applied to the active document or user interface.
ribbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar = new TXTextControl.Windows.Forms.Sidebar();
ribbonFormFieldsTab.Update();ribbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar = New TXTextControl.Windows.Forms.Sidebar()
ribbonFormFieldsTab.Update()Remarks
Checking the TXITEM_ManageConditionalInstructions 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 sizable dialog. In both cases, the sidebar's content layout is set to SidebarContentLayout.ConditionalInstructions and the connected vertical conditional instructions sidebar is hidden.