[Range(1, int.MaxValue)]
[Display(Name="Swing Strength", Order=1, GroupName="System Settings")]
public int SwingStrength
{ get; set; }
[NinjaScriptProperty]
[Range(SwingStrength, int.MaxValue)]
[Display(Name="Minimum Pivot Strength", Order=2, GroupName="System Settings")]
public int MinPivotStrength
{ get; set; }
as you can see, the value for MinPivotStrength should at least be what the value for Swing Strength is. But this does not work, is there a solution to this for validation?
Comment