If you look at SettingsPage.xaml in a project created by TemplateStudio, you will find the following code: It doesn't work if I write the same code on the project I created without TemplateStudio. How can I find namespace Microsoft.UI.Xaml?
I'm working on the WinUI3 project.
<Page xmlns:xaml="using:Microsoft.UI.Xaml">
<RadioButton>
<RadioButton.CommandParameter>
<xaml:ElementTheme>Light</xaml:ElementTheme>
</RadioButton.CommandParameter>
</RadioButton>
</Page>
Refer to the Doc: Download and install the Windows UI Library