Quantcast
Viewing latest article 2
Browse Latest Browse All 2

Dynamic Button Layout

Hi,

I'm looking to have a control that dynamically creates buttons based on records in a database and fills up a panel with them. My probelm is what UI control to use.

The desired behavior is for the buttons to fill a panel vertically and horizontally, and when the user changes the shape of the window the panel should grow and shrink with it, rearranging the buttons as necessary. (buttons dont change size, just rearrange) at some point if shrunk too small it should show scroll bars.

Neither the canvas, stack panel or grid seem to be appriopriate for this.

Thanks,
Eric


Viewing latest article 2
Browse Latest Browse All 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>