XamlCompilationOptions Enum

Definition

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 = 
Inheritance
XamlCompilationOptions
Attributes

Fields

Compile 2

Compile the XAML for the class or project when the application is built.

Skip 1

Compile the XAML for the class or project when the application is run on the device.

Remarks

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.

Applies to