All Questions
Tagged with visibility wpf
55
questions with no upvoted or accepted answers
4
votes
1
answer
2k
views
Binding programmatically generated DataGridTextColumn's Visibility property to a checkbox
I'm trying to bind the visibility property of a DataGridTextColumn to the IsChecked value of a combo box (cbIP). For most columns, I have solved the problem in XAML with lines like this:
<...
3
votes
0
answers
471
views
WPF Animation crash on collapsed element but not on hidden element
Why does animation fail on collapsed controls and not on hidden controls?
Concrete, in WPF I have a custom made checkbox with animation whereby the visibility is dynamically linked to the “setVisible” ...
2
votes
1
answer
2k
views
Show hidden WPF elements in Visual Studio designer
As opposed to this, does anybody has figured out a way to show all hidden elements while working in Visual Studio designer(or Blend)?
It's anti-productive to constantly change the default visibility ...
2
votes
0
answers
1k
views
ContentControl Visibility over DataTemplate and DataContext property
Is there a posibility to change the visibility of the ContentControl over the DataTemplate of the content? I have the following situation:
A custom control (button with four states - background image ...
2
votes
0
answers
321
views
Animating the visibility of a usercontrol
I've got a usercontrol that defines storyboards for visibility hide & show (Root is the top-level grid control in the usercontrol):
<Storyboard x:Key="VisibleStoryboard">
<...
2
votes
1
answer
777
views
How come DataGridTemplateColumn Visibility Hidden doesn't allocate space for the column?
I have the following DataGridTemplateColumn:
<DataGrid.>
<DataGrid.Columns>
<DataGridTemplateColumn x:Name="DeleteColumn" Header="" HeaderStyle="{StaticResource ...
1
vote
0
answers
95
views
Content of TabItem stays visibile when set to Collapsed/Hidden
I have a TabControl that displays default information for objects that can be selected by the user in a list.
Unfortunately not all of the TabItems apply to all types of objects. That's why I decided ...
1
vote
1
answer
1k
views
WPF - setting visibility on code behind for a WebBrowser not working
I have two elements, a WebBrowser and a Slider, and I'm trying to hide one and show the other depending on which type of document a user opens, a PDF or a video file (mp4). But, currently, when I open ...
1
vote
2
answers
2k
views
Change Visibility of one Control when it is changed on another one
I got 3 Controls in my XAML.
If the Visibility from one of them changes to Visible, the others Visibility should change to Hidden. So that only one of them can be Visible at a time.
My Xaml
<...
1
vote
0
answers
2k
views
WPF - Get current actually visible controls inside ScrollViewer
I have a scrollviewer in my WPF project. Inside the scrollviewer there are several buttons with images in the inside. Something similar to Popcorn Time (image).
There can be a lot of buttons inside ...
1
vote
0
answers
748
views
Avalondock MVVM - Visibility
again I have problably a simple problem:
I'm trying to build a very simple MVVM - Application:
XAML:
<StackPanel>
<StackPanel.Resources>
<ad:...
1
vote
0
answers
208
views
Visibility Binding crashes on select workstations
I have a WPF application that has a visibility set on a border. The binding on the border is:
<Border Visibility="{Binding IsThisVisible, Converter={StaticResource BoolToVisibility}}" >
&...
1
vote
2
answers
1k
views
WPF style,visibility
Now I have a ToggleButton style, then I set the Chrome.Visibility = Visibility.Hidden it seems like the ToggleButton hiddened, but it's not.
I use the snoop, find out the ToggleButton's Visibility is ...
1
vote
0
answers
995
views
WPF disable tooltips in child elements
Please help me - how can I disable tooltips on child elements in Grid?
<Grid x:Name="root">
<Border HorizontalAlignment="Right"
VerticalAlignment="Top"
Margin="0,...
1
vote
1
answer
2k
views
WPF PasswordBox label visibility
I have created a passwordbox user control for a login screen. I was trying to use a watermark approach, but most of the examples I saw failed when I tried to use them. I switched to just being able to ...