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

Rad Form TitleBar Collapse

1 Answer 93 Views
TitleBar
This is a migrated thread and some comments may be shown as answers.
Donghee
Top achievements
Rank 1
Donghee asked on 11 Dec 2019, 03:24 PM

 How can I collapse the Titlebar ?

    this.FormElement.TitleBar.Visibility = ElementVisibility.Collapsed;

    => Not working

1 Answer, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 13 Dec 2019, 12:13 PM

Hello Donghee,

According to the attached picture, it seems that you have an MDI RadForm and you want to remove the title bar of the child form. In order to achieve this, you should set the FormBorderStyle property of the child form to None

RadForm childform = new RadForm();
this.IsMdiContainer = true;
childform.MdiParent = this;
childform.FormBorderStyle = FormBorderStyle.None;
childform.Show();

The FormBorderStyle property mimics the behavior of the same property of a standard windows form. A similar approach is demonstrated here:
https://stackoverflow.com/questions/50076948/remove-top-bar-on-child-form

I hope this helps. Please let me know if there is anything else I can help you with. 

Regards,
Nadya
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
TitleBar
Asked by
Donghee
Top achievements
Rank 1
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or