# RibbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar Property

> 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.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 28.0
- **Namespace:** `TXTextControl.Windows.Forms.Ribbon`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms.Ribbon > RibbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar Property
- **596 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonformfieldstab/conditionalinstructionshorizontalsidebar-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonformfieldstab/conditionalinstructionshorizontalsidebar-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonformfieldstab/conditionalinstructionshorizontalsidebar-property/llms-full.txt

---

### Description

Gets or sets the horizontal [sidebar](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/llms-full.txt) that is connected to the RibbonFormFieldsTab's [TXITEM\_ManageConditionalInstructions](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonformfieldstab/ribbonitem-enumeration/llms-full.txt) button and its horizontal sidebar drop down button. The default value is `null`.

### Syntax

```csharp
public Sidebar ConditionalInstructionsHorizontalSidebar { get; set; }
```

```vbnet
Public Property ConditionalInstructionsHorizontalSidebar As Sidebar
```

### Examples

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.

```csharp
ribbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar = new TXTextControl.Windows.Forms.Sidebar();
ribbonFormFieldsTab.Update();
```

```vbnet
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](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/ispinned-property/llms-full.txt). If the drop down button is not toggled, the sidebar is represented by a [sizable dialog](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/dialogstyle-property/llms-full.txt). In both cases, the sidebar's [content layout](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/contentlayout-property/llms-full.txt) is set to [SidebarContentLayout.ConditionalInstructions](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/sidebarcontentlayout-enumeration/llms-full.txt) and the [connected vertical conditional instructions sidebar](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonformfieldstab/conditionalinstructionssidebar-property/llms-full.txt) is hidden.

---

## Nearby

- **Previous:** [RibbonFormFieldsTab Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonformfieldstab/llms-full.txt)
- **Next:** [RibbonFormFieldsTab.ConditionalInstructionsSidebar Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonformfieldstab/conditionalinstructionssidebar-property/llms-full.txt)
