Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Actually i wanna hide one control like label in designer form.....i can hide tat label while running the form but i wanna hide in designer window also!!!!how i hide that?
Posted
Comments
Vinay Raj K 7-Nov-12 8:45am    
Hello deenujii,
Normally, we cant hide the control in the designer form as far as my knowledge.. but if you want to do so for label control then, you can do like this.. just give the Text="" in the source code.. and if you want a text to that label then you can do that in coding.. like label1.Text = "someText"
I hope this helps..

1 solution

Make visible=false for the property of label
ie... label.visible=false;
 
Share this answer
 
v3
Comments
Deenuji 7-Nov-12 21:54pm    
already i used property only for hiding this....but i need to hide on designing window too.....so it is possible?????????????????????

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