0
我在WPF中有5个用于缩略图视图的图像控件和1个用于放大视图的图像控件。将一个控件的图像源设置为wpf中另一个控件的图像源
我想当鼠标被采取任何上述5个的图像的EnlargedImageControl源属性设置到5缩略图的源中的一个的源极上悬停
<Image Source="{Binding DataContext.PassportSizeImage, ElementName=Root}"/>
<Image Source="{Binding DataContext.PassportImage, ElementName=Root}"/>
<Image Source="{Binding DataContext.VisaImage, ElementName=Root}"/>
<Image Source="{Binding DataContext.SSNImage, ElementName=Root}"/>
<Image Source="{Binding DataContext.BarCodeImage, ElementName=Root}">
,我需要设置的该源属性图像下面的ZoomImage的源属性。
--Set ZoomImage source equal to image last hovered above.
<Image Name="ZoomImage" Source="{Binding DataContext.BarCodeImage, ElementName=Root}">
能否请您详细些吗? – pushpraj 2014-10-06 02:46:05