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
Post a Comment