如何在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。 –