Image fill the space on the button in WPF

后端 未结 4 1600

I have Button on my WPF app and I want an Image to fill the Button completely. Currently I have The following code and it does not fil

4条回答
  •  无人共我
    2021-01-20 06:17

    Try setting HorizontalAlignment and VerticalAlignment to Stretch and Dock to Fill.

提交回复
热议问题