在vs2008中怎样给用户控件中自定义的属性添加说明,已经这样添加代码了:
using System.ComponentModel;
/// <summary>
/// 数据选择器控件
/// </summary>
[DefaultProperty("BigClassTable")]
但是在属性面板和智能插入里面没有说明文字!!!!!
using System.ComponentModel;
/// <summary>
/// 数据选择器控件
/// </summary>
[DefaultProperty("BigClassTable")]
但是在属性面板和智能插入里面没有说明文字!!!!!
using System.ComponentModel;
private string _bigclasstable;
/// <summary>
/// 表的名称
/// </summary>
[Category("asdsad")]
[Description(" 表的名称")]
public string BigClassTable
{
get { return _bigclasstable; }
set { _bigclasstable = value; }
}
[Category("asdsad")]
[Description(" 表的名称")]
分类和描述