TX Text Control .NET for Windows Forms

TitleFont Property

Property|Introduced in 26.0
Namespace
TXTextControl.Windows.Forms
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 font of the title bar's text. The default value is the font type 'Calibri Light' with a size of 18.

Syntax

public System.Drawing.Font TitleFont { get; set; }

Examples

The following example uses Sidebar.TitleFont to configure title font as part of the sidebar workflow. The change is then applied to the active document or user interface.

sidebar.TitleFont = new System.Drawing.Font("Arial", 11.0f);
sidebar.Update();