TX Text Control .NET for Windows Forms

Name Property

Property|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the group's name.

Syntax

public string Name { get; set; }

Examples

The following example uses ContextualTabGroup.Name to give the contextual tab group a stable, descriptive name. The configured value is checked before the workflow continues.

contextualTabGroup.Name = "ContextualTabGroup1";
if (!string.IsNullOrWhiteSpace(contextualTabGroup.Name))
{
    Console.WriteLine($"Name: {contextualTabGroup.Name}");
}