Over a million developers have joined DZone.

What I Learned In WP7 – Issues 13 and 14

· Mobile Zone

Visually compose APIs with easy-to-use tooling. Learn how IBM API Connect provides near-universal access to data and services both on-premises and in the cloud, brought to you in partnership with IBM.

The folks over at Technobolt put together a neat little infographic about all of the Windows Phones that are currently (or anticipated to be) available.


I’ve been working on some dynamic Panorama designs, but there were a couple of things I was finding tricky:

1) Loading a Panorama control at a specific position. (also just navigating to a different place in one.)

2) Preventing a Panorama from wrapping around from the last to the first element.

In the first case, I just wasn’t looking in the right place.  To change which panel of a Panorama you are viewing, you can use:

Panorama.DefaultItem = Panorama.Items[index];

For the second case, you might be asking WHY I would want to prevent the Panorama from wrapping around, which is the default behavior.  In my application, when you first come to the Panorama control, you only have ONE PanoramaItem.  So scrolling is more confusing than anything else.  As you continue to enter data into the app, however, the Panorama can grow to as many as 10 Panorama items.

The short story on this, however, is that it’s not really possible.  If you need to change the Panorama’s behavior that drastically, you might want to look at using a different control.

The Mobile Zone is brought to you in partnership with Strongloop and IBM.  Visually compose APIs with easy-to-use tooling. Learn how IBM API Connect provides near-universal access to data and services both on-premises and in the cloud.


Published at DZone with permission of Jeff Blankenburg, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}