The Media Center Sandbox

Resources and discussion for developing experiences in the Windows Media Center platform.
Welcome to The Media Center Sandbox Sign in | Join | Help
in Search

Full Screen Image

Last post 10-01-2008, 4:32 PM by IgnoranceIsBliss. 2 replies.
Sort Posts: Previous Next
  •  08-28-2008, 11:16 AM 8290

    Full Screen Image

    What is the easiest way to make an already visible image go full screen.  Basically, I want a focused image to go full screen when the user hits enter. 
  •  09-06-2008, 9:44 PM 8337 in reply to 8290

    Re: Full Screen Image

    Well the "hit enter" part is being to be a clicker on the image but as far as the going fullscreen part, try:

     

    AddinHost.Current.MediaCenterEnvironment.MediaExperience.GoToFullScreen()

  •  10-01-2008, 4:32 PM 8429 in reply to 8337

    Re: Full Screen Image

    GoToFullScreen makes a video (running on the bottom-left corner) go to full-screen, but I don't know if it would do that to an image.

    If you are in an MCML application, you could always just have an image the size of your screen (eg. using a FormLayout with the anchors at Parent,0 for top and left and Parent,1 for bottom and right) that you change the visibility of at runtime.

    In Yougle (a program that shows images at fullscreen) I actually have a seperate MCML page with just this Graphic object. I can then transition into the (and it's black background) using a Show animation. I navigate to that page based on a button ( a smaller thumbnail of the image ) being pressed.

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems