M
M
Maronus2014-04-06 16:43:03
XAML
Maronus, 2014-04-06 16:43:03

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?0a61a406dcc24deb9be829a6f50983af.PNG

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Doshevsky, 2014-04-07
@MikhailD

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.

A
Alexander Vishnyakov, 2014-07-24
@asvishnyakov

Apparently, this is a one-pixel transparent border, see the markup.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question