[Description("Nlbl Color.")]
[GridCategory("Visual")]
[Gui.Design.DisplayNameAttribute("Nlbl Color")]
public Color NlblColor
{
get { return nlblColor; }
set { nlblColor = value; }
}
// colors are not serialised by default, you are on your own
// serialisation is important when you try to save current color with the workspace
[Browsable(false)]
public string NlblColorSerialize
{
get { return Gui.Design.SerializableColor.ToString(nlblColor); }
set { nlblColor = Gui.Design.SerializableColor.FromString(value); }
}
[Range(3, int.MaxValue)]
[NinjaScriptProperty]
[Display(Name="NlblColor", Order=1, GroupName="Parameters")]
public Color NlblColor
{ get; set; }
???

Comment