This question is locked. New answers and comments are not allowed.
This code used to work but now does not (WP7 nor WP8). Clicking a button opens the RadWindow and clicking a button within the window or outside the window closes the window. The first time, it works correctly and from then on, does not.
The 2nd attempt to open the window does work (opening and opened events fire) but the window does not display. Closing the invisible window does briefly pop up the window and the close animation runs.
The open animation is set to use the default properties which assumes Axes="Y". If I change to use Axes="N", the open animation works and the invisible window is left displayed. So this is a good temp fix but I'd like to use Axes="Y" on the open.
I have a test project but was unable to attach it to this post.
Gary Davis
The 2nd attempt to open the window does work (opening and opened events fire) but the window does not display. Closing the invisible window does briefly pop up the window and the close animation runs.
The open animation is set to use the default properties which assumes Axes="Y". If I change to use Axes="N", the open animation works and the invisible window is left displayed. So this is a good temp fix but I'd like to use Axes="Y" on the open.
I have a test project but was unable to attach it to this post.
Gary Davis
<
telerikPrimitives:RadWindow
Name
=
"WndQueueItButtons"
IsClosedOnOutsideTap
=
"True"
Placement
=
"TopCenter"
VerticalOffset
=
"200"
>
<
telerikPrimitives:RadWindow.OpenAnimation
>
<
telerik:RadPlaneProjectionAnimation
Axes
=
"Y"
/>
<!-- or omit Axes="Y" which is the default -->
</
telerikPrimitives:RadWindow.OpenAnimation
>
<
telerikPrimitives:RadWindow.CloseAnimation
>
<
telerik:RadPlaneProjectionAnimation
Axes
=
"X"
EndAngleX
=
"90"
EndAngleY
=
"90"
EndAngleZ
=
"90"
StartAngleX
=
"0"
StartAngleY
=
"0"
StartAngleZ
=
"0"
/>
</
telerikPrimitives:RadWindow.CloseAnimation
>
<
Border
CornerRadius
=
"10"
Padding
=
"5,2"
Background
=
"#FFA7BEDA"
BorderThickness
=
"3"
BorderBrush
=
"#FF006280"
>
<
StackPanel
>
<
TextBlock
HorizontalAlignment
=
"Center"
FontWeight
=
"Bold"
Foreground
=
"#FFAA0000"
FontSize
=
"24"
Name
=
"TbxWndTitle"
TextWrapping
=
"Wrap"
Text
=
"Do you want to?"
/>
<
StackPanel
Orientation
=
"Horizontal"
HorizontalAlignment
=
"Center"
>
<
Button
Click
=
"BtnQueueItClick"
Margin
=
"10,0,0,0"
Foreground
=
"#FF006280"
BorderBrush
=
"#FF006280"
Name
=
"Btn1"
Content
=
"Yes"
/>
<
Button
Click
=
"BtnQueueItClick"
Margin
=
"5,0,0,0"
Foreground
=
"#FF006280"
BorderBrush
=
"#FF006280"
Name
=
"Btn2"
Content
=
"No"
/>
</
StackPanel
>
</
StackPanel
>
</
Border
>
</
telerikPrimitives:RadWindow
>