I am creating a media player app in WPF c#. I am using Media Element to do this.
Anyways, I have used <Border> </Border>
to add border some places.
<Border Name="hej1">
<Border.Background>
<ImageBrush ImageSource="Images\music.png" Stretch="None"/>
</Border.Background>
<MediaElement ..../>
</Border>
I want to change the ImageSource to some other picture programmatically, how to do that?
I have tried but no success.
So for every song the image in <ImageBrush ImageSource="Images\music.png"
is changed.
Thanks in advance
Shafi