在Windows Mobile 6.5上更改数据网格高度 [英] Change datagrid height on Windows Mobile 6.5

查看:77
本文介绍了在Windows Mobile 6.5上更改数据网格高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个适用于Windows Mobile设备的应用程序(目标设备是Motorola ES400)我试图让数据网格的行高为30.我使用以下代码:



Hi, I am developing an app for Windows Mobile devices (target device is the Motorola ES400) I am trying to get a datagrid to have a row height of 30. I am using the following code:

datagrid1.PreferredRowHeight = 30





现在这是令我困惑的地方,当我使用Windows Mobile 6.5.3仿真器时,它完全按照我的要求显示,但是当我在我的手持设备上运行相同的程序时(摩托罗拉ES400与Windows Mobile 6.5.3)它只显示标准1行高的行。



两者都运行相同的.NET Compact Framework 3.5.9198.0



有没有人对如何解决这个问题有任何想法,理想情况下我需要双倍高度才能让它们更友好?



谢谢



Now this is where it is confusing me, when I use the Windows Mobile 6.5.3 emulator it displays exactly as I want it to, however when I run the same program on my handheld device (Motorola ES400 with Windows Mobile 6.5.3) it only displays rows with the standard 1 line height.

Both are running the same .NET Compact Framework 3.5.9198.0

Has anyone got any ideas on how to fix this as ideally I need the double height to make them more finger friendly?

Thanks

推荐答案

这篇关于在Windows Mobile 6.5上更改数据网格高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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