Can UniformGrid be used to show images dynamically to fill the space RRS feed

  • Question

  • Is there a way to have UniformGrid not only resize images to fill the space, but also to dynamically determine the ideal column/rows to use?  For example, I'm using a grid splitter with images below and a diagram above.  The user can drag the grid splitter over the diagram and my 2 row UniformGrid with images will dynamically resize.  However, it is always 2 rows, never adjusting for the ideal amount of rows to use up as much of the space as possible as the images zoom.

    Is there a way for UniformGrid to dynamically change rows as the panel resizes?

    Thank you,
    Wednesday, September 16, 2009 9:01 PM