Displaying image inside Panorama Title in Windows Phone applications

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>


This entry was posted in Development, Layout, Tips & Tricks, Windows Phone 7 and tagged , , , . Bookmark the permalink.

3 Responses to Displaying image inside Panorama Title in Windows Phone applications

  1. Brandon says:

    Not obvious to me, but then again I’m far from a designer. Why is this the case?

  2. rizecorp says:

    Yes you are right ! if we check the original Panorama Template we might find the answer.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Comments links could be nofollow free.

Notify me of followup comments via e-mail. You can also subscribe without commenting.