Full screen not supported in multiple windows oob

1 posts, 0 answers
  1. caleb
    caleb avatar
    32 posts
    Member since:
    Sep 2011

    Posted 13 Oct 2016 Link to this post

    Hello Gang,

    There doesn't seem to be a way to get the RadMediaPlayer to support multiple windows.  The expand button will expand the main Silverlight window; not the window the RadMenuPlayer is running in.  Here's how I worked around it:


    private void MediaPlayer_OnFullScreenChanged(object sender, EventArgs e)
                //handle the event
                if (sender is RadMediaPlayer)
                    var mp = (RadMediaPlayer) sender;
                    mp.IsFullScreen = false;
                    //Always set to false.  Look at a timer. 
                    if (lastFired < DateTime.UtcNow.AddMilliseconds(-100))
                        if (window.WindowState == WindowState.Normal)
                            window.WindowState = WindowState.Maximized;
                        else if (window.WindowState == WindowState.Maximized)
                            window.WindowState = WindowState.Normal;
                    lastFired = DateTime.UtcNow;


    lastFired is a class variable; as is window.

    window = Window.GetWindow(this);







Back to Top