Xaml Options Compilation
Enumerates values that control when XAML is compiled into IL.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[System.Flags] public enum XamlCompilationOptions
type XamlCompilationOptions =
Compile the XAML for the class or project when the application is built.
Compile the XAML for the class or project when the application is run on the device.
Enabling build-time compilation by specifying the
Compile option checks the XAML at build time, reduces loading time, and produces a smaller assembly or application.
By default, XAML compilation at build time is turned off.