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

Appbar is not (fully) restored after Radwindow with appbar is closed

1 Answer 14 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Matej
Top achievements
Rank 1
Matej asked on 18 Jul 2014, 02:30 PM
Hi

I discovered bug in abbar restoration after closing radwindow or fullscreen picker. If appbar has background color with opacity, background color is not property set to restored appbar. (because opacity is 1 (not opaque), content is padded to top of page, and it has graphical consequences)

<phone:PhoneApplicationPage.ApplicationBar>
       <shell:ApplicationBar
           IsVisible="True"
           IsMenuEnabled="True"
           Mode="Default">
           <shell:ApplicationBar.BackgroundColor>
               <Color>#1000ff00</Color>
           </shell:ApplicationBar.BackgroundColor>
 
           <shell:ApplicationBarIconButton
               IconUri="/Assets/ApplicationBar.Redo.png"
               Text="text" />
 
       </shell:ApplicationBar>
   </phone:PhoneApplicationPage.ApplicationBar>

On page is only datepicker...

In attatched files, "before" is appbar with transparent background before datepicker was opened.
"after" is appbar after picker was closed.

It is Windows phone 8 silverlight project and controls is in (trial) version: 2014.2.617.3040

I will add link to Minimal project for reproduce the error later, but it is only writed appbar, with datepicker.

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 23 Jul 2014, 12:36 PM
Hi Matej,

Indeed, we were able to reproduce the described behavior. To workaround it, you can subscribe to PopupClose event of RadDatePicker and restore the app bar opacity:

void datePicker_PopupClosed(object sender, EventArgs e)
        {
            this.ApplicationBar.Opacity = 0.1;
        }


Best regards,
Ves
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Matej
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or