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

RadWindow – (No Borders)

8 Answers 199 Views
Window
This is a migrated thread and some comments may be shown as answers.
Top Gun
Top achievements
Rank 1
Top Gun asked on 08 Nov 2009, 03:12 AM

I am using the Rad Window and I would like to make some changes.  However, I do not want the header part.  (This is the top part which includes the minimize, maximize and close icons/buttons.)  How do I remove this part along with the borders on the sides?

Thanks.

 

RadWindow myPopUp = new RadWindow();

myPopUp.WindowStartupLocation = WindowStartupLocation.CenterScreen;

myPopUp.Width = 350;

myPopUp.Height = 300;          

myPopUp.Content = new MyContent();         

myPopUp.BorderThickness = new Thickness(0);         

myPopUp.ShowDialog();

8 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 12 Nov 2009, 11:34 AM
Hello,

You can do so by creating custom template. You can check the attached project to see simple window style that have no borders and header. You will have to add the template xaml as resource and assign the window style to your window instance.

Thanks for your interest in our  controls.

Greetings,
Panayot
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Top Gun
Top achievements
Rank 1
answered on 20 Nov 2009, 09:09 PM
I appreciate the help.  That worked well.
0
Simon Nugent
Top achievements
Rank 1
answered on 17 Sep 2011, 11:33 PM
after showing the window it cannot be moved. how can I simulate header hittest somewhere in content area?
\tx
0
Miroslav Nedyalkov
Telerik team
answered on 21 Sep 2011, 11:47 AM
Hi Simon,

 This is not supported out-of-the-box with the new implementation of the RadWindow control, but could be achieved by extended the "Caption area" using the CaptionHeight property of the RadWindow control. This cannot be moved to an arbitrary place in the window - just starts from the top and its height is the value of the CaptionHeight property.

Hope this helps.

Greetings,
Miroslav Nedyalkov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Eric
Top achievements
Rank 1
answered on 06 Feb 2015, 08:58 PM
Can you please send us the complete radWindow Style with only the Close button removed?

IOW, the complete list of properties default settings for RadWindow.

Thank you!
0
Kalin
Telerik team
answered on 09 Feb 2015, 01:39 PM
Hi Eric,

Can you let us know which theme are using?

Regards,
Kalin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Eric
Top achievements
Rank 1
answered on 09 Feb 2015, 02:46 PM
SummerTheme

Thanks,
0
Nasko
Telerik team
answered on 10 Feb 2015, 12:49 PM
Hi Eric,

We have created a sample project for you that demonstrates how to remove the close button of RadWindow. You just need to create a new style that should be based on the default RadWindowStyle. By removing the Button named "PART_CloseButton" of the window's Template the desired appearance could be achieved (notice that we have used Implicit Styles in the sample project).

Hopes this helps.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Window
Asked by
Top Gun
Top achievements
Rank 1
Answers by
Pana
Telerik team
Top Gun
Top achievements
Rank 1
Simon Nugent
Top achievements
Rank 1
Miroslav Nedyalkov
Telerik team
Eric
Top achievements
Rank 1
Kalin
Telerik team
Nasko
Telerik team
Share this question
or