silverlight-5.0pivotviewer

Can Silverlight Pivotviewer handle 3 levels of semantic zoom?


I can get 2 levels of PivotViewerItemTemplate to work just fine, but not three.

If I set one template at MaxWidth=130, the next at MaxWidth=400 and then a third with no MaxWidth, the second level starts transitioning into the 3rd at about 170 pixels and is no longer visible at all at only 280 pixels. I expect to see the 2nd level until it is 400 pixels wide.

Any tips on what I'm doing wrong here?

TIA


Solution

  • Your MaxWidth's need to be powers of two: 32, 64, 128 etc. You can then have as many levels as there are powers :) I've written a post explaining it in more detail here http://www.rogernoble.com/2012/04/02/picking-maxwidth-for-pivotviewer-semantic-zoom