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.

Syntax

public class RibbonPermissionsTab : System.Windows.Controls.Ribbon.RibbonTab
Public Class RibbonPermissionsTab
  Inherits System.Windows.Controls.Ribbon.RibbonTab

Introduced: X15.

Constructors

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

Enumerations

Enumeration Description
RibbonItem Each RibbonItem represents an item in the RibbonPermissionsTab that is not a drop-down item.

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.