Gets or sets the size of the dialog where the Sidebar is placed, if the Sidebar.
public System.Drawing.Size DialogSize { get; set; }
This example shows the usage of the TXText
TXTextControl.Windows.Forms.Sidebar sidebar = new TXTextControl.Windows.Forms.Sidebar();
sidebar.ShowPinButton = false;
sidebar.IsPinned = false; // must be set to false
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; // here, the DialogSize property is set