This is a migrated thread and some comments may be shown as answers.

resize image with pane

1 Answer 51 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Rick Mueller
Top achievements
Rank 1
Rick Mueller asked on 04 Aug 2011, 07:18 PM
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

Thanks
Rick

1 Answer, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 05 Aug 2011, 08:47 AM
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,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
Tags
Docking
Asked by
Rick Mueller
Top achievements
Rank 1
Answers by
Dani
Telerik team
Share this question
or