如何在WindowsFormsHost
的按钮上设置背景图像?如何在WindowsFormsHost中设置Button的BackgroundImage?
<WindowsFormsHost Name="wfbutton1" Width="200" Height="100" Background="White" Visibility="Visible" >
<wf:Button Height="23" Left="145" Top="127" wf:Name="button1" Width="75"
Click="button1_Click" Visible="True" FlatStyle="Flat"
BackgroundImage="C:\\Users\\Kvint\\Desktop\\Background.bmp" />
</WindowsFormsHost >
我不能链接到图像 不工作 的BackgroundImage =“/ WpfApplication4;组件/图像/ Background.bmp “ 不工作太 –
我使用WindowsFormsHost的WinForms按钮,WinForms按钮有属性BackgroundImage。 –