dotnet / dotnet/dotnet-api-docs

Possible compatibility issues

Open
#921 2 comments 0 reactions 0 assignees View on GitHub
area-WinForms dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

I guess it's worth mentioning that this won't work correctly on devices which uses full HD resolution (there will be a problem with DPI), in that case it's required to change in compatibility mode of windows forms application 'high DPI settings'.
Otherwise it's quite possible that reversible rectangle will be drawn with an offset, so not correctly.
I had lots of problems with this on laptop with full HD resolution and windows 10.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: eb792256-536a-3af8-d380-9a9df091172d
* Version Independent ID: 515426cd-cbc1-bbe4-654f-0dd984af3baf
* Content: [ControlPaint.DrawReversibleFrame(Rectangle, Color, FrameStyle) Method (System.Windows.Forms)](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.controlpaint.drawreversibleframe?view=netframework-4.7.2)
* Content Source: [xml/System.Windows.Forms/ControlPaint.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Windows.Forms/ControlPaint.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

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.