wpf - Can't change MediaTimeline's RepeatBehavior after it's started? -


i'm running mediaelement using mediatimeline , mediaclock. however, when change repeatbehavior after it's started has no effect, i.e. when set repeatbehavior.forever , begin(), changing repeatbehavior(1) has no effect - timeline continues forever. likewise if timeline set repeatbehavior(1) changing repeatbehavior.forever afetr clock has started has no effect , timeline stops @ it's original duration.

it's duration doesn't updated these changes. yet cannot change duration either.

is there way change repeatbehavior after clock has started?

you can try stopping animation, changing repeatbehaviour , launching animation same point stopped, user doesn't notice stopped.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -