TX Text Control .NET for WPF

RibbonProofingTab Class

Class|Introduced in 24.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.WPF.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.WPF.dll from the setup.
Inherits
  1. RibbonTab
  2. RibbonProofingTab
Implements
IComponentConnector

Description

The RibbonProofingTab class represents a tab for setting proofing options such as spelling, hypheantion or language detection. 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.RibbonProofingTab property. Each item has a name, available through its Name property, which corresponds with a member of the WPF.RibbonProofingTab.RibbonItem enumeration. The FrameworkElement.FindName method can be used to get a certain item and manipulate, move or delete it.

Syntax

public class RibbonProofingTab : System.Windows.Controls.Ribbon.RibbonTab, IComponentConnector

Examples

The following example creates a Ribbon Proofing Tab instance and configures its comments horizontal sidebar setting for a document workflow.

TXTextControl.WPF.RibbonProofingTab ribbonProofingTab = new();
ribbonProofingTab.CommentsHorizontalSidebar = "Quarterly report";

Members

Constructors

ConstructorDescription
RibbonProofingTabInitializes a new instance of the RibbonProofingTab class.

Properties

PropertyDescription
CommentsHorizontalSidebarSpecifies the name of the horizontal sidebar that is connected to the RibbonProofingTab's TXITEM_Comments button. The property value is String.Empty, if there is no sidebar connected.
CommentsSidebarSpecifies the name of the vertical sidebar that is connected to the RibbonProofingTab's TXITEM_Comments button. The property value is String.Empty, if there is no sidebar connected.
TrackedChangesHorizontalSidebarSpecifies the name of the horizontal sidebar that is connected to the RibbonProofingTab's TXITEM_TrackedChanges button. The property value is String.Empty, if there is no sidebar connected.
TrackedChangesSidebarSpecifies the name of the vertical sidebar that is connected to the RibbonProofingTab's TXITEM_TrackedChanges button. The property value is String.Empty, if there is no sidebar connected.

Methods

MethodDescription
InitializeComponentNot described in the reference. public void InitializeComponent();

Fields

FieldDescription
CommentsHorizontalSidebarPropertyNot described in the reference. public static readonly DependencyProperty CommentsHorizontalSidebarProperty;
CommentsSidebarPropertyNot described in the reference. public static readonly DependencyProperty CommentsSidebarProperty;
TrackedChangesHorizontalSidebarPropertyNot described in the reference. public static readonly DependencyProperty TrackedChangesHorizontalSidebarProperty;
TrackedChangesSidebarPropertyNot described in the reference. public static readonly DependencyProperty TrackedChangesSidebarProperty;

Enumerations

EnumerationDescription
RibbonDropDownItemEach RibbonDropDownItem represents a drop-down item in the RibbonProofingTab. 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.
RibbonItemEach RibbonItem represents an item in the RibbonProofingTab 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 RibbonProofingTab'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.