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

ModalWindow Placement in Pivot

2 Answers 41 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Peter
Top achievements
Rank 1
Peter asked on 04 Oct 2012, 02:58 PM
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 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 05 Oct 2012, 08:12 AM
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.

0
Parker
Top achievements
Rank 1
answered on 11 Oct 2012, 05:17 AM
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
Tags
Window
Asked by
Peter
Top achievements
Rank 1
Answers by
Victor
Telerik team
Parker
Top achievements
Rank 1
Share this question
or