Show first frame of video in WPF MediaElement
问题 I have a WPF-application with a MediaElement which I use to run a video. I don't want the video to autoplay when loaded, so I set the LoadedBehavior to Manual. <MediaElement LoadedBehavior="Manual" Source="foo.wmv" MediaOpened="videoElement_MediaOpened" /> However; I want the element to show the first frame of the video when loaded. Is there any magic way of doing this? 回答1: You also need ScrubbingEnabled="True" Then set an event on Load Loaded="Video1_Loaded" In the Video1_Load method add