我有一个网格,其中的内容添加到listview.I已添加另一个网格,这是一个叠加在列表视图上。我需要滚动底层网格中的项目。如何检测事件的下层
<Grid>
<ListView>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
<TextBlock Text="CONTENT"/>
</ListView>
<Grid Background="Transparent" ManipulationDelta="Grid_ManipulationDelta" ManipulationMode="All"/>
</Grid>
请在此链接后面提供示例(http://stackoverflow.com/help/mcve) – peval27
如果您从叠加网格中删除了背景=“透明”或设置了“IsHitTestVisible =”False “',鼠标事件应该到达'ListView'。如果这样做不起作用或者覆盖网格包含更多内容,则可能必须捕获鼠标事件并将它们明确地转发到列表视图。 – grek40
@ grek40我需要操作覆盖网格事件以及滚动列表视图中的项目。建议我请 – shalusri