Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide BorderStyle
Message
 
To
01/10/2009 19:42:08
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01427185
Message ID:
01427746
Views:
39
>>I'm creating a user control. Is it possible to hide the control's BorderStyle property?
>
>Kevin, you need to use the [Browsable(false)] attribute. The BorderStyle property is not virtual however, so you'll need to specify it like this:
>
>
>[Browsable(false)]
>public new BorderStyle BorderStyle
>{
>	get { return base.BorderStyle; }
>	set { base.BorderStyle = value; }
>}
>
>
>~~Bonnie


Ok, I added this property to my class, except I made it private, and I can still see and set the property in the prop sheet.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform