This question is locked. New answers and comments are not allowed.
Hello,
I have a problem with the placement of my modal window.
My app must support different orientations. Here is the XAML for my window:
But if the modal window is already open and then the emulator is rotated to landscape the location of the window is not adjusted accordingly (see Screenshot1.png). If I open the window in landscape the initial position is OK. But when I rotate it back to portrait it becomes even worse (see Screenshot2.png).
Do you have a tip for me how to handle this?
Thank you.
I have a problem with the placement of my modal window.
My app must support different orientations. Here is the XAML for my window:
<
Grid
x:Name
=
"ContentPanel"
Grid.Row
=
"1"
>
<
telerikPrimitives:RadModalWindow
x:Name
=
"radWindow"
Background
=
"{StaticResource ModalWindowBackground}"
Placement
=
"CenterCenter"
>
<!-- Controls follow here... -->
</
telerikPrimitives:RadModalWindow
>
</
Grid
>
Do you have a tip for me how to handle this?
Thank you.