locked
Implement TimeSpan for Video is playing!

    Question

  • Hello everyone , as title above , when video is playing , I want display 2 textblock  - one for time remaining of video and one for left time ?

    Regard!


    OmegaVN - Window Phone Application Researching and Development

    Sunday, March 1, 2015 5:46 PM

Answers

  • While you can bind to the Position property, since it changes very frequently this is one of the places you may be better off polling. You can set a timer which runs at the precision you want, checks the position, and sets properties for time passed and time remaining which you can bind your TextBlocks to.

    • Marked as answer by OmegaVN Monday, March 2, 2015 10:29 AM
    Sunday, March 1, 2015 11:57 PM
    Owner