获取ListPicker SelectedItem值

时间:2014-03-14 14:16:23

标签: vb.net windows-phone

我有一个ListPicker绑定到匿名类型列表并希望获得它的值。这是代码:

Dim listZoneSrc = From zon In listZone
               Join joinCZ In listJoinCityZone On
               joinCZ.zoneId Equals zon.zoneId
               Where joinCZ.cityId = cityId
               Select zon.zoneId, zon.zoneName, joinCZ.price

lpickZone.ItemsSource = listZoneSrc.ToList

是否有可能在lpickZone.SelectedItem.zoneId Sub中获得lpickZone_SelectionChanged的价值?

0 个答案:

没有答案