Questions tagged [xaml-islands]
41 questions
0
votes
1 answer
MapControl using XAML Island in WPF: default map layer is shown over custom tile layer
I've added a MapControl using this instruction to my WPF application. I wanted to add custom map layer to it, so I've added a OpenStreetMap tile layer using this instruction. I want to remove the default map at all, but it doesn't work.
I've tested…

Mahdi Ataollahi
- 4,544
- 4
- 30
- 38
0
votes
1 answer
Why does the XamlIslands Image control not display the image?
I am trying to let the user pick a file, and then display the file's icon on the XamlIslands GridView. After the user picks a file (the filepath of the file is myfile), the icon of the file is then saved to C:\LauncherX\Temp\Icons. The icon saves…

Apollo199999999
- 186
- 3
- 12
0
votes
0 answers
Retrieving HWND with using XAMLIsland, C++/WinRT, win32, UWP UserControl - FilePicker
I cannot for the life of me work this one out. I have a win32 app with a XAMLIsland that hosts a custom UWP UserControl using C++/WinRT. I am trying to use winrt::Windows::Storage::Pickers::FolderPicker and as such need to call…

Stefan V
- 33
- 4
0
votes
1 answer
Host a standard UWP control in a WPF app using XAML Islands
I have used the following example to host a standard UWP control in a WPF app using XAML Islands:
https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/host-standard-control-with-xaml-islands
But if I get to the point:
In your WPF…

Yonnr
- 81
- 8
0
votes
0 answers
How can XAML Islands follow the system theme change?
I'm developing a Win32 native application using XAML Islands.
I notice that the XAML controls will not follow the change of system color theme.
e.g. I change from 'light' to 'dark' in Settings, the controls still remain in light mode.
How can I make…

TitanSnow
- 33
- 3
0
votes
1 answer
wpf xaml island cant navigate between views
Im trying to getting a xaml island control working, it looks nice and seems to work except that I cant navigate between the views:
one exception I get is "NavigationView doesnt contain a definition for Child" for
navView.SelectedItem =…
user3091744
0
votes
1 answer
frame does not contain a definition of SourcePageType
Im trying to setup a navigation for my wpf app with xaml islands but cant navigate between the views. I get an error:
frame does not contain a definition of SourcePageType
MainWindow.cs:
private void On_Navigated(object sender,…
user3091744
0
votes
1 answer
Exception thrown when attemping to close DesktopWindowXamlSource
I am using the UWP Xaml hosting API for my Win32 C++ App. I have the following code:
winrt::Windows::UI::Xaml::Hosting::WindowsXamlManager XamlManager = winrt::Windows::UI::Xaml::Hosting::
…

Arush Agarampur
- 1,340
- 7
- 20
0
votes
0 answers
WPF .Net Core 3 XAML Island (UWP) application abruptly closes itself
Application I work on uses WPF and .Net Core 3.0 targeting Windows 1903 and up. Application has an XAML Islands with UWP's TreeControl inside WPF's Prism module View. It does loads and shows up ok. But if I do something in UWP control in XAML…

VladacusB
- 844
- 1
- 7
- 24
-1
votes
1 answer
UWP MapControl inW WPF app using XAML Islands
I have included a MapControl in my WPF Core application using these instructions. I can correctly display the map but the problem is when I try to place any other interface element on top of the map. I have tried many ways but the map always…

pablito
- 81
- 2
- 7
-1
votes
1 answer
WPF project integrating a UWP Xaml Island GridView
I'm trying to use the GridView control from UWP inside my WPF project. My goal is to have horizontal scrolling container that has 3 rows, so a WPF ListView is not enough; also the performance is really bad on touch devices. Another thing is that I…

Macaret
- 797
- 9
- 33