c# - Filtering properties displayed in PropertyGrid -


please can show me how can list properties want show in propertygrid.

example make list or property , show property in list.

here nice property grid example, i'm using now.

http://hotfile.com/dl/104485386/ce9e469/propertygriddemo.rar.html

if can paste example code appreciate much.

if @ code, browsable properties added.

if (!property.isbrowsable) continue; 

so if don't want display property make non-browsable. can like

[browsable(false)] 

if don't want property displayed on property grid provide browsable attribute , set false this.

[browsable(false)] public solidcolorbrush background { get; set; } 

hope helps


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -