Skip to main content

All Questions

Tagged with
1 vote
2 answers
304 views

How to change button style depends on width

I have simple user control with few controls inside, layout is following: <Grid> <DockPanel> <Grid DockPanel.Dock="Left" Margin="25 0 0 2"> ...
roman's user avatar
  • 49
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
0 votes
0 answers
2k views

BooleanToVisibilityConverter not working

In a charting application I'm developing, I am having trouble hiding my series. I am trying to bind the visibility to my radio buttons IsChecked property.The charts are from WPF Toolkit. Here is the ...
darkArk's user avatar
  • 144
1 vote
1 answer
175 views

WPF Control visibility dependent on config

I would like to build an app that will be used by different operators at different events. There are about 5 different events this app will be used. Not all the controls (buttons mainly but also ...
Dave McRae's user avatar
0 votes
1 answer
526 views

WPF UI Design Issue - Control Visibility

I am working on creating a chart user control with extra functionality using the D3 chart control. The following is my UI problem. I have a tool bar tray at the top, the chart in the middle and a ...
Mechanik's user avatar
  • 679
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
0 votes
2 answers
1k views

How can I make a control visible when WindowState is Maximized and collapsed when Normal?

This is my view, I want to collapse the second Rectange in the Button when windowstate is normal and vice versa. Mistakenly I changed the command name as ShowCommand, well I'm trying it but can't do ...
Khawar's user avatar
  • 859