Describe the bug
When setting the Version parameter of the XamlControlsResources object to "latest", it is no longer possible to modify the ContentDialog style
Steps to reproduce the bug
Steps to reproduce the behavior:
- Create a new winui 2.6 app and change the version to "latest"
- Add a ContentDialog to the project
- Try to modify its padding by changing it in the resources section:
<ContentDialog.Resources>
<Thickness x:Key="ContentDialogPadding">0</Thickness>
</ContentDialog.Resources>
- Observe that the padding does not change
Expected behavior
Padding should change
Screenshots
Version Info
NuGet package version:
[Microsoft.UI.Xaml.2.6.0-prerelease.210217002]
Windows app type:
| Windows 10 version |
Saw the problem? |
| Insider Build (xxxxx) |
|
| October 2020 Update (19042) |
Yes |
| May 2020 Update (19041) |
|
| November 2019 Update (18363) |
|
| May 2019 Update (18362) |
|
| October 2018 Update (17763) |
|
| April 2018 Update (17134) |
|
| Fall Creators Update (16299) |
|
| Creators Update (15063) |
|
| Device form factor |
Saw the problem? |
| Desktop |
Yes |
| Xbox |
|
| Surface Hub |
|
| IoT |
|
Additional context
Describe the bug
When setting the Version parameter of the XamlControlsResources object to "latest", it is no longer possible to modify the ContentDialog style
Steps to reproduce the bug
Steps to reproduce the behavior:
Expected behavior
Padding should change
Screenshots
Version Info
NuGet package version:
[Microsoft.UI.Xaml.2.6.0-prerelease.210217002]
Windows app type:
Additional context