is there any way to obtain this layout using a WPF Wrappanel? B and C in the pictures should be vertically aligned in horizontal mode and horizontally aligned in vertical mode. Letters orientation must be preserved. In pictures, from [Horizontal] to [Vertical]:
I've tryed:
<wrappanel>
<A/>
<wrappanel>
<B/><C/>
</wrappanel>
</wrappanel>
but its behaviuor is unpredictable. Thank you in advance.
if (this.Height > this.Width) {wrappanel.Orientation = Orientation.Horizontal} else {wrappanel.Orientation = Orientation.Vertical}