i have a gif with transparent background
I used this code
<MediaElement Name="yourMediaElement" Margin="144,83,602,166">
        <MediaElement.Triggers>
            <EventTrigger RoutedEvent="MediaElement.Loaded">
                <EventTrigger.Actions>
                    <BeginStoryboard>
                        <Storyboard>
                            <MediaTimeline Source="videos/stick_figure_podium_speech_group_anim_150_clr_9408.gif"
                        Storyboard.TargetName="yourMediaElement"  
                        RepeatBehavior="Forever" />
                        </Storyboard>
                    </BeginStoryboard>
                </EventTrigger.Actions>
            </EventTrigger>
        </MediaElement.Triggers>
    </MediaElement>
but it doesn't show the gif when i ran the code. it only shows in the design window with a black background
is there another way to load a gif image in wpf using vb?
 
     
    