Tag Archives: control video

Set video position with a scroll bar with WPF in C#

The example Control a video with the WPF MediaElement in C# lets you set video position in several ways. You can use the Next or Previous buttons to adjust the video’s current position by 10 seconds. You can also enter … Continue reading

Posted in controls, graphics, multimedia, wpf, XAML | Tagged , , , , , , , , , , , , , , , , , , , , | Leave a comment

Make a XAML button library in C#

This example shows how you can build an easily reusable XAML button library in WPF. The example Make a WPF button template in C# uses a WPF button template to make nice round buttons that change their appearance appropriately when … Continue reading

Posted in controls, graphics, wpf, XAML | Tagged , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Make a WPF button template in C#

The example Control a video with the WPF MediaElement in C# uses attractive button images, but those images still sit on top of rectangular buttons. The images were generated by the example Make video control buttons in WPF and C#. … Continue reading

Posted in controls, graphics, multimedia, wpf | Tagged , , , , , , , , , , , , , , , , , , , , | Leave a comment

Control a video with the WPF MediaElement in C#

This example shows how you can control an MP4 video with WPF’s MediaElement control. The control provides a surprisingly nice assortment of features that let you play, pause, position, and otherwise control a video. The following XAML code defines the … Continue reading

Posted in controls, graphics, multimedia, wpf | Tagged , , , , , , , , , , , , , , , , , , | 2 Comments