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

Disable borders TabbedForm

3 Answers 113 Views
TabbedForm
This is a migrated thread and some comments may be shown as answers.
Serg
Top achievements
Rank 1
Veteran
Serg asked on 23 Jul 2020, 10:23 PM

How do I remove borders from a form? Leaving the ability to resize the form.
To form elements occupy the entire form without indentation.

3 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 24 Jul 2020, 05:43 AM

Hello, Serg, 

You can specify the FormElement.BorderThickness property. However, it is necessary to set it at least to 1 in order to be able to resize the form. An alternative approach is to completely collapse the border element.

        private void RadTabbedForm1_Shown(object sender, EventArgs e)
        {
            this.FormBorderStyle = FormBorderStyle.SizableToolWindow;
            this.ControlBox = false; 
            this.FormElement.Border.Visibility = ElementVisibility.Collapsed;
        }

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

0
Serg
Top achievements
Rank 1
Veteran
answered on 24 Jul 2020, 08:30 AM
In your picture, I see the border. Is it possible to make the border completely invisible and so that it does not take up space.
Many applications now do this. How do they do it?
This is how the borders of the browser and Visual Studio look (in the picture below). How do make the exact same border? :)
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 27 Jul 2020, 10:51 AM

Hello, Serg,

By default, the AllowAero property of the RadTabbedForm is disabled. If you enable it, you will obtain slightly different look of the form's border as it is illustrated below:

AllowAero= false:

AllowAero= true:

Thus, you can obtain maximum space of the client area in the form. Please give it a try and see how it would work for your scenario.

Should you have further questions please let me know.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Tags
TabbedForm
Asked by
Serg
Top achievements
Rank 1
Veteran
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Serg
Top achievements
Rank 1
Veteran
Share this question
or