i have some problems with a wpf popup.
I want to open the popup with MouseEnter on a Button. works fine until I
pressed the button was. then it
every time the button gets a mouseenter should be opened the popup, but
after click on the butten it doesnt work (if not click it works fine)
anyone can help me?
thx a lot
XAML-Code
<Grid>
<Button
x:Name="btn"
Content="Open popup"
MouseEnter="btn_MouseEnter"
/>
<Popup x:Name="pop">
<Grid Width="100" Height="100">
</Grid>
</Popup>
<Button
x:Name="button"
Content="do nothing"/>
</Grid>
c#-Code
private void btn_MouseEnter(object sender,
System.Windows.Input.MouseEventArgs e)
{
this.pop.IsOpen=true;
}