mahesh

mahesh

  • NA
  • 116
  • 77.5k

Background image for a page in Silverlight

Aug 3 2011 12:03 AM
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)