This is the code I was using and initializing in State.Defaults.
[Display(Name="Time Mode", Order=1, GroupName="Parameters")]
[NinjaScriptProperty]
publicTimeModeTimeMode
{ get; set; }
[Range(1, int.MaxValue)]
[NinjaScriptProperty]
[Display(Name="Period", Order=2, GroupName="Parameters")]
publicintPeriod
{ get; set; }
But I don't see these fields in the UI and the values are not set either. What am I missing?
Comment