Mike Christiansen
Mike Christiansen

Reputation: 1149

Rotate Windows Store XAML control using an custom Panel

I am using a custom Panel, very similar to a radial panel.

I was wondering if there was a way to rotate the items as well as position them.

I know I could use different item templates, but that would require assigning the templates during coding. I'm looking for a runtime solution.

Any ideas?

Upvotes: 0

Views: 531

Answers (1)

Mike Christiansen
Mike Christiansen

Reputation: 1149

What I did was create an item template that rotates the item based on a data bound property in the CLR object.

In order to rotate in a windows store app, I used a modified LayoutTransformer

Upvotes: 3

Related Questions