question

Madhu-8808 avatar image
0 Votes"
Madhu-8808 asked ·

UWP - Webview with borders

Hi,

In our UWP app, we show data using web views. We have added a border around the web view. Now when the data loads, we see the empty borders before the text loads. Please check this.
Can you please let us know how to solve this issue.

https://drive.google.com/file/d/1SrvNep6FFNGzYLaiV7T7j7I0Et-oYQQT/view?usp=sharing

Here is the basic code for that.

alt text

Thank you.
Madhu


uwpuwp-xaml
webview.png (24.1 KiB)
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

$$ANON_USER$$ avatar image
0 Votes"
$$ANON_USER$$ answered ·

I have tried your code and the border does not dismiss when webview load complete, I found you bind IsComplete property for the BorderBrush, Please check if the BooleanToTopicBorderColor has return the correct value.

alt text


· 5 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks @NicoZhu-MSFT

Even If I hard code the values, still it seems to happen. I tried like this.



0 Votes 0 · ·

Code was missing from the above comment. So adding as an image

alt text


0 Votes 0 · ·
border.png (3.6 KiB)

Please share TopicBorderStyle for us.

0 Votes 0 · ·
Show more comments