【发布时间】:2014-12-22 10:39:30
【问题描述】:
这是我的按钮样式控件模板。
<StackPanel Orientation="Horizontal">
<Image x:Name="EmailImage" Source="../Images/btn__icon_savedisk.png" Height="17" Width="17" Stretch="None" RenderOptions.BitmapScalingMode="NearestNeighbor" />
<TextBlock x:Name="EmailImageTxt" Margin="20,0,20,0" Foreground="White" Text="{x:Static res:Localize.SAVE}" Background="{x:Null}" />
</StackPanel>
我的问题是当我将鼠标指针悬停在图像和文本按钮(图像和文本)之间的空间未选择的区域上时。我需要将鼠标焦点放在所有按钮上。
感谢您的帮助。
【问题讨论】: