[Description("Font for Text Labels.")]
[Category("Visual")]
[Gui.Design.DisplayNameAttribute("Font for Text Labels")]
public Font TextLabelFont
{
get { return textFont; }
set { textFont = value; }
}
Tried adding the following, which appears to compile ok but apparently is otherwise incorrect:
[Browsable(false)]
public string TextFontSerialize
{
get { return NinjaTrader.Gui.Design.SerializableFont.ToString(t extFont); }
set { textFont = NinjaTrader.Gui.Design.SerializableFont.FromString (value); }
}
What's the trick?
Comment