Click here to Skip to main content
11,789,710 members (62,639 online)
Rate this: bad
Please Sign up or sign in to vote.
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 7-Nov-12 2:16am
VinayRajK at 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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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

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

  Print Answers RSS
0 OriginalGriff 999
1 Maciej Los 765
2 KrunalRohit 686
3 CPallini 606
4 Richard MacCutchan 430

Advertise | Privacy | Mobile
Web03 | 2.8.1509028.1 | Last Updated 7 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100