XamlCompilationAttribute XamlCompilationAttribute Class

Definition

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

[System.AttributeUsage]
public sealed class XamlCompilationAttribute : Attribute
type XamlCompilationAttribute = class
    inherit Attribute
Inheritance
XamlCompilationAttributeXamlCompilationAttribute
Attributes

Remarks

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

Constructors

XamlCompilationAttribute(XamlCompilationOptions) XamlCompilationAttribute(XamlCompilationOptions)

Creates a new XamlCompilationAttribute with the specified value.

Properties

XamlCompilationOptions XamlCompilationOptions

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

Applies to