hide properties in propertygrid

Stimulsoft Reports.NET discussion
Post Reply
paullef
Posts: 41
Joined: Thu Jan 17, 2013 5:06 pm

hide properties in propertygrid

Post 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
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: hide properties in propertygrid

Post by Alex K. »

Hello,

You can use the following code:

Code: Select all

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