PreviewMouseLeftButtonUp事件未触发

PreviewMouseLeftButtonUp事件未触发

本文介绍了帮助! -PreviewMouseLeftButtonUp事件未触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有WrapPanel的ScrollViewer. WrapPanel中有许多自定义控件,这些控件上有几个TextBlocks和一个图像.

I have a ScrollViewer with a WrapPanel inside of it. Within the WrapPanel are a number of custom controls that have a couple of TextBlocks and an image on them.

只是给您一个概念,这是主要UserControl的xaml摘录

Just to give you an idea this is a xaml excerpt of the main UserControl


<surface:SurfaceScrollViewer VerticalScrollBarVisibility="Disabled" Margin="14,47,368,8" HorizontalAlignment="Stretch">
   <WrapPanel x:Name="wpMeds" Orientation="Vertical" />
</surface:SurfaceScrollViewer>

推荐答案


这篇关于帮助! -PreviewMouseLeftButtonUp事件未触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 23:38