【问题标题】:ControlTemplate in Xamarin.Forms is breaking command in listView in Content PageXamarin.Forms 中的 ControlTemplate 正在破坏内容页面中 listView 中的命令
【发布时间】:2017-02-01 16:42:10
【问题描述】:

Xamarin.Forms

我正在使用 ControlTemplates,如 this article 中所述。

创建 controlTemplate 很顺利,应用它甚至绑定到它也是如此。问题是,虽然大部分绑定在我的 ContentPage 中仍然有效,但我的 ListView 中的 EventToCommand 已损坏(点击不再调用该命令)。

你以前见过吗?这是一个已知问题吗?有解决办法吗?

谢谢!! 杰西

【问题讨论】:

    标签: listview xamarin.forms controltemplate eventtocommand


    【解决方案1】:

    我已经确定,当使用模板时,ItemSelected 事件永远不会触发。我会提交错误报告。

    【讨论】:

      猜你喜欢
      • 2011-09-05
      • 1970-01-01
      • 2017-04-12
      • 1970-01-01
      • 2015-12-11
      • 2020-11-19
      • 2021-04-17
      • 2013-09-05
      • 1970-01-01
      相关资源
      最近更新 更多