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

Telerik UI for WinForms - borderless form (still sizeable)

3 Answers 138 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joachim
Top achievements
Rank 1
Joachim asked on 30 Jan 2016, 01:47 PM
What feature of telerik UI for WinForms would be best utilized to create a borderless form?
I am aware of placing panels and detecting mouse move, but is there anything telerik offers that would suite this purpose better?

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 01 Feb 2016, 07:13 AM
Hello,

Thank you for writing.

You could use a ShapedForm and make its border color transparent:
ShapedForm f = new ShapedForm();
f.BorderColor = Color.Transparent;
f.Show();

Then you could add a RadTitleBar to it and you will have a sizable form with border.


I hope that you find this information useful. 

Regards,
Stefan
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Joachim
Top achievements
Rank 1
answered on 01 Feb 2016, 11:53 PM

Oh. I see that does solve the problem pretty easily, I was already working on detecting all controls that was toutching the end (0,2 and (Width-2,Width) and then add an events of those components for resizing of a borderless form.

Thank you.

0
Stefan
Telerik team
answered on 02 Feb 2016, 10:30 AM
You are most welcome!

Regards,
Stefan
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Joachim
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Joachim
Top achievements
Rank 1
Share this question
or