How to use telerik slider with a play and pause button. Slider Should move till end when we press Play button automatically

3 posts, 0 answers
  1. Chandan
    Chandan avatar
    2 posts
    Member since:
    Apr 2015

    Posted 07 Apr 2015 Link to this post

    i want a video player kind of functionality in Slider. The slider movement should be handled from play ,pause or stop button 
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 08 Apr 2015 Link to this post

    Hi Chandan,

    All you need to do is to use the Value property of the Slider - by changing the value programmatically , the Slider's Thumb will be moved automatically. The rest is of the work is a code to update the Value accordingly, for example while playing, you will probably need a Timer with Tick event which fires frequently and you calculate and set the next Value based on the current video progress. 

    Regards,
    Petar Mladenov
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Chandan
    Chandan avatar
    2 posts
    Member since:
    Apr 2015

    Posted 09 Apr 2015 in reply to Petar Mladenov Link to this post

    Thanks (:
Back to Top