[Mono-bugs] [Bug 394310] New: PropertyGrid: BrowsableAttribute ignored from base class

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat May 24 06:09:53 EDT 2008


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


           Summary: PropertyGrid: BrowsableAttribute ignored from base class
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: Other
        OS/Version: Other
            Status: ASSIGNED
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: contact at i-nz.net
        ReportedBy: andyhume32 at yahoo.co.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=217963)
 --> (https://bugzilla.novell.com/attachment.cgi?id=217963)
Repro (updated)

PropertyGrid should not display a "new" overridden property that is marked
[Browsable(false)] in the base class.

class AaaBase
{
  [Browsable(false)]
  public int Woooo { get ... }
}
class Aaa : AaaBase
{
  public new int Woooo { get ... }
}


Repro either:
1) WinForms property ToolStrip.Controls should be invisible.
For instance see app PropGridFormControlsTabView from bug 384294.

2) Or, property FooInt32HiddenInBase, in attached update to
PropGridManyObj*.cs. 


Is this something that needs to be tested for other attributes?


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list