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

2 posts, 0 answers
  1. Matej
    Matej avatar
    3 posts
    Member since:
    Nov 2013

    Posted 18 Jul 2014 Link to this post

    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.
  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 23 Jul 2014 Link to this post

    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.

     
  3. DevCraft banner
Back to Top