This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
ListPicker FullMode Selected Item Color
I've a long list of things loading from a listpicker, mostly "useless".
Is there the possibility to add a button on top of the full page opened when I click the listpicker (so when I click on it I only show the most useful things?
Thanks a lot!
In order to do that you will have to create a copy of the ListPickerPage.xaml file from the Silverlight for Windows Phone Toolkit in your application, change it to meet your requirements, and then on your ListPicker control set the PickerPageUri proprety to the new ListPickerPage.xaml
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am developing win 8 phone apps. some pages of the app are news as list and each news has title, picture and leadin. In the iOs version i created a html string using java script and css and show the html in webview. Now in window version i realized using the same trick with webbrowser is not good since webbrowser scroll and it is difficult to use the Panorama control. which control is the best? should i use listbox instead? Do u have any examples?
(I should mention that i want to show the data in list as soon as i get data from url without realoding the page , thats why i used java script in iOS to load the data in web view without any refresh)
For displaying data in a list you generally use ListBox or LongListSelector control.
To display data without reloading, use data binding. The source for the list control should be ObservableCollection<> which can be filled asynchronously. Whenever the collection is changed, your UI will be refreshed.
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How does one add additional items to NSMenu in Interface Builder?
There's something that blocks me from doing my project in mac. How can I add or create additional menu to my app?
The defaults are file, edit, help, etc. but how can I add my custom menu?
You can drag and drop menu items to and from the main menu in Interface Builder.
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Windows Phone 7 close application
I have an app which needs quiting from the MainPage but just using NavigationService.GoBack() won't work when another screen has navigated to that main page as I don't want the ability to go back to that previous page.
Would I have to set a variable in App.xaml.cs called backToBeginning and all the onnavigatedto callbacks will GoBack() if that is set? or is that too messy?
WP7 does not support exiting of apps. Just let the user do it with the back button.
Currently, there is no way to achieve this. What you have described is really needed in the Music+Video hub, but due to inability to to it with the way navigation in WP7 is organized, even Microsoft had to sacrifice the functionality of a very important build-in application.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
using Clipboard in WP7 programming
For example you have a long text in a textblock and you want to have a button to automatically copy and paste the large text onto your clipboard so you can paste it in word mobile or some other app. Is there a way to do this?
There is no copy-paste API in windows phone 7 now. Maybe it'll appear in Mango.
The Windows phone team have recently blogged about their work adding clipboard functionality to the next release of the OS. So you'll have to wait until then.
Please see:
using Clipboard in WP7 programming
and
How to paste a text from textbox to some other application without using SIP?
This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
How to pass an object from a xaml page to another?
I'm very new to windows phone development. I wanted to display the xml data on the second page. That means I have taken one button on the first page and if press this button it should show the data on the second page.
Any help would be appreciated greatly!
Check these very similar questions:
How to pass the image value in one xaml page to another xaml page in windows phone 7?
Passing a complex object to a page while navigating in a WP7 Silverlight application
How to pass an object from a xaml page to another?
How to pass a value between Silverlight pages for WP7?
How do I navigate from one xaml page to another, and pass values?