C#C
C#3y ago
Linebeck

❔ Webbrowser/Webbox flickers on startup

Anybody know why the webbox quickly appears before showing right on it's parent?
https://i.gyazo.com/83127205b6fb2cffd46fd7505f72cd77.mp4

This is how i call it:
        public void InitializeWebbox()
        {
            var hWnd = new WindowInteropHelper(this).EnsureHandle();
            sliderBox = new Webbox(_sliderBox, hWnd);
            sliderBox.AllowsTransparency = false;
            sliderBox.Topmost = false;
            WebBrowser sliderBrowser = sliderBox.WebBrowser;
            sliderBrowser.Navigate(new Uri(sliderUrl));
            
        }
Was this page helpful?