how to fit hubsection to screen RRS feed

  • Question

  • Hi,

    I want to make hubsection fit the screen,...

    How can i do that
           <image source="Assets/Mine.png" stretch="UniformTofill"/>
    Please help me.
    Monday, August 4, 2014 12:06 PM


  • The section will fit its contents. It isn't directly related to the size of the screen and will scroll if necessary.

    If you want the image in the section to match the size of the screen you'll need to set the Height and Width explicitly. You can bind these to properties drawn from the CoreWindow.Bounds property (which is probably what you want rather than the screen, especially if you might share the same code with a Windows Store app).


    • Marked as answer by Ashiq Hassan Tuesday, August 5, 2014 7:57 AM
    Monday, August 4, 2014 11:48 PM