[
Description("这是Property的描述,给设计器用来显示的")
]
/// <summary>
/// 这是Property的XML注释
/// </summary>
public virtual string Property
{
get
{
...
}
set
{
...
}
}
Description("这是Property的描述,给设计器用来显示的")
]
/// <summary>
/// 这是Property的XML注释
/// </summary>
public virtual string Property
{
get
{
...
}
set
{
...
}
}
[Browsable(true)]// 是否在设计时出现在属性表里
[Description("控件包含的文体")]//描述
public stringText {
get{...}
set{...}
}
具体参见:
ms-help://MS.VSCC/MS.MSDNVS.2052/cpguide/html/cpconattributesdesign-timesupport.htm