开发者

PivotItem Height

I hope someone can help me with 开发者_C百科a PivotControl issue. In my app there's a Pivot that binds to a source with three items which can change. To problem is that each item has different info so I end up with three Pivot Items with different height (for an exmaple - item1 - 100, i2 - 300 and i3 - 200).

At least my expactations was that on each screen the Pivot will take as much place as the current item needs. Still the pivot's height is set to the highest item. At the end this behaviour does make sense, yet I need to shrink it to the current item's height. Any ideas ?


The Pivot control is intented to take up the whole page/screen. It is not designed to be used with other UI elements above or below it.

The control does not support the effect you are trying to achieve.

In terms of creating an application which works the way the user expects/like other apps on the phone, you may wish to reconsider the way you're structuring your page and designing your UI.

Update
If you want to get this effect, just put everything inside the PivotItem. If you put the same thing in multiple items, be sure to cache it and avoid duplication in the model.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜