TabSplitterContainer tabSplitterContainer1 = new TabSplitterContainer() { Dock = DockStyle.Fill };
this.Controls.Add(tabSplitterContainer1);
TabSplitterPage tabSplitterPage1 = new TabSplitterPage();
TabSplitterPage tabSplitterPage2 = new TabSplitterPage();
tabSplitterPage1.Text = "XAML";
tabSplitterPage2.Text = "Design";
editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl();
editControl1.Size = new Size(50, 50);
editControl1.Dock = DockStyle.Fill;
editControl1.BorderStyle = BorderStyle.Fixed3D;
tabSplitterPage1.Controls.Add(editControl1);
// Set back color.
tabSplitterPage1.BackColor = System.Drawing.SystemColors.ControlLightLight;
tabSplitterPage2.BackColor = System.Drawing.SystemColors.ControlLightLight;
//Set size to tabsplittercontainer
tabSplitterContainer1.Size = new System.Drawing.Size(443, 315);
// Add it to TabSplitterContainer.
tabSplitterContainer1.PrimaryPages.AddRange(new TabSplitterPage[] { tabSplitterPage1 });
tabSplitterContainer1.SecondaryPages.AddRange(new TabSplitterPage[] { tabSplitterPage2 }); |
TextBoxExt textBox = new TextBoxExt() { Dock = DockStyle.Fill, Text = "TextBox Added", ForeColor = Color.White, BackColor = Color.Gray };
editControl1.Text = textBox.Text;
|
this.editControl1.SetTextBorder(new Point(1, 1), new Point(8, 8), Color.DarkRed, FrameBorderStyle.DashDot, BorderWeight.Double);
|
(editControl1.Language as Syncfusion.Windows.Forms.Edit.Implementation.Config.ConfigLanguage).Format.Font = new Font("Calibri", 22);
|
this.editControl1.Language.Remove("String");
|