试图在Windows Phone 8.1上读取或写入受保护的内存

时间:2015-11-26 19:56:16

标签: c# xaml windows-runtime windows-phone-8.1

所以这是我的代码:

<Button HorizontalAlignment="Right" Foreground="#404040" Content="{Binding TripListSelected, Mode=TwoWay}">
   <Button.Flyout>
      <ListPickerFlyout Placement="Full" ItemsSource="{Binding TripList}"  SelectedValue="{Binding TripListSelected, Mode=TwoWay}" />
   </Button.Flyout>
</Button>

&lt; ListPickerFloyout ... /&GT; line是下划线说&#34;尝试读或写...&#34;,但我可以运行我的代码normalny,然后当我想清除列表(.cs中的list.cleare())我有运行时错误与相同的消息。还有另一种方法可以清除它,还是我的xaml代码中的错误? 谢谢:D

0 个答案:

没有答案