I have been using the autocompletebox from Silverlight Toolkit for Windows Phone.
What kind of changes (changes/extended ?) will be needed to enable the autocompletebox
to support auto completion for multiple phrases/words ? i.e. support something similar to
as soon as 'c' is entered in above the dropdown list shows items starting with 'c' etc.
(or how can this be achieved using normal text box?)
Related to this
http://www.codeproject.com/Articles/180311/Rich-Text-Box-With-Intellisense-Ability
I found this article useful..
Using (and customizing) the AutoCompleteBox for Windows Phone
http://www.croitoriu.com/blog/2012/02/using-and-customizing-the-autocompletebox-for-windows-phone/
Related
I am completely novice in Windows phone app development. Till now I have been developing iPhone application. In iphone there is a concept of view and view controller. You can add multiple view on one screen and do hide/show to display multiple screens.
I am searching, How can I achieve same things in Windows phone app development.
For a similar pattern, see MVVM:
How Do I: Use MVVM in a Windows Phone 7 Application?
Windows Phone Mango: Getting Started with MVVM in 10 Minutes
MVVM in real life Windows Phone applications Part1
To hide/show different views/XAML objects/panels, use their name and visibility property, for example:
contentpanel.Visibility = Visibility.Visible;
Windows Phone applications in general follow the Page based Navigation. If you want to achieve a hide/show multiple views in a single page without Navigating to a new page, you can do that with the help of UserControls.
You can define as many UserControls (==views) as you want and then hide are show them based on your requirements in the YourPage.xaml
And additionally, you would better go with MVVM approach.
check this good example for any further details Implementing the Model-View-ViewModel Pattern in a Windows Phone Application
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!
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.
Is there a SmartList control for WP7, so as the user types if narrows down what is in the list for selection?
AutoCompleteBox, present in the Silverlight for Windows Phone Toolkit available at http://silverlight.codeplex.com/
You can also use CollectionViewSource similar to this post: http://www.geoffhudik.com/tech/2011/2/13/wp7-in-app-searching-filtering-part-ii.html
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...