4
Reply

Background image for a page in Silverlight

mahesh

mahesh

Aug 3 2011 12:03 AM
2k
Dear All,
  I want to show image as background in silverlight page.i have included this code in xaml:
<Grid.Background>
    <ImageBrush ImageSource="D:\body-background.jpg"/>
</Grid.Background>

it's showing image but when i run my project then it was not showing background image for a page.how can i solve this problem?

Thanks in advance

Answers (4)