Mostafiz Rahman
Mostafiz Rahman

Reputation: 8562

How to set a background image in Scrollviewer in Windows Phone 8.1 app

I want to set a Background Image to a Scrollview. The Scrollview is the root view of the app(I mean, all other views are nested to it). Is it possible to set a background image to it?

I'm building my app with C# and XAML.

Upvotes: 1

Views: 804

Answers (1)

Abdullah El-Menawy
Abdullah El-Menawy

Reputation: 388

<ScrollViewer>
        <ScrollViewer.Background>
            <ImageBrush ImageSource="your_image_uri"/>
        </ScrollViewer.Background>
    </ScrollViewer>

Upvotes: 2

Related Questions