├── Assets ├── beach.jpg ├── beach2.jpg ├── island.jpg ├── sunset.jpg ├── Butterfly.png ├── paradise.jpg ├── sunset2.jpg └── sunset3.jpg ├── App.xaml.cs ├── App.xaml ├── AssemblyInfo.cs ├── README.md ├── MainWindow.xaml ├── WPF_XAML_Islands_WinUI3.sln ├── WPF_XAML_Islands_WinUI3.csproj ├── Program.cs ├── .gitattributes ├── app.manifest ├── .gitignore └── MainWindow.xaml.cs /Assets/beach.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/castorix/WPF_XAML_Islands_WinUI3/HEAD/Assets/beach.jpg -------------------------------------------------------------------------------- /Assets/beach2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/castorix/WPF_XAML_Islands_WinUI3/HEAD/Assets/beach2.jpg -------------------------------------------------------------------------------- /Assets/island.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/castorix/WPF_XAML_Islands_WinUI3/HEAD/Assets/island.jpg -------------------------------------------------------------------------------- /Assets/sunset.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/castorix/WPF_XAML_Islands_WinUI3/HEAD/Assets/sunset.jpg -------------------------------------------------------------------------------- /Assets/Butterfly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/castorix/WPF_XAML_Islands_WinUI3/HEAD/Assets/Butterfly.png -------------------------------------------------------------------------------- /Assets/paradise.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/castorix/WPF_XAML_Islands_WinUI3/HEAD/Assets/paradise.jpg -------------------------------------------------------------------------------- /Assets/sunset2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/castorix/WPF_XAML_Islands_WinUI3/HEAD/Assets/sunset2.jpg -------------------------------------------------------------------------------- /Assets/sunset3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/castorix/WPF_XAML_Islands_WinUI3/HEAD/Assets/sunset3.jpg -------------------------------------------------------------------------------- /App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Configuration; 4 | using System.Data; 5 | using System.Linq; 6 | using System.Threading.Tasks; 7 | using System.Windows; 8 | 9 | namespace WPF_XAML_Islands_WinUI3 10 | { 11 | /// 12 | /// Interaction logic for App.xaml 13 | /// 14 | public partial class App : Application 15 | { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /App.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | [assembly: ThemeInfo( 4 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located 5 | //(used if a resource is not found in the page, 6 | // or application resource dictionaries) 7 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located 8 | //(used if a resource is not found in the page, 9 | // app, or any theme specific resource dictionaries) 10 | )] 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # WPF_XAML_Islands_WinUI3 2 | 3 | Test WinUI 3 XAML Islands in WPF/C# with [DesktopWindowXamlSource](https://learn.microsoft.com/en-us/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.hosting.desktopwindowxamlsource?view=windows-app-sdk-1.4) 4 | released in Windows App SDK [1.4](https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/release-notes-archive/stable-channel-1.4#xaml-islands-no-longer-experimental) 5 | 6 | Actually, "Enable in-app Toolbar" must be disabled : https://github.com/microsoft/microsoft-ui-xaml/issues/8806 7 | 8 | ![image](https://github.com/castorix/WPF_XAML_Islands_WinUI3/assets/22345506/0d1457dc-38cd-4e35-affc-8f2f45d79808) 9 | -------------------------------------------------------------------------------- /MainWindow.xaml: -------------------------------------------------------------------------------- 1 | 9 | 10 |