如何在同一单元格中显示图像和文本... [英] how to display the image and text in the same cell...
本文介绍了如何在同一单元格中显示图像和文本...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
创建一个包含图像和文本以及CellTemplate属性的模板. http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridviewcolumn.celltemplate.aspx [ ^ ]
i want to display the image and text in the same cell of a datagridview in the windows application...i wan to display the text in the top of the image..i want a sample c# coding for windows application...
解决方案
Create a template that includes the image and text and the CellTemplate property. http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridviewcolumn.celltemplate.aspx[^]
这篇关于如何在同一单元格中显示图像和文本...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文