XamlCompilationAttribute Класс

Определение

Внимание

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
Наследование
XamlCompilationAttribute
Атрибуты

Конструкторы

Имя Описание
XamlCompilationAttribute(XamlCompilationOptions)

Свойства

Имя Описание
XamlCompilationOptions

Применяется к