How to save a struct property of a user control in Windows Forms Designer?
问题 I've checked the answers of this question: Modifying structure property in a PropertyGrid And also SizeConverter from .net. But not helpful, my property is still not saved. I have a struct, a user control, and a custom type converter. public partial class UserControl1 : UserControl { public Bar bar { get; set; } = new Bar(); } [TypeConverter(typeof(BarConverter))] public struct Bar { public string Text { get; set; } } public class BarConverter : ExpandableObjectConverter { public override