<Grid>
<StackPanel x:Name="ThePanel" Background="Transparent">
<TextBox Margin="5">WOOT</TextBox>
<TextBox Margin="5">WOOT</TextBox>
<TextBox Margin="5">WOOT</TextBox>
</StackPanel>
<Popup IsOpen="{Binding ElementName=ThePanel, Path=IsMouseOver, Mode=OneWay}">
<!--stuff-->
</Popup>
</Grid>
所有面板的背景默认值为null,当背景为null时,触摸和鼠标事件将无法工作。请将stackpanel的背景设置为透明或其他颜色。