at this moment, I always declare the inputs with fixed blocks, like:
[Category("xyz")] [Display(Name = "InutName abc", Order = 1)] public bool Enable_Smth_1 { get { return enable_smth[1]; } set { enable_smth[1] = value; } }
is it somehow possible to create the dynamic number of inputs, like:
for(var i=0; i<4; i++){ [Category("xyz"+i)] [Display(Name = "InutName abc"+i, Order = i)] public bool "Enable_Smth"+i { get { return enable_smth[i]; } set { enable_smth[i] = value; } } }
Comment