用户控件属性的设置例程 [英] Setup routine for the Properties of a User Control
问题描述
我尚未开始在用户控件上进行编码,我知道我可以在启动时通过代码在运行时设置一个用户控件,但我想在设计时就可以做到这一点. DataGridView,MakedTextBox和其他功能的完成 问,寻找有关该主题的信息时要寻找什么.
I haven't started coding yet on user control, and I know that I can through code at startup setup a user control at run time, but I'd like to do it at design time like that can be done of DataGridView, MakedTextBox, and others I need help knowing what to ask, what to look for in finding information on the topic.
谢谢
推荐答案
我尚未开始在用户控件上进行编码,而且我知道我可以在启动时通过代码在运行时设置用户控件,但我想在设计时进行编码
I haven't started coding yet on user control, and I know that I can through code at startup setup a user control at run time, but I'd like to do it at design time
属性用于管理用户控件属性的设计时功能.参见:
Atttributes are used to manage the design-time features of the properties of your user control. See:
https://msdn.microsoft.com/en-us/library/a19191fh.aspx
属性和设计时支持
https://msdn.microsoft.com/en-us/library/tk67c2t8.aspx
组件的设计时属性
https://msdn.microsoft.com/en-us/library/a19191fh.aspx
Attributes and Design-Time Support
https://msdn.microsoft.com/en-us/library/tk67c2t8.aspx
Design-Time Attributes for Components
这篇关于用户控件属性的设置例程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!