Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7187831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:56:02+00:00 2026-05-28T18:56:02+00:00

I try to migrate my iphone app to wp7. On ios, UITableview is well

  • 0

I try to migrate my iphone app to wp7.
On ios, UITableview is well designed, and very easy to code.
I have the some book about wp7, but there are no detail concerned about moving and removing of a row of listbox.

Welcome any comment

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T18:56:03+00:00Added an answer on May 28, 2026 at 6:56 pm

    I’d like to think that Windows Phone is also well designed. 🙂

    To simply remove an item from a ListBox in your codebehind, you need to get a reference to the ListItem that you want to remove. For example, to remove the currently selected item:

    var myListItem = myListBox.SelectedItem;
    

    Then you can remove it with:

    myListBox.Items.Remove(myListItem);
    

    In order to address your question about moving items, we’d need to know more about how you’re populating the ListBox. Are you using databinding, or adding items with myListBox.Items.Add(myListItem)?

    If I needed to move items between two lists, I would create a public List<MyItem> property for each list and databind each list to its own ListBox. Then I might do something like this (working from memory here):

    var itemToMove = myList1.Remove(myListBox1.SelectedItem);
    myList2.Add(itemToMove);
    myListBox1.DataBind();
    myListBox2.DataBind();
    

    There’s a much better way to do this, using INotifiyPropertyChanged, but I suspect you need to play around with the basics for a while to get comfortable in C#.

    Bonus tip: Windows Phone is very similar to Silverlight, and you can usually find more information if you search for Silverlight examples.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a rails 2.3.5 app and if I try to do rake db:migrate,
I am running heroku run rake db:migrate after I have deployed my app to
My iPhone app's core data model is changing and I have a custom mapping
I have the task to re-engineer an iPhone app which makes use of Core
When I try rake db:migrate, I get the following error: !!! The bundled mysql.rb
When I try rake db:migrate, I get the following error: The bundled mysql.rb driver
Try the following code public enum Color { Blue=1, Red=2, Green=3 } public List<Color>
I try to launch really simple Ruby on Rails app on VDS. I use
I have been trying to migrate a database from Sybase to MySQL. This is
I'm trying to migrate my app from MySql to Postgresql, using Rails3-pre and the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.