下面是更改控件背景颜色的属性
private Color UserBlackcolor = Color.White; [Description("修改此值可更改控件背景颜色"),Category("自定义属性")] public Color UserBlackcolor_change { get { return this.BackColor; } set { this.BackColor = value; } }
实际效果: