dotnet / dotnet/winforms

[HDPI] Cursor editor some items are not displayed in propertyGrid with special DPI settings

Open
#14,167 2 comments 1 reaction 2 assignees Claimed by @SimonZhao888 View on GitHub
area-HDPI
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

### .NET version

.NET SDK 11.0.100-alpha.1.25619.109

### Did it work in .NET Framework?

No

### Did it work in any of the earlier releases of .NET Core or .NET 5+?

In the .NET 10.0 & .NET 9.0, the Cursor editor in propertyGrid is not scaled well in all HDPI settings, tracked by [9007](https://github.com/dotnet/winforms/issues/9007)

### Issue description

Cursor editor some items in propertyGrid are not displayed with special DPI, such as 125%, 175%, 225%, 250%; not reproduce on 150%, 200%, 300% DPI setting.

Image

https://github.com/user-attachments/assets/39a6080f-f854-4822-8a3d-d883f1fd5590

### Steps to reproduce

1. Create .NET winforms project with a PropertyGrid control
2. Select the Form1 as object for the propertyGrid1.
3. Run the project, and expand the cursor editor panel
4. Scroll to last items to observe

**More info:**
The items displayed well after click it in the cursor editor panel

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.