Xamarin.Forms Guides | Samples

Xamarin.Forms.Xaml.XamlCompilationAttribute Class

Attribute that controls whether XAML will be compiled at build time or run time.

See Also: XamlCompilationAttribute


[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Module, Inherited=false)]
public sealed class XamlCompilationAttribute : Attribute


By default, XAML compilation at build time is turned off.


Namespace: Xamarin.Forms.Xaml
Assembly: Xamarin.Forms.Xaml (in Xamarin.Forms.Xaml.dll)
Assembly Versions:,

The members of Xamarin.Forms.Xaml.XamlCompilationAttribute are listed below.

See Also: Attribute

Public Constructors

Public Properties

XamlCompilationOptionsXamlCompilationOptions. Gets or sets a value that tells whether to compile XAML at run time or compile time.