I need a container with square shape, but it has to be as big as it cans, but without be bigger of the parent.
I tried with the choosen answer from here: WPF dynamic layout: how to enforce square proportions (width equals height)?
but it creates a square bigger than the parent, what I need is a square that fits with the parent (like when you put in an image Stretch=Uniform).