TXTextControl.WPF.RibbonPermissionsTab Class

The RibbonPermissionsTab class represents a Windows Forms ribbon tab for determining how the document can be edited, when it is enforced to be protected. 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.RibbonPermissionsTab property. Each item has a name, available through its Name property, which corresponds with a member of the WPF.RibbonPermissionsTab.RibbonItem enumeration. The FrameworkElement.FindName method can be used to get a certain item and manipulate, move or delete it.

Introduced: 25.0.

Syntax

[C#]
public class RibbonPermissionsTab : System.Windows.Controls.Ribbon.RibbonTab
[Visual Basic]
Public Class RibbonPermissionsTab
  Inherits System.Windows.Controls.Ribbon.RibbonTab

Constructors

Constructor Description
RibbonPermissionsTab Initializes a new instance of the RibbonPermissionsTab class.

Properties

Property Description
AllowAddingUserNames Gets or sets a value indicating whether the user can add user names by the RibbonPermissionsTab's Add Users dialog that are not represented by the RegisteredUserNames property.
RegisteredUserNames Gets or sets an array of strings that represents those registered user names that can be added by the RibbonPermissionsTab's Add Users dialog.

Enumerations

Enumeration Description
RibbonItem Each RibbonItem represents an item in a WPF.RibbonPermissionsTab.

See Also