ModalWindow Placement in Pivot

3 posts, 0 answers
  1. Peter
    Peter avatar
    1 posts
    Member since:
    Sep 2011

    Posted 04 Oct 2012 Link to this post

    Hi

    I'm trying Telerik for Windows Phone and is an amazing set of components but i can't achieve one goal:
    1 ) How can i center a modal window in a pivot item (the result is expanded)

    Best Regards
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 05 Oct 2012 Link to this post

    Hello Peter,

    Thanks for writing.
    This should be possible. Please post the XAML that you are using. This way I will be able to give pointers to what is missing or what is wrong.
    I am looking forward to your reply.

    Greetings,
    Victor
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Parker
    Parker avatar
    1 posts
    Member since:
    Oct 2012

    Posted 11 Oct 2012 Link to this post

    If you do use Set Window Placement be careful. It should only be called with values returned from Get Window Placement. It uses work space coordinates, not screen coordinates so if you pass it coordinates from Get Window Pos or similar functions then your windows will start moving around on systems that have something docked to the top of the desktop. (e.g. Task bar or a toolbar at the top of the primary monitor.)
    regards:
     Cygnis Media
Back to Top