tags:

views:

18

answers:

1

To play a video for just 20sec out of the whole video in Blend/WPF using C# language?

Thanks.

A: 

This C# Corner article explains how to do it, including an example app.

You need something like this in your XAML (from the article):

<MediaElement Name="VideoControl" Width="200" Height ="400"
              Source="C:\TestV.MPG" >    
</MediaElement> 
Grant Crofton