Author: ivanz
Date: 2008-01-17 16:23:37 -0500 (Thu, 17 Jan 2008)
New Revision: 93206

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
Log:
2008-01-17  Ivan N. Zlatev  <[EMAIL PROTECTED]>

        * PropertyGridView.cs: When the property changes invalidate 
        the GridItem in order for the properties with 
        UITypeEditor.GetPaintValueSupported == true to reflect the change 
visually.
        [Fixes bug #338998]



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2008-01-17 21:15:53 UTC (rev 93205)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2008-01-17 21:23:37 UTC (rev 93206)
@@ -1,3 +1,10 @@
+2008-01-17  Ivan N. Zlatev  <[EMAIL PROTECTED]>
+
+       * PropertyGridView.cs: When the property changes Invalidate the GridItem
+       in order for the properties with UITypeEditor.GetPaintValueSupported == 
true
+       to reflect the change visually.
+       [Fixes bug #338998]
+
 2008-01-17  Jonathan Pobst  <[EMAIL PROTECTED]>
 
        * ButtonBase.cs: Add LineLimit to 1.1 button drawing, and TextBoxControl

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs  
    2008-01-17 21:15:53 UTC (rev 93205)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs  
    2008-01-17 21:23:37 UTC (rev 93206)
@@ -1083,6 +1083,7 @@
                                        grid_textbox.Font = bold_font;
                                else
                                        grid_textbox.Font = this.Font;
+                               Invalidate (e.ChangedItem.Bounds);
                        }
                }
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to