# RibbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar Property

> Specifies the name of the horizontal sidebar that is connected to the RibbonFormFieldsTab's TXITEM_ManageConditionalInstructions button and its horizontal sidebar drop down button. The property value is String.Empty, if there is no sidebar connected.

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

---

### Description

Specifies the name of the horizontal [sidebar](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/llms-full.txt) that is connected to the RibbonFormFieldsTab's [TXITEM\_ManageConditionalInstructions](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/ribbonformfieldstab/ribbonitem-enumeration/llms-full.txt) button and its horizontal sidebar drop down button. The property value is `String.Empty`, if there is no sidebar connected.

### Syntax

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

```vbnet
Public Property ConditionalInstructionsHorizontalSidebar As String
```

### Examples

The following example uses `RibbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar` to configure conditional instructions horizontal sidebar as part of the ribbon form fields tab workflow. The configured value is checked before the workflow continues.

```csharp
ribbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar = "Quarterly report";
if (!string.IsNullOrWhiteSpace(ribbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar))
{
    Console.WriteLine($"Conditional Instructions Horizontal Sidebar: {ribbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar}");
}
```

```vbnet
ribbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar = "Quarterly report"
If Not String.IsNullOrWhiteSpace(ribbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar) Then
    Console.WriteLine($"Conditional Instructions Horizontal Sidebar: {ribbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar}")
End If
```

### 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-wpf/reference/txtextcontrol-wpf/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-wpf/reference/txtextcontrol-wpf/sidebar/dialogstyle-property/llms-full.txt). In both cases, the sidebar's [content layout](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/contentlayout-property/llms-full.txt) is set to [SidebarContentLayout.ConditionalInstructions](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/sidebarcontentlayout-enumeration/llms-full.txt) and the [connected vertical conditional instructions sidebar](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/ribbonformfieldstab/conditionalinstructionssidebar-property/llms-full.txt) is hidden.

---

## Nearby

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