Gets or sets the color of the title bar's text. The default value is the ARGB value (255, 43, 87, 154).
public System.Drawing.Color TitleForeColor { get; set; }
Public Property TitleForeColor() As System.Drawing.Color
This example describes the TXText
TXTextControl.Windows.Forms.Sidebar sidebar = new TXTextControl.Windows.Forms.Sidebar();
sidebar.ShowPinButton = false;
sidebar.IsPinned = true;
sidebar.IsShown = false;
sidebar.IsSizable = false;
sidebar.ShowTitle = false;
sidebar.TitleFont = new System.Drawing.Font("Times New Roman", 12 );
sidebar.Text = "mySidebarText"; // here, the Text property is set
sidebar.DialogStyle = TXTextControl.Windows.Forms.Sidebar.SidebarDialogStyle.Standard;
sidebar.DialogSize = System.Drawing.Size.Empty;
sidebar.DialogLocation = System.Drawing.Point.Empty;
sidebar.ContentLayout = TXTextControl.Windows.Forms.Sidebar.SidebarContentLayout.None;
sidebar.Content = myControl;
sidebar.TitleForeColor = System.Drawing.Color.Black; // here, the TitleForeColor is set
Dim sidebar As TXTextControl.Windows.Forms.Sidebar = New TXTextControl.Windows.Forms.Sidebar()
sidebar.ShowPinButton = False
sidebar.IsPinned = True
sidebar.IsShown = False
sidebar.IsSizable = False
sidebar.ShowTitle = False
sidebar.TitleFont = New System.Drawing.Font("Times New Roman", 12)
sidebar.Text = "mySidebarText"
sidebar.DialogStyle = TXTextControl.Windows.Forms.Sidebar.SidebarDialogStyle.Standard
sidebar.DialogSize = System.Drawing.Size.Empty
sidebar.DialogLocation = System.Drawing.Point.Empty
sidebar.ContentLayout = TXTextControl.Windows.Forms.Sidebar.SidebarContentLayout.None
sidebar.Content = myControl
sidebar.TitleForeColor = System.Drawing.Color.Black ' here, the TitleForeColor is set