sona
sona

Reputation: 71

How to add items in Listpicker in WP7?

How to add items in Listpicker in WP7? using XAML. In simple way.

Upvotes: 0

Views: 3092

Answers (1)

Praetorian
Praetorian

Reputation: 109289

<toolkit:ListPicker>
  <toolkit:ListPickerItem Content="One"/>
  <toolkit:ListPickerItem Content="Two"/>
  <toolkit:ListPickerItem Content="Three"/>
</toolkit:ListPicker>

You can also customize the ItemTemplate to control the appearance of the content. Here's an article that explains how to do this.

Upvotes: 5

Related Questions