fullscreen video after click

Sep 13, 2011 at 11:33 AM

Hi, does anyone know, how to view the view the video in fullscreen mode after the click on the video? When the app is started the video is in another control but after click I want it to be fullscreen. 

For MediaElement in WPF works something like this: http://social.msdn.microsoft.com/forums/en-US/wpf/thread/946c4aae-0e94-4f62-b090-14e7fb9bbca5/ , however for WPF MediaKit this doesnt work and I see only blank screen.

Sep 13, 2011 at 12:20 PM

SOLVED: OK, it is everytime interresting, that after couple hours I did make a post here and few minutes after that I found solution. 

It's good to set the UnloadedBehavior to Pause, I think default is Close.

player.UnloadedBehavior = WPFMediaKit.DirectShow.MediaPlayers.MediaState.Pause;