Panorama item - animate header position
There are situations were you have an "extra wide" item in a panorama (item which extends over the boundaries of the screen), but a very short title (header) for it.
See, for example, the "recent contacts" in Mango, or some sections of the new Marketplace or Xbox hub. You can see that th开发者_运维问答e item title moves a little as you scroll horizontally so that (part of) it is always visible.
Anyone can enlight us on how to achieve the same effect?
Thanks in advance :)
The behaviour you describe exists only in the built in hubs. The hubs are not built with the same controls as are available to 3rd party developers.
Unfortunately the silverlight controls you describe do not support this functionality.
You could build your own, alternative, control and use that instead but it would be a LOT of work to get the same behaviour as the built in controls.
Instead, I'd recommend reviewing your design to make it clearer what the user is looking at in the panorama item so they don't need a piece of text teling them.
精彩评论