0

I want to play GIF (.gif) file repeatly in WPF applications by using MediaElement controls. Below i have attached my currently using code.

<MediaElement x:Name="recImageMedia"  Height="67" Margin="43,-70,816.2,0" LoadedBehavior="Play" Source="file://C:\Users\documents\visual studio 2013\Projects\Application\TempApplication\Snapshots\recordanim.gif" Visibility="Visible" />

1 Answers1

0

StackOverflow suggests at least two possible solutions to your problem. The first is to use the MediaTimeline control as referenced here

MediaTimeline SO Answer

Alternatively, you may find some use in utilising MediaElement from WPF MediaKit

WPF MediaKit SO Answer

Community
  • 1
  • 1
Alex Hopkins
  • 872
  • 9
  • 11