Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataGrid dark theme is wrong when control is disabled #4923

Open
2 of 14 tasks
zoltan-hadur opened this issue Aug 6, 2023 · 2 comments
Open
2 of 14 tasks

DataGrid dark theme is wrong when control is disabled #4923

zoltan-hadur opened this issue Aug 6, 2023 · 2 comments
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior DataGrid 🔠 Issues on DataGrid control

Comments

@zoltan-hadur
Copy link

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

Enabled and light
Enabled Light

Disabled and light
Disabled Light

Enabled and dark
Enabled Dark

Disabled and dark
Disabled Dark

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.

@zoltan-hadur zoltan-hadur added the bug 🐛 An unexpected issue that highlights incorrect behavior label Aug 6, 2023
@ghost ghost added the needs triage 🔍 label Aug 6, 2023
@ghost
Copy link

ghost commented Aug 6, 2023

Hello zotya701, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

@ghost ghost added the needs attention 👋 label Aug 21, 2023
@ghost
Copy link

ghost commented Aug 21, 2023

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior DataGrid 🔠 Issues on DataGrid control
Projects
None yet
Development

No branches or pull requests

2 participants