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

Displaying image inside Panorama Title in Windows Phone applications

DZone's Guide to

Displaying image inside Panorama Title in Windows Phone applications

· Mobile Zone ·
Free Resource

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>

 

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}