AllowAddingUserNames Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
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; }Public Property AllowAddingUserNames As BooleanExamples
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.");
}ribbonPermissionsTab.AllowAddingUserNames = True
If ribbonPermissionsTab.AllowAddingUserNames Then
Console.WriteLine("Ribbon Permissions Tab: Allow Adding User Names is enabled.")
End If