Quantcast
Viewing all articles
Browse latest Browse all 18858

Change WPF Border content visibility on MouseOver

<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