Solved: Setting the BorderThickness for the MainWindow causes the Guide/margin lines to be offset. I had BorderThickness="5". Deleted that line in my Dictionary file and the problem disappeared.
VS 2022 c# wpf row/column lines off center
VS 2022 C# WPF, the design guides are off-center for all the elements in my Window. This is a project I also worked on withon VS 2019
Microsoft Visual Studio Community 2022
Microsoft .NET Framework
Installed Version: Community
C# Tools 4.1.0-5.22165.10+e555772db77ca828b02b4bd547c318387f11d01f
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Hi,@Wiley Dog . I test the control in Microsoft Visual Studio Community 2022
Version 17.1.6 does not reproduce your problem. Could you show me the download link of your project that reproduces the problem for me to download and test?
Sorry, I don't understand. Do you want to see the xaml file?
This is happening on a couple of my projects where I was cross-developing on my laptop with VS 2019 and my desktop with VS 2022.
Hi,@Wiley Dog . You could try to see if resetting VS settings works. It may also be related to the resolution of the monitor.
Thanks for trying, but some of my projects are fine and the guides are not offest, so it cannot be the settings or the monitor.
Sign in to comment
Sort by: Most helpful