TX Text Control .NET for Windows Forms

RibbonPermissionsTab Class

Class|Introduced in 25.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Windows.Forms.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.Windows.Forms.dll from the setup.
Inherits
  1. TabPage
  2. RibbonTab
  3. RibbonPermissionsTab

Description

The RibbonPermissionsTab class represents a Windows Forms ribbon tab for determining how the document can be edited, when it is enforced to be protected.

Syntax

public class RibbonPermissionsTab : RibbonTab

Examples

The following example creates a Ribbon Permissions Tab instance and configures its allow adding user names setting for a document workflow.

using TXTextControl.Windows.Forms.Ribbon.RibbonPermissionsTab ribbonPermissionsTab = new();
ribbonPermissionsTab.AllowAddingUserNames = true;

Members

Constructors

ConstructorDescription
RibbonPermissionsTabInitializes a new instance of the RibbonPermissionsTab class.
RibbonTabInitializes a new instance of the RibbonTab class. (Inherited from RibbonTab.)

Properties

PropertyDescription
AllowAddingUserNamesGets 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.
KeyTipGets or sets the keyboard shortcut of the RibbonTab. (Inherited from RibbonTab.)
RegisteredUserNamesGets 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.
RibbonGroupsGets a collection of all RibbonGroups in a RibbonTab. A RibbonGroup then hosts controls that represent application commands. The property value is of the type RibbonGroupCollection. (Inherited from RibbonTab.)

Methods

MethodDescription
FindItemFinds a control that has the provided RibbonPermissionsTab.RibbonItem identifier.
ResetKeyTipNot described in the reference. public void ResetKeyTip();

Enumerations

EnumerationDescription
RibbonDropDownItemEach RibbonDropDownItem represents a drop-down item in the RibbonPermissionsTab. 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 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 FindItem 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.