locked
Metro app more than snapview and less than fullscreenportrait mode

    Question

  • In windows 8 how to display the FullScreenPortrait visual state if window size is more than snap view width. can anyone please guide me how to achieve this


    suresh

    Monday, June 30, 2014 6:24 PM

Answers

  • Hi suresh,

    I don't think it is possible, in windows 8 there are only three kind of view state, snap, fill and full screen.

    The feature you mentioned need a customize width is a new feature with windows 8.1

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Thursday, July 03, 2014 1:40 AM
    Moderator

All replies

  • Hi suresh,

    Can I understand your question as you want to automatically switch to full screen portrait if the windows size is more than snap view width? (I assume you are working for Win8.0 since there is no snap for Win8.1)

    I would suggest you to try this API: TryUnsnap | tryUnsnap method

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Tuesday, July 01, 2014 2:51 AM
    Moderator
  • yes jamles, i am working on windows 8. sorry for not mentioning in the question.

    I have snapview designed and working fine. now my requirement is to have another view state if the user wants to see the app in 500 width(lets say 40% / 50%)


    suresh

    Tuesday, July 01, 2014 4:54 AM
  • Hi suresh,

    I don't think it is possible, in windows 8 there are only three kind of view state, snap, fill and full screen.

    The feature you mentioned need a customize width is a new feature with windows 8.1

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Thursday, July 03, 2014 1:40 AM
    Moderator
  • You can refer to the windows store samples from All-In-One Code Framework, some  of the samples may cover this topic.


    Update:

    Sorry for the careless, as your system is windows 8 rather than windows 8.1, the width of the snap view is fixed and can't be customized.

    --Bo






    Thursday, July 03, 2014 3:15 AM