Share via


XamlCompilationAttribute Class

Definition

Caution

XamlCompilationAttribute is deprecated. Specify xaml inflator using msbuild metadata on MauiXaml items in your .csproj: <MauiXaml Update="YourFile.xaml" Inflator="XamlC" />

public ref class XamlCompilationAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Module, Inherited=false)]
public sealed class XamlCompilationAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Module, Inherited=false)]
[System.Obsolete("XamlCompilationAttribute is deprecated. Specify xaml inflator using msbuild metadata on MauiXaml items in your .csproj: <MauiXaml Update="YourFile.xaml" Inflator="XamlC" />")]
public sealed class XamlCompilationAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Module, Inherited=false)>]
type XamlCompilationAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Module, Inherited=false)>]
[<System.Obsolete("XamlCompilationAttribute is deprecated. Specify xaml inflator using msbuild metadata on MauiXaml items in your .csproj: <MauiXaml Update="YourFile.xaml" Inflator="XamlC" />")>]
type XamlCompilationAttribute = class
    inherit Attribute
Public NotInheritable Class XamlCompilationAttribute
Inherits Attribute
Inheritance
XamlCompilationAttribute
Attributes

Constructors

Name Description
XamlCompilationAttribute(XamlCompilationOptions)

Properties

Name Description
XamlCompilationOptions

Applies to