https://bugzilla.novell.com/show_bug.cgi?id=396076


           Summary: PropertyGrid: ignores set of Padding "All" value
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: ASSIGNED
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


PropertyGrid fails to set the 'All' sub-property of a Padding type property
(e.g. Control.Margin, Control.Padding), any change is ignored.  After
investigation  it's apparent that actually PaddingConverter never uses the
"All" value in method CreateInstance.

Patch attached.  Fixes two bugs.


Enabling the tests to run also on MSFT is difficult as the implementation there
needs the "context" argument supplied, throwing ArgNullEx otherwise.  I hacked
up a fake ITypeDescriptorContext and saw the converter access its PD and
Instance properties.  Anyway at that point I gave up since our new behaviour
seems correct anyway.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to