TX Text Control .NET for WPF

AllowAddingUserNames Property

Property|Introduced in 25.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

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.

Syntax

public bool AllowAddingUserNames { get; set; }

Examples

The following example uses RibbonPermissionsTab.AllowAddingUserNames to configure allow adding user names as part of the ribbon permissions tab workflow. The configured value is checked before the workflow continues.

ribbonPermissionsTab.AllowAddingUserNames = true;
if (ribbonPermissionsTab.AllowAddingUserNames)
{
    Console.WriteLine("Ribbon Permissions Tab: Allow Adding User Names is enabled.");
}