Windows Phone - How to implement alphabetical listbox? - windows-phone-7

Main menu in WP7 and audio player have the implementation. But how can i do it in my app?

I guess you are asking about the JumpList and not ListBox. Take a look at http://www.codeproject.com/Articles/166297/Developing-a-Windows-Phone-7-Jump-List-Control and see if that solves your question. Also take a look at the following Codeplex project: http://bewisephonecontrols.codeplex.com/, both have implementations of the jumplist.

Related

JumpList? Access to library

It is possible get access o library list and play songs in my app ? Not like this
if not... how to do this JumpList? I can't find good sample code, (this is ugly and doesn't work correctly).
his JumpList is a special ListBox? Am I right? How to relay which song was selected?
Ya earlier before August 2011, new Silverlight toolkit for WP7.1 mango it was a special ListBox with code logic to position the main list items.
But in Latest toolkit it is provided as a control, if you use
LongListSelector in your .xaml to show the list of items then it gives you a jumplist element as part of control.
For more information and sample on the LongListSelector refer this link.
you can download silverlight toolkit from here

Adding control template to project

I want to use metro styled combobox item in windows phone 7 (mango). I ve found toturial to do this http://dotnet.dzone.com/articles/metro-style-combobox-windows but i don't know where should i put code of control template (it should work on every combobox on project).
Any ideas?
Chris
Is there any particular reason you want to use that ComboBox? The link you've posted is a hack to get it to work on Windows Phone. Have you taken a look at the ListPicker control from the Silverlight toolkit?
This article provides a great introduction on how to use it.

wp7 which control is used for the PhoneNumberChooserTask

I need to develop a similar grid to the one for searching phone numbers. See sample picture below.
Any ideas?
You can use the LongListSelector from the [Silverlight Toolkit for WP7] to achieve a similar UI. There's a great couple of posts on WindowsPhoneGeek.com that cover it in detail.

How to make or use a standard Image Viewer for WP7

I want to make an app that shows pictures. But I want to be able to zoom in and out with gestures. I fixed this by including a toolkit into my project. But my actual question is, can I use or is there a control that's already created for me to show pictures like the picture library of the WP7 phone itself. I thought there wasn't but the Facebook app has a similar way of showing the pictures. Did Facebook rewrite the whole thing or is there a control somewhere that someone made?
The SlideView control in Telerik's RadControls for Windows Phone sounds like what you're looking for.
Have you tried a MultiScaleImage control? It's designed to work with multiple layers, but if you only specify one layer, it might suit what you're trying to do.

How to implement tap-and-hold context menus on WP7

The main UI on WP7 uses tap-and-hold everywhere to implement context menus.
I have a ListBox that uses DataTemplates for the items. I would like to have a behavior identical to the app list on the main UI. That is, when the user holds down on an item, a context menu appears nearby.
I have read posts here: http://social.msdn.microsoft.com/Forums/en/windowsphone7series/thread/e6d2a444-91d9-4d69-937e-689b24c36c09 that enumerate some hacky ways to implement this.
Has Microsoft released any specific guidance on how to achieve this effect?
The toolkit includes a ContextMenu for just this situation.
You can find an article on it's use at http://windowsphonegeek.com/articles/WP7-ContextMenu-in-depth--Part1-key-concepts-and-API

Resources