Sprache

XamlCompilationAttribute Klasse

Definition

Attribut, das steuert, ob XAML zur Buildzeit oder Laufzeit kompiliert wird.

[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Module, Inherited=false)]
public sealed class XamlCompilationAttribute : Attribute
type XamlCompilationAttribute = class
    inherit Attribute
Vererbung
System.Attribute
XamlCompilationAttribute
Attribute
System.AttributeUsageAttribute

Hinweise

Standardmäßig ist die XAML-Kompilierung zur Erstellungszeit deaktiviert.

Konstruktoren

Name Beschreibung
XamlCompilationAttribute(XamlCompilationOptions)

Erstellt eine neue XamlCompilationAttribute mit dem angegebenen Wert.

Eigenschaften

Name Beschreibung
XamlCompilationOptions

Dient zum Abrufen oder Festlegen eines Werts, der angibt, ob XAML zur Laufzeit oder Kompilierungszeit kompiliert werden soll.

Gilt für: