Home » c# » c# – "binding" slider to media element-Exceptionshub

c# – "binding" slider to media element-Exceptionshub

Posted by: admin February 24, 2020 Leave a comment

Questions:

First off I am new to C# & wpf and I have done a lot of searching through forums.

I am trying to find an elegant way to “bind” a sliders value to the mediaelement position.
Currently I am using a timer. In the timer I set the slider value based on the position. However, I lose manual control of the slider. I want to be able to grab the slider and move it to a new position as well, but it wont because its being update in the timer event.

Any suggestions? Thanks in advance

How to&Answers: