举一个简单的例子
//在某个类中
private string text = "";
[
Description("该属性用于表示控件显示的文字的内容"),
Bindable(true),
Category("Appearance"),
DefaultValue("")
]
public string Text
{
get { return text; }
set { text = value; }
}
//...