net7.0
namespace Microsoft.Maui.Controls.Xaml
{
    [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class, Inherited = false)]
    public sealed class XamlCompilationAttribute : Attribute
    {
        public XamlCompilationOptions XamlCompilationOptions { get; set; }
    }
}
.NET 6.07.0
Information specific to net7.0
Assembly

Microsoft.Maui.Controls.Xaml , Version=1.0.0.0, PublicKeyToken=

Referencing

Requires all:

  • You need to have the workload maui installed.

  • Your project needs to set <UseMaui>True</UseMaui>.

Platform Restrictions

The property getter is supported on all platforms.

The property setter is supported on all platforms.

  • Built-in API
  • Package-provided API

12/24/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙