在Ultrgrid infragstics行中显示图像 [英] Display image in Ultrgrid infragstics row
本文介绍了在Ultrgrid infragstics行中显示图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好
我正在使用UltraGrid为Emailviewer创建应用程序。
我想按照每行的状态显示图像。并且在运行时,如果我将交换列并退出我的应用程序,那么当我打开它时,就像我之前交换显示的列一样。
hello
Im am creating application using UltraGrid For Emailviewer .
I want to Image for display as per status of every row. and also at the run time if i wil swap the column and exit the my application then when i opened it wil be as i previous swapping the column wil displayed.
推荐答案
如果你想要行中的所有单元格,那么:
(TestImage是一种资源)
If you want for all cells in the row then:
(TestImage is a resource)
_testGrid.Rows[1].Appearance.Image = MyApp.Resources.TestImage;
如果你想要的话然后是一个特定的单元格:
If you want just for a specific cell then:
_testGrid.Rows[1].Cells[1].Appearance.Image = MyApp.Resources.TestImage;
这篇关于在Ultrgrid infragstics行中显示图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文