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.
Related
Does windows phone have a 'accordion list' control? If not what else can one do to achieve the same look and experience of a expandable list?
I've been googling around and it seems like there's no straight answer to this.
Thanks in advance!
You could try using the ExpanderView control from the Microsoft Windows Phone toolkit which is free.
May be you just have to style it a little so that it looks like an Accordion List.
You can use the control in a simple way, by populating it with Items:
<toolkit:ExpanderView Header="Expander Header" x:Name="expander">
<toolkit:ExpanderView.Items>
<TextBlock FontSize="40" Text="Expanded Content"/>
</toolkit:ExpanderView.Items>
</toolkit:ExpanderView>
Or you can use Data Binding.
Hope this helps.
There are a lot of 3rd party quality custom controls built for WP7. Try to download WinPhone DevHub and Telerik Examples from the Marketplace, I am pretty sure you will find what you want already implemented.
Telerik controls are not free, but WinPhone DevHub has a lot of free controls. You will find details on where to download them also in the app.
I have a question. In a windows phone 7, Will i be able to navigate from the jumplist control to another page. For example i have some data in the jumplist control, and then once i click on one of the data, will i be able to go to another page from there? if it is possible, can someone show me some links for it? sample codes would be helpful
You can use the ListPicker from the Silverlight Toolkit and use the SelectionChanged event.
Tutorial : http://windowsphonegeek.com/articles/listpicker-for-wp7-in-depth
Download the project in this link an enhance by add selected index and page navigating option.
http://www.windowsphonegeek.com/news/developing-a-wp7-jump-list-control
http://www.telerik.com/community/forums/windows-phone/jumplist.aspx?pageid=1
I have seen 2 ways.
Fake a ASP.NET stlye and have the options appear over a textbox on the same screen.
When the box is touched open a new screen that lets you scroll through all options and pick one. When one is selected that value is copied to the placeholder on the orginal screen.
I am working on a project where we are doing #1 and I am thinking #2 is the proper way ?
Use ListPicker from the silverlight toolkit if you're looking to match the WP7 paradigm (which you should want to :) )
Silverlight Toolkit
These other stackoverflow questions may provide some insight (possible duplicate?):
How to get dropdown like menu in wp7?
Windows Phone Dropdown
Don't forget to use the search function at the top right hand before asking a question!
Is there any built-in way to reproduce the behaviour showed on the Office app, a 0:36 ? When the user tap the Shared Document item, a nice WP7-like transition makes it goes to the next page
http://www.youtube.com/watch?v=EUZx8YHPlWM#t=0m36s
Thanks !
You should take a look at the Silverlight for Windows Phone Toolkit. It has a "Page Transition" control that does, I think, exactly what you want. It's a new feature in the November 2010 release.
Good luck.
I'm creating my first Windows Phone 7 application, and I'm struggling to find an autocomplete textbox. Is there an easy way to add one to the toolbox? Or do I need to create my own control?
The one from Silverlight 3's SDK, the AutoCompleteBox, works relatively well on the phone. It requires minimal styling changes to work.
There is a known issue today where selecting an item that pops up requires two taps: one to select and another to "really" select. We should have that issue in the platform (the bug is not in AutoCompleteBox) fixed by the time the phone development experience is ready.
AutoCompleteBox is in the Silverlight Tookit so you have to add a reference to that in your project.
After investigating it appears that there's not an auto-complete textbox control for windows phone 7 applications, so I've had to create one myself...