All Questions
Tagged with visibility xaml
81
questions
0
votes
1
answer
2k
views
StackPanel visiblity "visible" on mouseOver
There are two stackpanels on in the other.
So the first stackpanel is always visible and has a barcode.
I want the second stackpanel x:Name="Verborgen" with Visiblity "Collapsed" to have Visibility "...
4
votes
0
answers
1k
views
Hide separator if items are hidden in a context menu
I would like to hide the separator in my context menu when all the menuitems are hidden.
If at least one of the two menuitems is visible, the separator must be visible too.
I've tried that:
<...
31
votes
5
answers
63k
views
Dynamically toggle visibility of WPF grid column from C# code
My problem is: I can't find out how to toggle the visibility of my WPF grid column. Assume following XAML markup:
<Grid x:Name="myGrid">
<Grid.RowDefinitions>
<...
11
votes
1
answer
17k
views
WPF XAML Grid Visibility Trigger
I have a status message located on the first row of my grid and I want it to slide in and out when the visibility changes.
The first visibility trigger works great and slides the first grid row open ...
0
votes
1
answer
132
views
Very weird logical error in WPF GridViewColumnHeader
I have custom treelistview and I put a checkbox in the first column of my treelistview. everything is ok but when I want to hide the checkbox column for other purpose (using variable SelectEnable) , ...
1
vote
2
answers
3k
views
How to set Visibility of Label which is bound to Textbox?
I have three TEXTBOX which are bound to LABEL. When I type something in TEXTBOX then TextBox text value is set to Label. Problem is i want to set Visiblity of LABEL to COLLAPSED when text box is blank ...
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 ...
1
vote
1
answer
227
views
Windows Phone Visibility Behaviours in CPU
I'd like to ask how objects behave in our phone when we program our applications.
Assume that we have some ellipses, squares rotating around a point, that is, there is a graphic animations where all ...
1
vote
1
answer
1k
views
Button Visibility bound to SelectedItem
I'm having a little problem with Binding. I want to bind 2 buttons with the SelectedItem of a ListBox.
The ListBox contains several values and displays them (Name, Age,...). When the user selects one ...
4
votes
3
answers
5k
views
WPF Visibility Resource with Binding
I got a WPF Application using MVVM Light. In one View i got many Controls which are using the same visibility binding. Because i dont like to insert my long binding path to every control. I'd like to ...
1
vote
1
answer
4k
views
C# WPF Label Visibility Exception
I'm trying to show a label based on the selected value of a combo box. I'm using VS2010.
Here's the code:
private void pointsSettings_SelectionChanged(object sender, SelectionChangedEventArgs e)
...
34
votes
6
answers
121k
views
Bind visibility property to a variable
I have a Border with Label inside a Window,
<Border x:Name="Border1" BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left" Height="21" Margin="229,164,0,0" VerticalAlignment="Top" ...
8
votes
1
answer
4k
views
TargetNullValue for Visibility that's bound to a boolean
I have a Grid whose Visibility property is bound to a boolean property of a certain model using a Converter:
<Grid Visibility="{Binding ElementName=MyTreeView, Path=SelectedItem.MyBoolProperty, ...
0
votes
2
answers
4k
views
User control is not hiding in wpf
I created a UserControl like Popup which is displayed when user clicks on menu item.
If user clicks side that user control should be collapsed.
It works fine for me when user clicks side other than ...
0
votes
1
answer
903
views
Making a visible/invisible panel that resizes the main window
I wish to achieve an effect like common media players with an eq or tracklist panel that can be shown or less with a click.
The main window should so automatically resize with the displayed content.
I ...