responsive design - WPF panel that can be oriented vertically, but fill parent container -


basically need stackpanel fill parent , children fill panel.

i'm using grid designed fill rectangular shape wider tall. want design reactive if rectangular container made taller wide, child elements arranged vertically , still fill container.

a wrap panel not work (i don't think) need orientation or nothing; either child elements oriented horizontally, or vertically.

i'm thinking should replace grid dockpanel, each item docked either left (for horizontal stacking), or top (for vertical stacking), how achieve stretch on child elements?


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -