我在用户控件中得到了这段代码:
[DefaultValue(typeof(Color), "Red")] public Color MyColor { get; set; }
如何更改MyColor为默认值?
MyColor
.net c#
.net ×1
c# ×1