[NinjaScriptProperty] [Display(Name = "Show Line1", Order = 1, GroupName = "abc")] public bool _showLine1 { get; set; } [NinjaScriptProperty] [Display(Name = "Show Line2", Order = 2, GroupName = "abc")] public bool _showLine2 { get; set; } ........ etc, like 20-30 lines
public Dictionary <string,bool> _Show = new Dictionary <string,bool>(); [NinjaScriptProperty] [Display(Name = "Show Line1", Order = 1, GroupName = "abc")] public bool _Show["line1"] { get; set; } [NinjaScriptProperty] [Display(Name = "Show Line2", Order = 2, GroupName = "abc")] public bool _Show["line2"] { get; set; }
(p.s. if something like that is achievable, please add several words about how to do them with `brush` inputs, because they use serialization too of the input's variables names)
Comment