resize image with pane

2 posts, 0 answers
  1. Rick Mueller
    Rick Mueller avatar
    103 posts
    Member since:
    Feb 2010

    Posted 04 Aug 2011 Link to this post

    Currently I have image in a pane and its height/Width set to auto.
    When I resize the pane I want the image to fit accordingly to the size of pane, currently the image is still larder then the pane size and scrollbars appear. Any code or thoughts to share

  2. Dani
    Dani avatar
    848 posts

    Posted 05 Aug 2011 Link to this post

    Hi Rick ,

    The way the image gets resized has to do with the value of the Stretch property of the Image itself. Please, check that it is not set to "None", but "Uniform" or "UniformToFill". If the issue persists, please share the xaml you use to build your layout.

    Best wishes,
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
  3. DevCraft banner
Back to Top