Omkar Khair
Omkar Khair

Reputation: 1384

Create a tag cloud in Windows Phone

I'm trying to create a tag cloud control in windows phone. The tags are just styled buttons. A vertically oriented stackpanel currently holds the buttons.

I am looking for an alternate container that can hold the button flexible, i.e. allow buttons to stack horizontally and then move to the next line when they stop fitting in one line. Each button is variable in width.

Any suggestions of the best way to do this? Solutions compatible with Windows Phone 7 please.

Upvotes: 1

Views: 160

Answers (1)

Chris W.
Chris W.

Reputation: 23280

So for a control that will allow its children to take up what space they can and then automatically wrap the overflow to the next line(s) the WrapPanel control available in the toolkit makes it a pretty painless and easy chore.

Hope this helps, cheers!

Upvotes: 0

Related Questions