Answer the question
In order to leave comments, you need to log in
How to remove padding from elements in VIsual Studio?
Hello.
I'm just starting to learn how to develop applications in VIsual Studio, and a probably stupid question arose - why, when adding elements, the border does not coincide with the actual selection borders? What are these indents?
Answer the question
In order to leave comments, you need to log in
Look at the generated XAML markup. In general, it is better not to use visual tools (unless you are a designer), but to write the markup manually, so you will get much more compact and flexible code.
Apparently, this is a one-pixel transparent border, see the markup.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question