Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want hide some default properties of the Label control.

My code is:
C#
[Browsable(false)]
public override String Text
{
    get { return base.Text; }
    set { base.Text = value; }
}

This method is working for all properties except the GenerateMember property.

I want to hide the GenerateMember property. Can anybody help, please?
Posted
Updated 23-Dec-09 20:59pm
v3

Two approaches here [^]
 
Share this answer
 
Please modify your original post to add more information. For example, show the code (including any attributes you have applied) for the GenerateMember property.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900