Quantcast
Channel: Dynamic Button Layout
Viewing all articles
Browse latest Browse all 2

Dynamic Button Layout

0
0

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 all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images