Skip to content

The lightweight XAML Islands toolchain with the Windows 11 controls styles.

License

Notifications You must be signed in to change notification settings

ProjectMile/Mile.Xaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mile.Xaml

NuGet Package

Screenshot for XAML controls demo

Screenshot for XAML designer support

Mile.Xaml is the lightweight XAML Islands toolchain with the Windows 11 controls styles. It was originally created for improving the development and deployment experience in modernization of NanaZip. For validating the usability of this, NanaBox and NanaGet were also created.

Features

  • Provide XAML Compiler, XAML Designer and XAML Hot Reload support.
  • Provide Windows 11 XAML controls styles for Windows Runtime XAML controls.
  • Provide C/C++ projects, .NET Framework (Visual Studio 2022 Version 17.9.0 or later), and Modern .NET (.NET 8.0 or later) projects support.
  • Integrate all features from Microsoft.Toolkit.Win32.UI.XamlApplication.
  • Provide support for responding to Windows theme changes from dark to light or vice versa at run time.
  • Integrate several XAML Islands workarounds.
  • Provide Mile.Xaml.ContentWindow window class for simplifying the development.
  • Provide immersive Mica effect support Mile.Xaml.ContentWindow window class.
  • Provide Win32 context menu dark mode support.
  • Use VC-LTL 5.x toolchain to make the binary size smaller.
  • Provide NuGet package.

Usage

You only need to search and add Mile.Xaml package in your NuGet client.

There are some samples that demonstrate using XAML Islands with Mile.Xaml. We hope it can help you develop applications with Mile.Xaml and enjoy the beauty of XAML Islands.

If you don't want to deploy Windows 11 XAML controls styles for Windows Runtime XAML controls (Mile.Xaml.Styles.SunValley.xbf) to your project's output folder, please set <MileXamlNoSunValleyXamlStyle>true</MileXamlNoSunValleyXamlStyle> in your project configuration file.

System Requirements

  • Supported OS: Windows 10 Version 2004 (Build 19041) or later
  • Supported Platforms: x86, x86-64(AMD64) and ARM64

Documents

Credits

Note: This list sort in alphabetical order.