October 10, 20178 yr Hello, is it possible to add a collection of strings from the settings? I am getting the error, "Constructor on type 'System.String' not found".
October 10, 20178 yr Author Initial SettingAttribute [Setting] [Category("Settings")] [DisplayName("Object(s) list")] [Description("")] public List<string> ObjectsList { get; set; } Modified to allow a list of strings entering each item on its own line: [Setting] [Category("Settings")] [DisplayName("Object(s) list")] [Description("")] [Editor(@"System.Windows.Forms.Design.StringCollectionEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))] public List<string> ObjectsList { get; set; } Finished result:
Create an account or sign in to comment