The RibbonFormFieldsTab class represents a Windows Forms ribbon tab for inserting and editing form fields. It is inherited from the System.Windows.Controls.Ribbon.RibbonTab class and must be hosted in a System.Windows.Controls.Ribbon.Ribbon object. It can be connected with a WPF.TextControl through the WPF.TextControl.RibbonFormFieldsTab property. Each item has a name, available through its Name property, which corresponds with a member of the WPF.RibbonFormFieldsTab.RibbonItem enumeration. The FrameworkElement.FindName method can be used to get a certain item and manipulate, move or delete it.
The following example creates a Ribbon Form Fields Tab instance and configures its conditional instructions horizontal sidebar setting for a document workflow.
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.
Specifies the name of the vertical sidebar that is connected to the RibbonFormFieldsTab's TXITEM_ManageConditionalInstructions button and its vertical sidebar drop down button. The property value is String.Empty, if there is no sidebar connected.
Methods
Method
Description
InitializeComponent
Not described in the reference. public void InitializeComponent();
Fields
Field
Description
ConditionalInstructionsHorizontalSidebarProperty
Not described in the reference. public static readonly DependencyProperty ConditionalInstructionsHorizontalSidebarProperty;
ConditionalInstructionsSidebarProperty
Not described in the reference. public static readonly DependencyProperty ConditionalInstructionsSidebarProperty;
Each RibbonDropDownItem represents a drop-down item in the RibbonFormFieldsTab. The corresponding string of a RibbonDropDownItem is the same as the item's Name property. The RibbonDropDownItem enumeration can be used with the ResourceProvider class that provides static methods to receive bitmaps or strings which are associated with the corresponding ribbon drop-down item.
Each RibbonItem represents an item in the RibbonFormFieldsTab that is not a drop-down item. The corresponding string of a RibbonItem is the same as the item's Name property. The RibbonItem enumeration can be used with the RibbonFormFieldsTab's FrameworkElement.FindName method to get an item and manipulate it or with the ResourceProvider class that provides static methods to receive bitmaps or strings which are associated with the corresponding ribbon item.