TX Text Control .NET for Windows Forms

Header 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 header. The header's text is shown in the application's caption, when the group is visible.

Syntax

public string Header { get; set; }

Examples

The following example uses ContextualTabGroup.Header to configure header as part of the contextual tab group workflow. The configured value is checked before the workflow continues.

contextualTabGroup.Header = "Quarterly report";
if (!string.IsNullOrWhiteSpace(contextualTabGroup.Header))
{
    Console.WriteLine($"Header: {contextualTabGroup.Header}");
}