admin管理员组文章数量:1123036
I am developing a card game for Windows and Android using MAUI. The main page contains the card table. Clicking on one of your cards in your hand moves it to the discard area. Clicking on the card in the discard area moves it back to your hand. These actions work as expected in the android app. In the windows app, only clicking on the card in your hand works as expected. Clicking on the card in the discard area does not execute the code in the click event.
I am thinking it might have something to do with the xaml for page. The xaml includes grids and grids within grids.
I have created a sample app to demonstrate the problem. The app uses the card table xaml. I have removed all of the controls except 2 image buttons. Clicking on the image button moves the card to the other image button and then clicking the card moves it back to the original image button. The sample code is located here
本文标签: xamlMAUI ImageButton click event works in Android app but not in Windows appStack Overflow
版权声明:本文标题:xaml - MAUI ImageButton click event works in Android app but not in Windows app - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736544864a1944433.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论