XamlCompilationAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attribute that controls whether XAML will be compiled at build time or run time.
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Module, Inherited=false)]
public sealed class XamlCompilationAttribute : Attribute
type XamlCompilationAttribute = class
inherit Attribute
- Inheritance
-
System.AttributeXamlCompilationAttribute
- Attributes
-
System.AttributeUsageAttribute
Remarks
By default, XAML compilation at build time is turned off.
Constructors
XamlCompilationAttribute(XamlCompilationOptions) |
Creates a new XamlCompilationAttribute with the specified value. |
Properties
XamlCompilationOptions |
Gets or sets a value that tells whether to compile XAML at run time or compile time. |