This is a migrated thread and some comments may be shown as answers.

Strange reaction control.

1 Answer 88 Views
LayoutControl
This is a migrated thread and some comments may be shown as answers.
Vincent
Top achievements
Rank 1
Iron
Iron
Vincent asked on 15 Oct 2020, 09:07 AM

Hi !

I've got layout like 1st file.

i want to add a radtextbox or textbox in a "LayaoutControlGroupItem4" like screen 2. this section is an observation zone with multiline text and button to valid.

Set to multiline (screen 3), radtextbox was small. and grow with size

Set Dock to Fill (screen4) but control move outside his zone.

and if i run project and set my form to all of my screen...

Something was strange.

Thanks for your help.

Here my Form2.Designer.cs, no code in form2.cs at this time

001.partial class Form2
002.   {
003.       /// <summary>
004.       /// Required designer variable.
005.       /// </summary>
006.       private System.ComponentModel.IContainer components = null;
007. 
008.       /// <summary>
009.       /// Clean up any resources being used.
010.       /// </summary>
011.       /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
012.       protected override void Dispose(bool disposing)
013.       {
014.           if (disposing && (components != null))
015.           {
016.               components.Dispose();
017.           }
018.           base.Dispose(disposing);
019.       }
020. 
021.       #region Windows Form Designer generated code
022. 
023.       /// <summary>
024.       /// Required method for Designer support - do not modify
025.       /// the contents of this method with the code editor.
026.       /// </summary>
027.       private void InitializeComponent()
028.       {
029.           Telerik.WinControls.UI.TableViewDefinition tableViewDefinition1 = new Telerik.WinControls.UI.TableViewDefinition();
030.           this.radLayoutControl1 = new Telerik.WinControls.UI.RadLayoutControl();
031.           this.radGridView1 = new Telerik.WinControls.UI.RadGridView();
032.           this.textBox1 = new System.Windows.Forms.TextBox();
033.           this.button1 = new System.Windows.Forms.Button();
034.           this.layoutControlSeparatorItem1 = new Telerik.WinControls.UI.LayoutControlSeparatorItem();
035.           this.layoutControlLabelItem1 = new Telerik.WinControls.UI.LayoutControlLabelItem();
036.           this.layoutControlLabelItem2 = new Telerik.WinControls.UI.LayoutControlLabelItem();
037.           this.layoutControlGroupItem1 = new Telerik.WinControls.UI.LayoutControlGroupItem();
038.           this.layoutControlGroupItem2 = new Telerik.WinControls.UI.LayoutControlGroupItem();
039.           this.layoutControlItem1 = new Telerik.WinControls.UI.LayoutControlItem();
040.           this.layoutControlGroupItem3 = new Telerik.WinControls.UI.LayoutControlGroupItem();
041.           this.layoutControlLabelItem4 = new Telerik.WinControls.UI.LayoutControlLabelItem();
042.           this.layoutControlSplitterItem1 = new Telerik.WinControls.UI.LayoutControlSplitterItem();
043.           this.layoutControlGroupItem4 = new Telerik.WinControls.UI.LayoutControlGroupItem();
044.           this.layoutControlItem2 = new Telerik.WinControls.UI.LayoutControlItem();
045.           this.layoutControlItem3 = new Telerik.WinControls.UI.LayoutControlItem();
046.           this.layoutControlLabelItem3 = new Telerik.WinControls.UI.LayoutControlLabelItem();
047.           this.layoutControlLabelItem5 = new Telerik.WinControls.UI.LayoutControlLabelItem();
048.           ((System.ComponentModel.ISupportInitialize)(this.radLayoutControl1)).BeginInit();
049.           this.radLayoutControl1.SuspendLayout();
050.           ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
051.           ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
052.           this.SuspendLayout();
053.           //
054.           // radLayoutControl1
055.           //
056.           this.radLayoutControl1.Controls.Add(this.radGridView1);
057.           this.radLayoutControl1.Controls.Add(this.textBox1);
058.           this.radLayoutControl1.Controls.Add(this.button1);
059.           this.radLayoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
060.           this.radLayoutControl1.Items.AddRange(new Telerik.WinControls.RadItem[] {
061.           this.layoutControlSeparatorItem1,
062.           this.layoutControlLabelItem1,
063.           this.layoutControlLabelItem2,
064.           this.layoutControlGroupItem1,
065.           this.layoutControlGroupItem2,
066.           this.layoutControlGroupItem3,
067.           this.layoutControlLabelItem4,
068.           this.layoutControlSplitterItem1,
069.           this.layoutControlGroupItem4,
070.           this.layoutControlLabelItem3,
071.           this.layoutControlLabelItem5});
072.           this.radLayoutControl1.Location = new System.Drawing.Point(0, 0);
073.           this.radLayoutControl1.Name = "radLayoutControl1";
074.           this.radLayoutControl1.Size = new System.Drawing.Size(800, 450);
075.           this.radLayoutControl1.TabIndex = 0;
076.           //
077.           // radGridView1
078.           //
079.           this.radGridView1.Location = new System.Drawing.Point(7, 350);
080.           //
081.           //
082.           //
083.           this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition1;
084.           this.radGridView1.Name = "radGridView1";
085.           this.radGridView1.Size = new System.Drawing.Size(403, 93);
086.           this.radGridView1.TabIndex = 3;
087.           //
088.           // textBox1
089.           //
090.           this.textBox1.Location = new System.Drawing.Point(428, 258);
091.           this.textBox1.Multiline = true;
092.           this.textBox1.Name = "textBox1";
093.           this.textBox1.Size = new System.Drawing.Size(365, 142);
094.           this.textBox1.TabIndex = 4;
095.           //
096.           // button1
097.           //
098.           this.button1.Location = new System.Drawing.Point(428, 412);
099.           this.button1.Name = "button1";
100.           this.button1.Size = new System.Drawing.Size(365, 27);
101.           this.button1.TabIndex = 5;
102.           this.button1.Text = "button1";
103.           this.button1.UseVisualStyleBackColor = true;
104.           //
105.           // layoutControlSeparatorItem1
106.           //
107.           this.layoutControlSeparatorItem1.Bounds = new System.Drawing.Rectangle(421, 446, 379, 4);
108.           this.layoutControlSeparatorItem1.Name = "layoutControlSeparatorItem1";
109.           //
110.           // layoutControlLabelItem1
111.           //
112.           this.layoutControlLabelItem1.Bounds = new System.Drawing.Rectangle(594, 26, 206, 200);
113.           this.layoutControlLabelItem1.DrawText = false;
114.           this.layoutControlLabelItem1.Name = "layoutControlLabelItem1";
115.           //
116.           // layoutControlLabelItem2
117.           //
118.           this.layoutControlLabelItem2.Bounds = new System.Drawing.Rectangle(0, 26, 209, 85);
119.           this.layoutControlLabelItem2.DrawText = false;
120.           this.layoutControlLabelItem2.Name = "layoutControlLabelItem2";
121.           //
122.           // layoutControlGroupItem1
123.           //
124.           this.layoutControlGroupItem1.Bounds = new System.Drawing.Rectangle(0, 0, 800, 26);
125.           this.layoutControlGroupItem1.Name = "layoutControlGroupItem1";
126.           this.layoutControlGroupItem1.Text = "layoutControlGroupItem1";
127.           //
128.           // layoutControlGroupItem2
129.           //
130.           this.layoutControlGroupItem2.Bounds = new System.Drawing.Rectangle(0, 323, 417, 127);
131.           this.layoutControlGroupItem2.Items.AddRange(new Telerik.WinControls.RadItem[] {
132.           this.layoutControlItem1});
133.           this.layoutControlGroupItem2.Name = "layoutControlGroupItem2";
134.           this.layoutControlGroupItem2.Text = "layoutControlGroupItem2";
135.           //
136.           // layoutControlItem1
137.           //
138.           this.layoutControlItem1.AssociatedControl = this.radGridView1;
139.           this.layoutControlItem1.Bounds = new System.Drawing.Rectangle(0, 0, 409, 99);
140.           this.layoutControlItem1.Name = "layoutControlItem1";
141.           this.layoutControlItem1.Text = "layoutControlItem1";
142.           //
143.           // layoutControlGroupItem3
144.           //
145.           this.layoutControlGroupItem3.Bounds = new System.Drawing.Rectangle(0, 196, 417, 127);
146.           this.layoutControlGroupItem3.Name = "layoutControlGroupItem3";
147.           this.layoutControlGroupItem3.Text = "layoutControlGroupItem3";
148.           //
149.           // layoutControlLabelItem4
150.           //
151.           this.layoutControlLabelItem4.Bounds = new System.Drawing.Rectangle(209, 26, 208, 170);
152.           this.layoutControlLabelItem4.DrawText = false;
153.           this.layoutControlLabelItem4.Name = "layoutControlLabelItem4";
154.           //
155.           // layoutControlSplitterItem1
156.           //
157.           this.layoutControlSplitterItem1.Bounds = new System.Drawing.Rectangle(417, 26, 4, 424);
158.           this.layoutControlSplitterItem1.Name = "layoutControlSplitterItem1";
159.           //
160.           // layoutControlGroupItem4
161.           //
162.           this.layoutControlGroupItem4.Bounds = new System.Drawing.Rectangle(421, 226, 379, 220);
163.           this.layoutControlGroupItem4.Items.AddRange(new Telerik.WinControls.RadItem[] {
164.           this.layoutControlItem2,
165.           this.layoutControlItem3});
166.           this.layoutControlGroupItem4.Name = "layoutControlGroupItem4";
167.           this.layoutControlGroupItem4.Text = "layoutControlGroupItem4";
168.           //
169.           // layoutControlItem2
170.           //
171.           this.layoutControlItem2.AssociatedControl = this.textBox1;
172.           this.layoutControlItem2.Bounds = new System.Drawing.Rectangle(0, 0, 371, 159);
173.           this.layoutControlItem2.ControlVerticalAlignment = Telerik.WinControls.UI.RadVerticalAlignment.Center;
174.           this.layoutControlItem2.Name = "layoutControlItem2";
175.           this.layoutControlItem2.Text = "layoutControlItem2";
176.           //
177.           // layoutControlItem3
178.           //
179.           this.layoutControlItem3.AssociatedControl = this.button1;
180.           this.layoutControlItem3.Bounds = new System.Drawing.Rectangle(0, 159, 371, 33);
181.           this.layoutControlItem3.Name = "layoutControlItem3";
182.           this.layoutControlItem3.Text = "layoutControlItem3";
183.           //
184.           // layoutControlLabelItem3
185.           //
186.           this.layoutControlLabelItem3.Bounds = new System.Drawing.Rectangle(421, 26, 173, 200);
187.           this.layoutControlLabelItem3.DrawText = false;
188.           this.layoutControlLabelItem3.Name = "layoutControlLabelItem3";
189.           //
190.           // layoutControlLabelItem5
191.           //
192.           this.layoutControlLabelItem5.Bounds = new System.Drawing.Rectangle(0, 111, 209, 85);
193.           this.layoutControlLabelItem5.DrawText = false;
194.           this.layoutControlLabelItem5.Name = "layoutControlLabelItem5";
195.           //
196.           // Form2
197.           //
198.           this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
199.           this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
200.           this.ClientSize = new System.Drawing.Size(800, 450);
201.           this.Controls.Add(this.radLayoutControl1);
202.           this.Name = "Form2";
203.           this.Text = "Form2";
204.           ((System.ComponentModel.ISupportInitialize)(this.radLayoutControl1)).EndInit();
205.           this.radLayoutControl1.ResumeLayout(false);
206.           this.radLayoutControl1.PerformLayout();
207.           ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
208.           ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
209.           this.ResumeLayout(false);
210. 
211.       }
212. 
213.       #endregion
214. 
215.       private Telerik.WinControls.UI.RadLayoutControl radLayoutControl1;
216.       private Telerik.WinControls.UI.LayoutControlSeparatorItem layoutControlSeparatorItem1;
217.       private Telerik.WinControls.UI.LayoutControlLabelItem layoutControlLabelItem1;
218.       private Telerik.WinControls.UI.LayoutControlLabelItem layoutControlLabelItem2;
219.       private Telerik.WinControls.UI.LayoutControlGroupItem layoutControlGroupItem1;
220.       private Telerik.WinControls.UI.LayoutControlGroupItem layoutControlGroupItem2;
221.       private Telerik.WinControls.UI.LayoutControlGroupItem layoutControlGroupItem3;
222.       private Telerik.WinControls.UI.LayoutControlLabelItem layoutControlLabelItem4;
223.       private Telerik.WinControls.UI.LayoutControlSplitterItem layoutControlSplitterItem1;
224.       private Telerik.WinControls.UI.LayoutControlGroupItem layoutControlGroupItem4;
225.       private Telerik.WinControls.UI.LayoutControlLabelItem layoutControlLabelItem3;
226.       private Telerik.WinControls.UI.LayoutControlLabelItem layoutControlLabelItem5;
227.       private Telerik.WinControls.UI.RadGridView radGridView1;
228.       private System.Windows.Forms.TextBox textBox1;
229.       private System.Windows.Forms.Button button1;
230.       private Telerik.WinControls.UI.LayoutControlItem layoutControlItem1;
231.       private Telerik.WinControls.UI.LayoutControlItem layoutControlItem2;
232.       private Telerik.WinControls.UI.LayoutControlItem layoutControlItem3;
233.   }

 

1 Answer, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 19 Oct 2020, 01:40 PM

Hello, Vincent,

The provided code snippet is greatly appreciated. I was able to use it in my sample project in order to see the result that you have.

If I understand you correctly, it seems that you would like to achieve a result like the one shown in the second picture (capture-d-écran-2020-10-15-104819.png). I modified the provided code snippet a little in order to reach the desired look by using RadTextBox and RadButton controls. 

Please refer to the following code snippet:

namespace TelerikWinFormsApp2
{
    partial class RadForm1
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Telerik.WinControls.UI.TableViewDefinition tableViewDefinition2 = new Telerik.WinControls.UI.TableViewDefinition();
            this.radLayoutControl1 = new Telerik.WinControls.UI.RadLayoutControl();
            this.radGridView1 = new Telerik.WinControls.UI.RadGridView();
            this.layoutControlSeparatorItem1 = new Telerik.WinControls.UI.LayoutControlSeparatorItem();
            this.layoutControlLabelItem1 = new Telerik.WinControls.UI.LayoutControlLabelItem();
            this.layoutControlLabelItem2 = new Telerik.WinControls.UI.LayoutControlLabelItem();
            this.layoutControlGroupItem1 = new Telerik.WinControls.UI.LayoutControlGroupItem();
            this.layoutControlGroupItem2 = new Telerik.WinControls.UI.LayoutControlGroupItem();
            this.layoutControlItem1 = new Telerik.WinControls.UI.LayoutControlItem();
            this.layoutControlGroupItem3 = new Telerik.WinControls.UI.LayoutControlGroupItem();
            this.layoutControlLabelItem4 = new Telerik.WinControls.UI.LayoutControlLabelItem();
            this.layoutControlSplitterItem1 = new Telerik.WinControls.UI.LayoutControlSplitterItem();
            this.layoutControlGroupItem4 = new Telerik.WinControls.UI.LayoutControlGroupItem();
            this.layoutControlLabelItem3 = new Telerik.WinControls.UI.LayoutControlLabelItem();
            this.layoutControlLabelItem5 = new Telerik.WinControls.UI.LayoutControlLabelItem();
            this.radTextBox1 = new Telerik.WinControls.UI.RadTextBox();
            this.layoutControlItem2 = new Telerik.WinControls.UI.LayoutControlItem();
            this.radButton1 = new Telerik.WinControls.UI.RadButton();
            this.layoutControlItem3 = new Telerik.WinControls.UI.LayoutControlItem();
            ((System.ComponentModel.ISupportInitialize)(this.radLayoutControl1)).BeginInit();
            this.radLayoutControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radTextBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.SuspendLayout();
            // 
            // radLayoutControl1
            // 
            this.radLayoutControl1.Controls.Add(this.radGridView1);
            this.radLayoutControl1.Controls.Add(this.radTextBox1);
            this.radLayoutControl1.Controls.Add(this.radButton1);
            this.radLayoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.radLayoutControl1.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.layoutControlSeparatorItem1,
            this.layoutControlLabelItem1,
            this.layoutControlLabelItem2,
            this.layoutControlGroupItem1,
            this.layoutControlGroupItem2,
            this.layoutControlGroupItem3,
            this.layoutControlLabelItem4,
            this.layoutControlSplitterItem1,
            this.layoutControlGroupItem4,
            this.layoutControlLabelItem3,
            this.layoutControlLabelItem5});
            this.radLayoutControl1.Location = new System.Drawing.Point(0, 0);
            this.radLayoutControl1.Name = "radLayoutControl1";
            this.radLayoutControl1.Size = new System.Drawing.Size(800, 450);
            this.radLayoutControl1.TabIndex = 0;
            // 
            // radGridView1
            // 
            this.radGridView1.Location = new System.Drawing.Point(7, 350);
            // 
            // 
            // 
            this.radGridView1.MasterTemplate.ViewDefinition = tableViewDefinition2;
            this.radGridView1.Name = "radGridView1";
            this.radGridView1.Size = new System.Drawing.Size(403, 93);
            this.radGridView1.TabIndex = 3;
            // 
            // layoutControlSeparatorItem1
            // 
            this.layoutControlSeparatorItem1.Bounds = new System.Drawing.Rectangle(421, 446, 379, 4);
            this.layoutControlSeparatorItem1.Name = "layoutControlSeparatorItem1";
            // 
            // layoutControlLabelItem1
            // 
            this.layoutControlLabelItem1.Bounds = new System.Drawing.Rectangle(594, 26, 206, 200);
            this.layoutControlLabelItem1.DrawText = false;
            this.layoutControlLabelItem1.Name = "layoutControlLabelItem1";
            // 
            // layoutControlLabelItem2
            // 
            this.layoutControlLabelItem2.Bounds = new System.Drawing.Rectangle(0, 26, 209, 85);
            this.layoutControlLabelItem2.DrawText = false;
            this.layoutControlLabelItem2.Name = "layoutControlLabelItem2";
            // 
            // layoutControlGroupItem1
            // 
            this.layoutControlGroupItem1.Bounds = new System.Drawing.Rectangle(0, 0, 800, 26);
            this.layoutControlGroupItem1.Name = "layoutControlGroupItem1";
            this.layoutControlGroupItem1.Text = "layoutControlGroupItem1";
            // 
            // layoutControlGroupItem2
            // 
            this.layoutControlGroupItem2.Bounds = new System.Drawing.Rectangle(0, 323, 417, 127);
            this.layoutControlGroupItem2.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.layoutControlItem1});
            this.layoutControlGroupItem2.Name = "layoutControlGroupItem2";
            this.layoutControlGroupItem2.Text = "layoutControlGroupItem2";
            // 
            // layoutControlItem1
            // 
            this.layoutControlItem1.AssociatedControl = this.radGridView1;
            this.layoutControlItem1.Bounds = new System.Drawing.Rectangle(0, 0, 409, 99);
            this.layoutControlItem1.Name = "layoutControlItem1";
            this.layoutControlItem1.Text = "layoutControlItem1";
            // 
            // layoutControlGroupItem3
            // 
            this.layoutControlGroupItem3.Bounds = new System.Drawing.Rectangle(0, 196, 417, 127);
            this.layoutControlGroupItem3.Name = "layoutControlGroupItem3";
            this.layoutControlGroupItem3.Text = "layoutControlGroupItem3";
            // 
            // layoutControlLabelItem4
            // 
            this.layoutControlLabelItem4.Bounds = new System.Drawing.Rectangle(209, 26, 208, 170);
            this.layoutControlLabelItem4.DrawText = false;
            this.layoutControlLabelItem4.Name = "layoutControlLabelItem4";
            // 
            // layoutControlSplitterItem1
            // 
            this.layoutControlSplitterItem1.Bounds = new System.Drawing.Rectangle(417, 26, 4, 424);
            this.layoutControlSplitterItem1.Name = "layoutControlSplitterItem1";
            // 
            // layoutControlGroupItem4
            // 
            this.layoutControlGroupItem4.Bounds = new System.Drawing.Rectangle(421, 226, 379, 220);
            this.layoutControlGroupItem4.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.layoutControlItem2,
            this.layoutControlItem3});
            this.layoutControlGroupItem4.Name = "layoutControlGroupItem4";
            this.layoutControlGroupItem4.Text = "layoutControlGroupItem4";
            // 
            // layoutControlLabelItem3
            // 
            this.layoutControlLabelItem3.Bounds = new System.Drawing.Rectangle(421, 26, 173, 200);
            this.layoutControlLabelItem3.DrawText = false;
            this.layoutControlLabelItem3.Name = "layoutControlLabelItem3";
            // 
            // layoutControlLabelItem5
            // 
            this.layoutControlLabelItem5.Bounds = new System.Drawing.Rectangle(0, 111, 209, 85);
            this.layoutControlLabelItem5.DrawText = false;
            this.layoutControlLabelItem5.Name = "layoutControlLabelItem5";
            // 
            // radTextBox1
            // 
            this.radTextBox1.Location = new System.Drawing.Point(428, 285);
            this.radTextBox1.Multiline = true;
            this.radTextBox1.Name = "radTextBox1";
            // 
            // 
            // 
            this.radTextBox1.RootElement.StretchVertically = true;
            this.radTextBox1.Size = new System.Drawing.Size(365, 25);
            this.radTextBox1.TabIndex = 5;
            // 
            // layoutControlItem2
            // 
            this.layoutControlItem2.AssociatedControl = this.radTextBox1;
            this.layoutControlItem2.Bounds = new System.Drawing.Rectangle(0, 0, 371, 96);
            this.layoutControlItem2.ControlVerticalAlignment = Telerik.WinControls.UI.RadVerticalAlignment.Center;
            this.layoutControlItem2.Name = "layoutControlItem2";
            this.layoutControlItem2.Text = "layoutControlItem2";
            // 
            // radButton1
            // 
            this.radButton1.Location = new System.Drawing.Point(428, 349);
            this.radButton1.Name = "radButton1";
            this.radButton1.Size = new System.Drawing.Size(365, 90);
            this.radButton1.TabIndex = 6;
            this.radButton1.Text = "radButton1";
            // 
            // layoutControlItem3
            // 
            this.layoutControlItem3.AssociatedControl = this.radButton1;
            this.layoutControlItem3.Bounds = new System.Drawing.Rectangle(0, 96, 371, 96);
            this.layoutControlItem3.Name = "layoutControlItem3";
            this.layoutControlItem3.Text = "layoutControlItem3";
            // 
            // RadForm1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(800, 450);
            this.Controls.Add(this.radLayoutControl1);
            this.Name = "RadForm1";
            // 
            // 
            // 
            this.RootElement.ApplyShapeToControl = true;
            this.Text = "Form2";
            ((System.ComponentModel.ISupportInitialize)(this.radLayoutControl1)).EndInit();
            this.radLayoutControl1.ResumeLayout(false);
            this.radLayoutControl1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radTextBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radButton1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
            this.ResumeLayout(false);

        }
        #endregion
        private Telerik.WinControls.UI.RadLayoutControl radLayoutControl1;
        private Telerik.WinControls.UI.LayoutControlSeparatorItem layoutControlSeparatorItem1;
        private Telerik.WinControls.UI.LayoutControlLabelItem layoutControlLabelItem1;
        private Telerik.WinControls.UI.LayoutControlLabelItem layoutControlLabelItem2;
        private Telerik.WinControls.UI.LayoutControlGroupItem layoutControlGroupItem1;
        private Telerik.WinControls.UI.LayoutControlGroupItem layoutControlGroupItem2;
        private Telerik.WinControls.UI.LayoutControlGroupItem layoutControlGroupItem3;
        private Telerik.WinControls.UI.LayoutControlLabelItem layoutControlLabelItem4;
        private Telerik.WinControls.UI.LayoutControlSplitterItem layoutControlSplitterItem1;
        private Telerik.WinControls.UI.LayoutControlGroupItem layoutControlGroupItem4;
        private Telerik.WinControls.UI.LayoutControlLabelItem layoutControlLabelItem3;
        private Telerik.WinControls.UI.LayoutControlLabelItem layoutControlLabelItem5;
        private Telerik.WinControls.UI.RadGridView radGridView1;
        private Telerik.WinControls.UI.LayoutControlItem layoutControlItem1;
        private Telerik.WinControls.UI.RadTextBox radTextBox1;
        private Telerik.WinControls.UI.RadButton radButton1;
        private Telerik.WinControls.UI.LayoutControlItem layoutControlItem2;
        private Telerik.WinControls.UI.LayoutControlItem layoutControlItem3;
    }
}

I attached the sample project for your reference as well. Below is the achieved result on my end:

I hope this helps. If you need further assistance do not hesitate to contact me.

Regards,
Nadya
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

Tags
LayoutControl
Asked by
Vincent
Top achievements
Rank 1
Iron
Iron
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or