Gets or sets the TextControl that is used for the predefined TextControl feature layouts.

Syntax

public TextControl TextControl { get; set; }

Examples

This snippet describes the TXTextControl.Windows.Forms.Sidebar.TextControl property.

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";
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; 
sidebar.TextControl = textControl1; // here, the TextControl is set