Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Change WPF Border content visibility on MouseOver

$
0
0
<Border HorizontalAlignment="Left"  Background="#BFC0C2"  VerticalAlignment="Stretch" ><Border.Style><Style><Style.Triggers><Trigger Property="Border.IsMouseOver" Value="True"></Trigger><Trigger Property="Border.IsMouseOver" Value="False"></Trigger></Style.Triggers></Style></Border.Style><Button Foreground="Transparent" Name="ShortCutButtonPrev" Content="&lt;"></Button></Border>

I placed a button inside the border and i want to show this Button only when someone mouse over the border , by default i want to make the button as collapsed. How can i achieve this using xaml ?


Thanks ***Share Knowledge to gain more***


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>