如何在datagridviewcell中添加多个控件 [英] How to add multiple control in datagridviewcell
本文介绍了如何在datagridviewcell中添加多个控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在预约日历申请表。 (带大方块的日历)
要创建日历,我使用了datagridview。
在此应用程序中,将在选定的单元格/日期上添加事件,并将在日历中显示该事件
因为我必须在所选的datagridview单元格中添加控件但我没有成功添加单元格
如果您对如何在一个/选定的datagridview单元格中添加多个控件有任何建议,那么对我来说最有帮助
提前谢谢
Hi,
I am making a appointment calendar application. (Calender with big Squares)
To create calendar I have used datagridview.
In this application, event will be added on selected Cell/date and will display that event in calendar
for that i have to add control in selected datagridview cell but i did not succeed to add cell
If you have any suggestion for how to add multiple control in one/selected datagridview cell, it will most helpfull to me
Thanks in advance
推荐答案
你使用WPF吗?如果是,则向该单元格添加内容控件(grid / stackpanel / wrappanel ....)
如果使用Winforms,还可以添加其他网格或其他网格容器进入你的牢房。
Do you use WPF? If yes add a content control to this cell (grid/stackpanel/wrappanel....)
If you use Winforms you can also add an additional grid or another "container" into your cell.
这篇关于如何在datagridviewcell中添加多个控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文