Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78370 --- shadow/78370 2006-05-11 12:14:52.000000000 -0400 +++ shadow/78370.tmp.28447 2006-05-11 12:14:52.000000000 -0400 @@ -0,0 +1,54 @@ +Bug#: 78370 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: [PATCH] PropertyGrid misses those properties that does not have TypeConverter + +With the following code, MS.NET shows FontObj as a property in the +PropertyGrid. Mono shows nothing. + + +using System; +using System.Drawing; +using System.Windows.Forms; + +public class Test : Form +{ + class Target + { + public Font FontObj { + get { return font; } + set { font = value; } + } + + Font font = new Font (FontFamily.GenericSerif, 1); + } + + public static void Main () + { + Application.Run (new Test ()); + } + + public Test () + { + PropertyGrid p = new PropertyGrid (); + p.Dock = DockStyle.Fill; + Controls.Add (p); + p.SelectedObject = new Target (); + } +} + +Patch being attached. However, I just don't understand the reason why +TypeConverter is used. Thus the patch might be no-go. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
