All Questions
12
questions
30
votes
3
answers
28k
views
MultiDataTrigger with OR instead of AND
I am trying to set multiple DataTriggers on my Button. I did some research and found that MultiDataTrigger allows you to do this. I want the Visibility property of my Button to be set to false if the ...
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">
...
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 ...
0
votes
2
answers
3k
views
Button visibility depending on two properties (OR not AND)
I have a button in WPF and I want to make it visible if the mouse is over the border the button is in. This is simple:
<Button Grid.Column="1" Click="DimFilter_Click" Style="{...
1
vote
1
answer
31
views
Add 2 diagonals lines before my Button
I want to implement button that after Mouse Enter 2 new Buttons appear, i can do that with only change the Visibility property but i want to 2 new Button will appears with diagonal Lines:
Any ...
0
votes
2
answers
226
views
Button with image not overlaying another image
I have an image that is the stretched to be the size of the window (width and height wise).
I have a button that sits on top with the following XAML:
<Image Source="sample.png"></Image>
&...
0
votes
1
answer
660
views
Button click event not responding after collapsing parent
I have a UserControl with a number of StackPanel's. I like to hide specific panels depending on the user action. A StackPanel which is visible on startup gives me a number of working buttons. The ...
1
vote
2
answers
138
views
wpf remove button then add it in again at the same place
I have 3 buttons in a row inside a dockpanel (maybe this is not the right panel for me?). Each button is docked left.
|Button1|Button2|Button3|
I would like to dynamically remove any of the buttons ...
7
votes
2
answers
5k
views
Showing a button on a selected datagridrow
I have a datagrid with a number ow rows. Every row has as DeleteRow-button. Only the row that is selected should have this button visible. As I see it there may be at least two solutions:
a) binding ...
1
vote
1
answer
795
views
WPF Button Visibility issue
I have this binding on Visibility
Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"
I want to set Visibility = False if ComputedVerticalScrollBarVisibility = True and Visibility = ...
9
votes
1
answer
13k
views
Adjusting Button Visiblity with MouseOver
I want to display a button only when the user puts the mouse over its location, once the mouse leaves the area, the button should go back to being Hidden. Here is my code for the buttons.
<...
3
votes
2
answers
2k
views
Why isn't the MouseEnter event firing?
Further investigation has revealed that the problem is that the mouse enter event for the button isn't always firing. Most of the time it does, but either initially or after the button has been hidden ...