I am having trouble defining a Font Type user input. I just can't get the syntax.
I am able to successfully provide Color inputs as follows, but need help offering the user the ability to define a Font type variable input in the similar manner: Your help is greatly appreciated. Thank you!
Color iBullBarColor = Color.LimeGreen;
[Description("Sets the bull bar color")]
[GridCategory("Chart Display Settings")]
[Gui.Design.DisplayName("Bull Bar Color")]
public Color BullBarColor
{
get { return iBullBarColor; }
set { iBullBarColor = value; }
}
[Browsable(false)]
public string BullBarSerialize
{
get { return NinjaTrader.Gui.Design.SerializableColor.ToString( iBullBarColor); }
set { iBullBarColor = NinjaTrader.Gui.Design.SerializableColor.FromStrin g(value); }
}
Comment