RibbonInsertTab Class
- Namespace
TXTextControl.WPF
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXTextControl.WPF. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXTextControl.from the setup.WPF. dll
- Inherits
- Ribbon
Tab - Ribbon
Insert Tab
- Ribbon
- Implements
- IComponent
Connector
Description
The WPF.RibbonInsertTab class represents a ribbon tab for inserting pages, images, hyperlinks, bookmarks, headers and footers, textframes and symbols. 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.RibbonInsertTab property. Each item has a name, available through its Name property, which corresponds with a member of the WPF.RibbonInsertTab.RibbonItem enumeration. The FrameworkElement.FindName method can be used to get a certain item and manipulate, move or delete it.
Syntax
public class RibbonInsertTab : System.Windows.Controls.Ribbon.RibbonTab, IComponentConnectorPublic Class RibbonInsertTab
Inherits System.Windows.Controls.Ribbon.RibbonTab
Implements IComponentConnectorExamples
The WPF.RibbonInsertTab can be configured in the same way as the WPF.RibbonFormattingTab. See the Example section of the WPF.RibbonFormattingTab for more information
The following example creates a Ribbon Insert Tab instance and configures its is selected setting for a document workflow.
TXTextControl.WPF.RibbonInsertTab ribbonInsertTab = new();
ribbonInsertTab.IsSelected = true;Dim ribbonInsertTab As New TXTextControl.WPF.RibbonInsertTab()
ribbonInsertTab.IsSelected = TrueMembers
Constructors
| Constructor | Description |
|---|---|
| RibbonInsertTab | Not described in the reference. public RibbonInsertTab(); |
Methods
| Method | Description |
|---|---|
| InitializeComponent | Not described in the reference. public void InitializeComponent(); |
Enumerations
| Enumeration | Description |
|---|---|
| RibbonDropDownItem | Each RibbonDropDownItem represents a drop-down item in the RibbonInsertTab. 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. |
| RibbonItem | Each RibbonItem represents an item in the RibbonInsertTab 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 RibbonInsertTab'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. |