Home > Uncategorized > Scrollable image in WP7/XAML

Scrollable image in WP7/XAML

Probably really obvious for anybody who’s worked with XAML before, but I was happy with a little discovery, where you can show an image and have it scroll too…

<ScrollViewer
            HorizontalScrollBarVisibility="Auto"
            VerticalScrollBarVisibility="Auto">
        <Image 
               HorizontalAlignment="Stretch" 
               Margin="0" Name="image1" 
               Stretch="None" 
               VerticalAlignment="Stretch" 

               Source="/ScrollViewer2;component/Images/dubai.png" />
        </ScrollViewer>
Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: