I'm using a WrapPanel in WPF to display images. When resizing the form, these images are trying to take the maximum of the free spaces but when the picture can almost fill the space, there is a relatively big gap at the end of the WrapPanel. What I would like to do is to share this space between the images before a new one fills this gap (like what Windows 7 Explorer is doing when displaying image icons).
Asked
Active
Viewed 943 times