ConditionalInstructionsHorizontalSidebar Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
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.
Syntax
public string ConditionalInstructionsHorizontalSidebar { get; set; }Public Property ConditionalInstructionsHorizontalSidebar As StringExamples
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.
ribbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar = "Quarterly report";
if (!string.IsNullOrWhiteSpace(ribbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar))
{
Console.WriteLine($"Conditional Instructions Horizontal Sidebar: {ribbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar}");
}ribbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar = "Quarterly report"
If Not String.IsNullOrWhiteSpace(ribbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar) Then
Console.WriteLine($"Conditional Instructions Horizontal Sidebar: {ribbonFormFieldsTab.ConditionalInstructionsHorizontalSidebar}")
End IfRemarks
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.