Type of issue
Missing information
Feedback
I'm developing on WinUI3, and trying to restyling button control.
Document says
For WinUI 2 controls (Microsoft.UI.Xaml.Controls namespace), the default style is defined in the metadata, so omit BasedOn.
Currently using Button control is in namespace
Microsoft.UI.Xaml.Controls.Button is UinUI 2 controls, right?
and button appearance is different between write BasedOn or omit.

BasedOn ... button corner is rounded.

omit ... button corner is not rounded.
what is the better way to restyling controls?
or is there document for WinUI3?
Page URL
https://learn.microsoft.com/en-us/windows/apps/design/style/xaml-styles#apply-an-implicit-or-explicit-style
Content source URL
https://github.com/MicrosoftDocs/windows-dev-docs/blob/docs/hub/apps/design/style/xaml-styles.md
Author
Jim Walker (@jwmsft)
Document Id
a0995d55-f5b2-c341-aeb2-36aa3effea0b
Type of issue
Missing information
Feedback
I'm developing on WinUI3, and trying to restyling button control.
Document says
Currently using Button control is in namespace
Microsoft.UI.Xaml.Controls.ButtonisUinUI 2 controls, right?and button appearance is different between write
BasedOnor omit.BasedOn ... button corner is rounded.
omit ... button corner is not rounded.
what is the better way to restyling controls?
or is there document for WinUI3?
Page URL
https://learn.microsoft.com/en-us/windows/apps/design/style/xaml-styles#apply-an-implicit-or-explicit-style
Content source URL
https://github.com/MicrosoftDocs/windows-dev-docs/blob/docs/hub/apps/design/style/xaml-styles.md
Author
Jim Walker (@jwmsft)
Document Id
a0995d55-f5b2-c341-aeb2-36aa3effea0b