windows-community-toolkit

Place control on top of Microsoft.Toolkit.Wpf.UI.Controls.WebView

此生再无相见时 提交于 2021-02-16 20:22:54
问题 <Grid> <!-- xmlns:webview="clr-namespace:Microsoft.Toolkit.Wpf.UI.Controls;assembly=Microsoft.Toolkit.Wpf.UI.Controls.WebView" --> <webview:WebView ... /> <Grid x:Name="Overlay" Panel.ZIndex="1000" Background="Red" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/> </Grid> I am trying to overlay a WebView with another control ( Overlay ). But it seems that the WebView is always on top of other controls. Is there a way to place controls on top of a Microsoft.Toolkit.Wpf.UI.Controls

UWP Community Toolkit DataGrid onecoreuap errors

你。 提交于 2021-02-10 17:00:58
问题 I am using the Community Toolkit DataGrid (6.0.0 build 86) in a desktop application running with Windows 10 version 1903. I get loads of errors like this: onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FF80B5C04B0: (caller: 00007FF80B5C027B) ReturnHr(163) tid(4938) 80070490 Element not found. whenever any item is updated in the DataGrid. I would like to get rid of the error or at least be able to filter it out of the debug output - the output is all but

uwp adaptive gridview renders 1st element wrong

a 夏天 提交于 2021-01-28 08:04:12
问题 I am using AdaptiveGridView from UWP Community toolkit . The Very first Item displays horribly wrong and all other Items are displayed just fine. See in the picture below the 1st item has bigger Folder Image than others. XAML <Style TargetType="controls:AdaptiveGridView" x:Key="MainAdaptiveStyle"> <Setter Property="SelectionMode" Value="None"/> <Setter Property="StretchContentForSingleRow" Value="False"/> <Setter Property="DesiredWidth" Value="220"/> <Setter Property="IsItemClickEnabled"

Is it possible to make WebView control to read local html files?

拈花ヽ惹草 提交于 2021-01-27 12:11:43
问题 I'm making an application with WebView control. And I want it to read local html file. But I can't find the right way to make it possible. At first, I simply tried to use Navigate method and provide the file path in the "file:///~" format string as a parameter, but it didn't work. https://docs.microsoft.com/ja-jp/windows/communitytoolkit/controls/wpf-winforms/webview-known-issues This Microsoft page says that WebView control does not recognize "file:///~" protocol. And it shows the 3

Is there WinForms control for Chromium-Edge HTML renderer?

半世苍凉 提交于 2021-01-21 09:08:29
问题 Microsoft has recently released Edge browser which uses Chromium engine to render HTML. Is there a WinForms component which allows to embed it in a desktop application? I'm aware of CefSharp for WinForms, just looking if there's something supported natively. 回答1: WebView2 - Developer Preview The Microsoft Edge WebView2 control which is currently in developer preview enables you to host web content in your application using Microsoft Edge (Chromium) as the rendering engine. The developer

UWP WebView Printing shows the printed page blurred

时光怂恿深爱的人放手 提交于 2020-07-23 06:51:05
问题 There are many complaints online (such as this one and this one) about the printing of a webpage in WebVeiw where the printed page only shows the current view on the screen and not the entire page. By going through some code from online searches, I was able to print the entire page using the following code. But the printed page has tried to print it all in one page with a scrollbar enabled. Moreover, the printed content is very blurred (as shown below). Question : How can we make the printed

UWP WebView Printing shows the printed page blurred

拥有回忆 提交于 2020-07-23 06:50:34
问题 There are many complaints online (such as this one and this one) about the printing of a webpage in WebVeiw where the printed page only shows the current view on the screen and not the entire page. By going through some code from online searches, I was able to print the entire page using the following code. But the printed page has tried to print it all in one page with a scrollbar enabled. Moreover, the printed content is very blurred (as shown below). Question : How can we make the printed

UWP WebView Printing shows the printed page blurred

橙三吉。 提交于 2020-07-23 06:49:07
问题 There are many complaints online (such as this one and this one) about the printing of a webpage in WebVeiw where the printed page only shows the current view on the screen and not the entire page. By going through some code from online searches, I was able to print the entire page using the following code. But the printed page has tried to print it all in one page with a scrollbar enabled. Moreover, the printed content is very blurred (as shown below). Question : How can we make the printed

UWP - how can we repeat the display of 3 static text messages via a local tile notification

橙三吉。 提交于 2020-07-10 07:32:32
问题 Environment : Windows 10 Pro - v1903 , VS2019 - v16.6.2 Using this sample code from Microsoft docs, I was able to create a tile - with a text message - as shown below. But I would like to display 3 different static text messages in a certain interval. Question : In the above tile example, how can we repeat the display of 3 different static text messages via a local tile notification. For example: Every 10 minutes: Display This is message 1 in the first interval, This is message 2 during next

UWP - how can we repeat the display of 3 static text messages via a local tile notification

纵然是瞬间 提交于 2020-07-10 07:31:19
问题 Environment : Windows 10 Pro - v1903 , VS2019 - v16.6.2 Using this sample code from Microsoft docs, I was able to create a tile - with a text message - as shown below. But I would like to display 3 different static text messages in a certain interval. Question : In the above tile example, how can we repeat the display of 3 different static text messages via a local tile notification. For example: Every 10 minutes: Display This is message 1 in the first interval, This is message 2 during next