开发者

Impact of updating DynamicRessource inside the transparent background of a WindowsFormsHost

I have a windows form control inside wpf application using a windows forms host.

the windows forms control have a transparent background.

The WindowsFormsHost have the background color defined using a DynamicResource.

It's working fine, except when the 开发者_Python百科dynamicresource is updated. Then the background color of the windows forms control stay the same.

My aim is to fix this. One way could be to catch an event which was telling me the dynamic ressource had change, but i couldn't find such event.

Any idea ?

Thanks a lot,


Solve by doing the background binding on the WindowsFormsHost despite the parent panel.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜