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

modal RadWindow without window chrome?

5 Answers 280 Views
Window
This is a migrated thread and some comments may be shown as answers.
Stuart
Top achievements
Rank 1
Stuart asked on 19 Mar 2009, 11:13 PM
Hi, the subject really says it all. It is possible to create a modal RadWindow without window chrome? Presumably this would be done through extensive manipulation of the ControlTemplate.

Thanks.

5 Answers, 1 is accepted

Sort by
0
Hristo Borisov
Telerik team
answered on 20 Mar 2009, 02:44 PM
Hello Stuart,

Can you explain a little bit further what do you mean by chrome? If you are willing to modify the control template just make sure you don't delete any of the controls that have explicit names in the x:Name tag, because you may experience some strange behavior. I am looking forward to receiving your request in further details that will allows us better suit your needs.

Regards,
Hristo Borisov
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Stuart
Top achievements
Rank 1
answered on 20 Mar 2009, 04:18 PM
Hi Hristo,

Essentially, I want the RadWindow's content to be displayed, without toolbar (thus no pin / minimize / close) or border around the content.

Thanks for any additional details you can provide.

cheers,
~stuart
0
Boyan
Telerik team
answered on 24 Mar 2009, 04:56 PM
Hi Stuart,

 Sorry for the late reply. You can remove windows' buttons by using the corresponding properties:
CloseMode="None", PinMode="NoPin",  ResizeMode="NoResize".

 You can remove the border by this setting: BorderThickness="0", but there is no property to remove the header of the window. It can be removed only by editing the template. You can do that in blend by selecting the RadWindow then right click and chose "Edit Template" option.

 Let me know if you need additional info.
 
Sincerely yours,
Boyan
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
ManniAT
Top achievements
Rank 2
answered on 20 Apr 2009, 04:45 PM
I guess my problem fits here.

I want to build some "informational Windows". The user should be able to:
Drag them around (not problem).
NOT be able to resize them (partial possible "NoResize")
Be able to minimize them. (partial Possible "CanMinimize")

So my problem - either he can resize - or he can't minimize.

By the way - when I try to remove all buttons there is a "bad looking hole" on the place where the buttons reside normally.

Regards

Manfred
0
Boyan
Telerik team
answered on 21 Apr 2009, 01:24 PM
Hello Manfred,

 Currently this can be achieved only by editing the template.  You are right that the current implementation is not very flexible and we will discuss about changing it.

   I have attached a simple project to show how can you edit the template to fit your needs. Note the commented text on line 406, these are the lines responsible for the hiding of minimize button. In this application if you minimize the window you you wont be able to maximize it again so maybe you will need to delete the lines for the maximize button as well.

 If you need more help please let me know.


Best wishes,
Boyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Window
Asked by
Stuart
Top achievements
Rank 1
Answers by
Hristo Borisov
Telerik team
Stuart
Top achievements
Rank 1
Boyan
Telerik team
ManniAT
Top achievements
Rank 2
Share this question
or