VS 2022 c# wpf row/column lines off center

Wiley Dog 1 Reputation point
2022-04-28T19:59:32.77+00:00

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 with197480-lines-off-center2.jpgon VS 2019

Microsoft Visual Studio Community 2022
Version 17.1.6
VisualStudio.17.Release/17.1.6+32421.90
Microsoft .NET Framework
Version 4.8.04084

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.

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,121 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
822 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Wiley Dog 1 Reputation point
    2022-05-02T19:23:54.033+00:00

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.