Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

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.

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


Feedback

Was this page helpful?