Description Attribute 对于属性或是事件的描述,当用户选取该属性或事件时,其会显示于属性表下方。 范例:
| [Description(“The text to display.”)]
Public string Text{……} |
| [Category(“Layout”)]
Public string Text{……} |
| [Browsable(false)]
Public string NoVisible |
范例:
| [EditorBrowsable(EditorBrowsableState.Never)]
Public string Text |
| [DefaultEvent(“Click”)]
Public class MyButton |
| [DefaultProperty(“Text”)]
Public class MyButton |
| [ReadOnly(true)]
Public int MyProperty |
Public int MyProperty
文档说明:
相关文档
返回首页 | 关于本站 | | 友情链接 | 广告服务 | 意见建议 | 访客留言 | 本站论坛
Copyright© 2001-2006 ProgramBBS.com All Rights Reserved 版权所有©编程论坛
Email: 吉ICP备05009985号
感谢长春订餐网友情支持