In code I have.
protected override void OnStateChange()
{
if (State == State.SetDefaults)
{
TimeSeconds = 500;
Ask_ = Brushes.Tomato;
}
[NinjaScriptProperty]
[Range(1, int.MaxValue)]
[Display(Name="Time MilliSeconds Dom", Description="Time.", Order=1, GroupName="1. Parameters")]
public int TimeSeconds
{ get; set; }
[NinjaScriptProperty]
[Display(Name = "Ask", Description = "Grid.", Order = 1, GroupName = "2. Color")]
public System.Windows.Media.Brush Ask_
{ get; set; }
What should I add in code to save the settings after each property change?
Thank you very much.
Comment