UWP: Use Margin to control space between controls

The easiest way is use the Margin in your control.

The syntax is Margin="left, top, right, bottom"

The next image shows code and design time layout where all textboxes have some space between them. The Button is still attached to the last textbox.


In this image the textboxes are separated from each other by equal spaces and also the 2,3 and 4 th box are left to their previous ones.

Enjoy!

Comments

Popular posts from this blog

Apps with Mobile Roadie, the one-stop platform

Follow these steps to install Android Studio Koalas and develop Android Apps

Start developing a ionic mobile app with Appery.io Cloud Platform