如何使用Xamarin Prism EventToCommand行为在ListView中的select上返回null

时间:2017-08-10 21:26:36

标签: xamarin xamarin.forms prism

我正在使用PrismXamarin.Forms,我正在尝试使ItemTapped事件命令返回null,因此ListView项不会保持选中状态。有谁知道如何处理这个?

这是我的行为代码: <ListView.Behaviors> <b:EventToCommandBehavior EventName="ItemTapped" Command="{Binding ItemTappedCommand}" EventArgsParameterPath="Item" /> </ListView.Behaviors>

0 个答案:

没有答案