Open
Description
Describe the bug
When setting the theme to dark and IsEnabled to false for the DataGrid, the control's color is wrong.
Regression
No response
Reproducible in sample app?
- This bug can be reproduced in the sample app.
Steps to reproduce
Open sample app
Go to controls
Select DataGrid
Switch theme to Dark
Select XAML
Write IsEnabled="False" under x:Name="dataGrid"
Expected behavior
Something like as it is working now for Light theme. The text gets dimmed and that is all. In case of dark theme, the background color is changed.
Screenshots
Windows Build Number
- Windows 10 1809 (Build 17763)
- Windows 10 1903 (Build 18362)
- Windows 10 1909 (Build 18363)
- Windows 10 2004 (Build 19041)
- Windows 10 20H2 (Build 19042)
- Windows 10 21H1 (Build 19043)
- Windows 11 21H2 (Build 22000)
- Other (specify)
Other Windows Build number
Windows 11 22H2 (OS Build 22621.1992)
App minimum and target SDK version
- Windows 10, version 1809 (Build 17763)
- Windows 10, version 1903 (Build 18362)
- Windows 10, version 1909 (Build 18363)
- Windows 10, version 2004 (Build 19041)
- Other (specify)
Other SDK version
No response
Visual Studio Version
No response
Visual Studio Build Number
No response
Device form factor
Desktop
Nuget packages
No response
Additional context
No response
Help us help you
No.