Describe the bug
The Expander class API guide recommends modifying specific resource keys for customizing the look of the Expander:
https://docs.microsoft.com/en-us/windows/winui/api/microsoft.ui.xaml.controls.expander?view=winui-2.6#remarks
When trying to do so by setting: <x:Double x:Key="ExpanderChevronGlyphSize">20</x:Double> for example, nothing changes.
Some of the resources actually works, like setting
I've tried setting this properties both on the App scope and in a Page scope but none of them work.
Steps to reproduce the bug
- Instantiate a Expander in a Page
- Add <x:Double x:Key="ExpanderChevronGlyphSize">20</x:Double> to Page.Resources to see if there is any change in the Expander UI.
Expected behavior
The UI elements of the Expander that reference the resource keys should change properly, as specified in its API reference.
Screenshots
Default chevron style is the same as when trying to customize:

NuGet package version
Microsoft.UI.Xaml 2.6.2
Windows app type
Device form factor
No response
Windows version
May 2021 Update (19043)
Additional context
Processor Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz 1.99 GHz
Installed RAM 24.0 GB (23.9 GB usable)
System type 64-bit operating system, x64-based processor
Edition Windows 10 Enterprise
Version 21H2
OS build 19044.1466
Experience Windows Feature Experience Pack 120.2212.3920.0
Describe the bug
The Expander class API guide recommends modifying specific resource keys for customizing the look of the Expander:
https://docs.microsoft.com/en-us/windows/winui/api/microsoft.ui.xaml.controls.expander?view=winui-2.6#remarks
When trying to do so by setting: <x:Double x:Key="ExpanderChevronGlyphSize">20</x:Double> for example, nothing changes.
Some of the resources actually works, like setting
I've tried setting this properties both on the App scope and in a Page scope but none of them work.
Steps to reproduce the bug
Expected behavior
The UI elements of the Expander that reference the resource keys should change properly, as specified in its API reference.
Screenshots
Default chevron style is the same as when trying to customize:

NuGet package version
Microsoft.UI.Xaml 2.6.2
Windows app type
Device form factor
No response
Windows version
May 2021 Update (19043)
Additional context
Processor Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz 1.99 GHz
Installed RAM 24.0 GB (23.9 GB usable)
System type 64-bit operating system, x64-based processor
Edition Windows 10 Enterprise
Version 21H2
OS build 19044.1466
Experience Windows Feature Experience Pack 120.2212.3920.0