Questions tagged [xaml-islands]

41 questions
8
votes
0 answers

How to fix: Failed to create component WindowsXamlHost. Could not find Windows Runtime type Microsoft.Tookit.Win32.UI.XamlHost.IXamIMetadataContainer

I am trying to host UWP Controls on my .NET Framework 4.8 Application. After I have installed the Microsoft.Toolkit.Forms.UI.XamlHost Nuget Package, I added a WindowsXamlHost component to the form. However, this error message popped up: I have…
Apollo199999999
  • 186
  • 3
  • 12
3
votes
0 answers

Get app HWND from UIElement section Xaml Island WinRT/C++

How to get the HWND part used for hosting the UIElement from a UWP project on a XamlIsland WinRT/C++ based application? The HWND I mean can be: Desktop application Window or other UI element (HWND) Internal native window (HWND)
Donny1605
  • 31
  • 2
3
votes
2 answers

Hosting CaptureElement with WindowsXamlHost Overlay

Im trying to overlay a Grid on top of CaptureElement (Camera Feed) hosted with WindowsXamlHost in my WPF .NET Core 3.1 App, but the CaptureElement always stays on top of any other control. Is it not possible to overlay a grid on top of…
iNCEPTiON_
  • 611
  • 2
  • 10
  • 27
2
votes
1 answer

How to fix Microsoft Store package validation error: You cannot submit pre-compiled .NET Native packages?

I'm developing a WPF application, I added a custom WinRT component (implemented in UWP) and I'm hosting this win10 component in the WPF app, via XamlHost. I followed every step of the documentation, my custom controls are implemented in a UWP app…
Attila Szász
  • 707
  • 4
  • 22
2
votes
0 answers

Could I use ContentDialog in WPF by XAML Islands

In some cases, I want to call the Windows 10 Style Dialog, because it's more beautiful and modern. But our project is using WPF, we cannot call ContentDialog directly. I'm not sure if XAML Islands can meet my requirement. I followed the document…
Cade Huang
  • 31
  • 2
2
votes
0 answers

WPF XAML Islands - Using MediaCapture and VideoEffectDefinition

Trying to create a WPF app, using UWP MediaCapture and a custom VideoEffect. The VideoEffect is defined inside a Windows Runtime Component. When adding the effect to MediaCapture, the app crashes with "Cannot find specified module. Failed to…
JPH
  • 43
  • 5
2
votes
0 answers

"XDG0062 Catastrophic failure..". When trying to use UWP controls into a .Net Core WPF application. Why?

Using: - Visual Studio 2019 16.4.4 Version 4.8.03752. - Project .Net Core 3.1 With WPF WinExe netcoreapp3.1
Eric Ouellet
  • 10,996
  • 11
  • 84
  • 119
1
vote
1 answer

Is it possible to receive push notifications from WNS in a WPF app, which uses Xaml Islands?

I'm creating an app in WPF and using Xaml Islands to add UWP look and feel to it. I'd like to receive push notifications from Amazon SNS, using the Windows Push Notification Services (WNS). Following this article to create a notification channel, I…
Attila Szász
  • 707
  • 4
  • 22
1
vote
0 answers

WPF Xaml Islands - UWP Map Control pixelated polyline

I'm currently migrating a WPF app from .Net Framework to .Net Core (3.1). This application currently uses the MapControl from the Microsoft.Maps.MapControl.WPF assembly. The goal is to migrate this control to a UWP MapControl from the…
whatthe
  • 11
  • 2
1
vote
1 answer

How to package a WPF (.NET Core) app with XamlIslands and Desktop Bridge?

I have an application in WPF targeting .NET Core v3.1 and I'm using XamlIslands to display Windows 10 UI components. In order to use XamlIslands, I had to first migrate my app from .NET Framework to .NET Core. I put my custom UWP components into a…
Attila Szász
  • 707
  • 4
  • 22
1
vote
1 answer

How to catch hyperlink clicks in UWP RichEditBox?

I'm trying to use RichEditBox in a UWP custom component, which would be added to a WPF application through XamlIslands:
Attila Szász
  • 707
  • 4
  • 22
1
vote
1 answer

Cannot use an Xaml component from a C# WinRT Component in C++/WinRT Xaml Islands project

How to replicate (we will use Windows Terminal as example): Clone the Windows Terminal repo and fetch submodules Create a C# Windows Runtime Component in the solution with a UserControl with some random controls Reference the C# WinRT Component…
Ahmed Walid
  • 57
  • 2
  • 10
1
vote
1 answer

I can use XAML Islands in WPF just if the .NET Core is the target platform?

I'd like to use XAML Islands in my WPF project, which targets .NET Framework. I tried to add to my project, but I couldn't make it work. This article says that the WPF apps are supported, but the documentation says that: Using XAML Islands to host…
Attila Szász
  • 707
  • 4
  • 22
1
vote
1 answer

How to use the correct WindowsRuntime.dll in WPF for XAML Islands?

I'm developing a WPF application and I would like to add XAML Islands to be able to use windows 10 controls in my app. Following this tutorial I added the Microsoft.Toolkit.Wpf.UI.XamlHost project via Nuget Package Manager. It also installed it's…
Attila Szász
  • 707
  • 4
  • 22
1
vote
1 answer

XAML Islands, Always get an error trying to publish the WPF Project. More people having the same issue?

I am trying to run the WPF XAML Islands example commited by Microsoft at https://github.com/microsoft/Xaml-Islands-Samples. Every time I publish the app and try to execute the project in at any windows 10 machine (yes i have confirm that have the…
1
2 3