So, based on an example of ExpandableObjectConverter posted in this forum,
I created:
[Display(Name = "My Colors", Description = "Expandable Brush Class", Order = 3, GroupName = "Parameters")] public MyColorCollection MyColors { get; set; } [TypeConverter(typeof(ExpandableObjectConverter))] public class MyColorCollection { public MyColorCollection() { } public override string ToString() { return string.Format(""); } [Display(Name = "t1", Description = "Brush4", Order = 0)] public bool t1 { get; set; } [Display(Name = "t2", Description = "Brush4", Order = 0)] public bool t2 { get; set; } [Display(Order = 00, Name = "+3.00")] public Stroke IlUp300Stroke { get; set; } }
Editing the Stokes's Opacity% or Width DOES enable the apply button.
I can't figure out a way to force the apply button to be enabled.
Comment