Click here to Skip to main content
Rate this: bad
good
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 3:16am
Deenuji3.8K
Comments
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
good
Please Sign up or sign in to vote.

Solution 1

Make visible=false for the property of label
ie... label.visible=false;
  Permalink  
v3
Comments
deenujii at 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)

  Print Answers RSS
0 OriginalGriff 277
1 Maciej Los 220
2 DamithSL 190
3 Raul Iloc 185
4 Richard MacCutchan 175
0 OriginalGriff 5,130
1 DamithSL 4,197
2 Maciej Los 3,670
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,821


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 7 Nov 2012
Copyright © CodeProject, 1999-2014
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