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

Window with no header

2 Answers 315 Views
Window
This is a migrated thread and some comments may be shown as answers.
capsule
Top achievements
Rank 1
capsule asked on 10 Feb 2010, 07:31 PM
Hi,

I apologize if this is a repost, I did not see a thread already containing it.  

What I'd like to do is to create a window with no borders, and with no header.  Basically when I'm retrieving data, I'd like to show a screen that notifies the user that the application is working.  Once the data has been obtained, I'll simply close the window.

After playing around with the examples and poking around at the control itself, I can set the border thickness = 0, but I can't get rid of the header.  Even if no text is supplied, the blank header section still shows (unlike winforms).

I'm hoping I just missed something minor, any help would be appreciated.

Thanks in advance,

Craig


2 Answers, 1 is accepted

Sort by
0
Accepted
Konstantina
Telerik team
answered on 12 Feb 2010, 11:24 AM
Hello Craig,

Thank you for contacting us.

Removing the header of the RadWindow can be quite easy. If you edit your project in Blend, right-click on the Window and select Edit Template->Edit a Copy. Blend will create for you the style of the Window. There you can remove the Grid, which holds the header of the Window. Also, mind for the border with  x:Name="innerShape" which Margin should be set to "0,0,0,0" otherwise there still be thick border on the top of the Window.
For your convenience I have performed these steps and attached I am sending you a sample project with a Window with no header.

If you have further questions please feel free to contact us again.

All the best,
Konstantina
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
capsule
Top achievements
Rank 1
answered on 12 Feb 2010, 07:21 PM
Thanks for your time, Konstantina.  That did the trick...
Tags
Window
Asked by
capsule
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
capsule
Top achievements
Rank 1
Share this question
or