MonoTouch.Dialog's OwnerDrawnElement 突出显示不起作用 [英] MonoTouch.Dialog's OwnerDrawnElement highlight not working

查看:36
本文介绍了MonoTouch.Dialog's OwnerDrawnElement 突出显示不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 MonoTouch.Dialog 的 OwnerDrawnElement,但它似乎不允许用户在触摸屏幕时突出显示"单元格.我看过样本,但它没有显示突出显示.有什么建议?

I am using MonoTouch.Dialog's OwnerDrawnElement, but it doesn't seem to allow the user to 'highlight' the cell when touching the screen. I've looked at the sample, but it doesn't show the highlighting. Any suggestions?

我注意到用户 OwnerDrawnElement 似乎没有 TweetStation.我应该采取另一种方法吗?我需要创建一个类似于 TweetStation 的自定义显示单元.

I noticed that TweetStation doesn't seem to user OwnerDrawnElement. Should I take another approach? I need to create a custom display cell much like TweetStation.

推荐答案

OwnerDrawnElement 是社区的贡献,它并不像应有的那样复杂.除了微不足道的基本知识,我不会依赖它.

The OwnerDrawnElement was a contribution from the community, and it is not as sophisticated as it should be. I would not depend on it for anything beyond the trivially basic.

我强烈建议您创建自己的 Element,如果您想重复使用 OwnerDrawElement 的某些代码,您可以复制并粘贴它.

I strongly recommend that you create your own Element, if you want to reuse some of the code for OwnerDrawElement, you could copy and paste that.

这篇关于MonoTouch.Dialog's OwnerDrawnElement 突出显示不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆