.NET Compact Framework中你能得到它在细胞中的多行文字网格? [英] .NET Compact Framework Can you get grids which have multi line text in cells?

查看:188
本文介绍了.NET Compact Framework中你能得到它在细胞中的多行文字网格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

时它可以显示使用.NET Compact Framework的网格单元多行文本?我们需要创建,其中中间列包含一个地址的网格。我们希望表明,该多行和(可能)适用于某些格式的最后一行。

Is it possible to show multiple lines of text in grid cells using the .NET Compact framework? We need to create a grid where the middle column contains an address. We'd like to show this over multiple lines and (possibly) apply some formatting to the final line.

例如
任何地方街123
伯明翰
B1 2D​​U
电话: 0123 555555

e.g.
123 Anywhere Street
Birmingham
B1 2DU
tel: 0123 555555

推荐答案

看看伊利亚图马诺夫的的例如在DataGrid 自定义格式的数据。他做细胞的风俗画在里面。

Take a look at Ilya Tumanov's example of custom formatting data in the DataGrid. He does custom painting of cells in it.

这篇关于.NET Compact Framework中你能得到它在细胞中的多行文字网格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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