Skip to main content

All Questions

Tagged with
0 votes
1 answer
78 views

Control not visible after toggling visibility recursively?

A Quick Note I've tried to be as thorough as possible with my question but you may still need additional clarification; if this happens to be the case, feel free to comment your concerns and I will ...
Taco's user avatar
  • 2,892
-2 votes
3 answers
137 views

Access UI form controls from another class into your main form in C#

How can I use my UI form controls from another class? I want to work with these controls in another class, then call it into my main form. The problem is that the new class I created can't seem to ...
taji01's user avatar
  • 2,615
0 votes
1 answer
2k views

C# Find out if a control is showing on the screen [duplicate]

I have a textbox inside of a panel. If the TextBow.Visible = true and the Panel.Visible = False, Is there anyway I can tell that the textbox, although it is visible, is not actually seen by the user....
DidIReallyWriteThat's user avatar
1 vote
1 answer
1k views

Does a collapsed control still take up memory?

G'day folks This is probably an easy one for you lot, but i'm curious... If you hide a say for example a stackpanel using visibility.collapsed, does it remove it from memory? if not, what would be ...
Ubermonk's user avatar
  • 101
6 votes
5 answers
6k views

How can I detect the visibility of a control?

How to detect if a control is visible to a user? I have a control that displays status of application, and I want it to be updated (it's value to be updated, for example, increase the value of a ...
Bogdan Verbenets's user avatar
12 votes
3 answers
9k views

How do I determine visibility of a control?

I have a TabControl that contains several tabs. Each tab has one UserControl on it. I would like to check the visibility of a control x on UserControl A from UserControl B. I figured that doing x....
SwDevMan81's user avatar
  • 49.6k
0 votes
2 answers
2k views

controls visibility in C#

How to make a control visibilty to true or false. currently i am setting a panel control visibility like this in code behind. i am comparing the values of Username and UserId. If both the values are ...
karthik k's user avatar
  • 3,921
3 votes
1 answer
2k views

How to check absolute control visibility and how to be notified for changes of absolute visibility

I have several controls inside my form and I perform several changes (Text, Font, BackColor etc.) on these controls. My changes are necessary only if the controls are visible. So, I want to stop ...
user202869's user avatar