Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Displaying image inside Panorama Title in Windows Phone apps

DZone's Guide to

Displaying image inside Panorama Title in Windows Phone apps

· Mobile Zone
Free Resource

Launching an app doesn’t need to be daunting. Whether you’re just getting started or need a refresher on mobile app testing best practices, this guide is your resource! Brought to you in partnership with Perfecto

Although it might seem too obvious, but still many developers and designers forget that top-margin should be equal to 80 for the content inside Panorama Title(in my example bellow Margin=”0,80,0,0″ for Grid element). Bellow is the XAML markup that you might use to display an image inside Panorama Title in Windows Phone applications.
<controls:Panorama>
    <controls:Panorama.Title>
        <Grid Margin="0,80,0,0">
            <Image Source="{StaticResource ApplicationLogo}"
                    HorizontalAlignment="Left"
                    Width="400" Height="50" />
        </Grid>
    </controls:Panorama.Title>
        ...
</controls:Panorama>


Source:  http://www.eugenedotnet.com/2011/12/displaying-image-inside-panorama-title-in-windows-phone-applications/


Keep up with the latest DevTest Jargon with the latest Mobile DevTest Dictionary. Brought to you in partnership with Perfecto.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}