Page 1 of 1

hide properties in propertygrid

Posted: Sun Feb 10, 2013 2:22 pm
by paullef
Is it possible to hide some properties in the propertygrid of the stidesignercontrol, for instrance the reportauthor property. I have tried overloading the property and setting the browsable attribute to false, but this does not work, any other ideas.

Thanks
Paul

Re: hide properties in propertygrid

Posted: Mon Feb 11, 2013 11:12 am
by Alex K.
Hello,

You can use the following code:

Code: Select all

Stimulsoft.Base.Design.StiPropertyGrid.HideProperty(typeof(StiReport), "ReportAuthor");
Thank you.