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.
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. The default value is true.
Gets or sets an array of strings that represents those registered user names that can be added by the RibbonPermissionsTab's Add Users dialog. The default value is an empty array.
Methods
Method
Description
InitializeComponent
Not described in the reference. public void InitializeComponent();
Each RibbonItem represents an item in the RibbonPermissionsTab 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 RibbonPermissionsTab'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.