bool IsEnabled { get; set; }
Source
Gets or sets whether the opt-in root marker should apply the registered theme document. Defaults to true
.
Remarks
Set this to false
when an embedding layout owns a complete fixed color-scheme contract and must not emit potentially conflicting host-theme metadata. The marker attribute is removed without changing any other existing root attributes.