Black background before loading a wpf controll when using ElementHost

前端 未结 3 1389
迷失自我
迷失自我 2020-12-10 23:50

I\'m using WPF in WinForms with ElementHost. When the form loads, there is a flash of black background where the ElementHost is about to load. This looks kind of bad. Any su

3条回答
  •  情歌与酒
    2020-12-11 00:17

    Hide the element (Visibility = Hidden) until the WinForms control is fully loaded...

提交回复
热议问题