modal RadWindow without window chrome?

6 posts, 0 answers
  1. Stuart
    Stuart avatar
    12 posts
    Member since:
    Feb 2009

    Posted 19 Mar 2009 Link to this post

    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.
  2. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 20 Mar 2009 Link to this post

    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.
  3. DevCraft banner
  4. Stuart
    Stuart avatar
    12 posts
    Member since:
    Feb 2009

    Posted 20 Mar 2009 Link to this post

    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
  5. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 24 Mar 2009 Link to this post

    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.
  6. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 20 Apr 2009 Link to this post

    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
  7. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 21 Apr 2009 Link to this post

    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.
Back to Top
DevCraft banner