AlignmentGrid XAML Control

The AlignmentGrid Control can be used to display a grid to help aligning controls.

You can control grid's steps with HorizontalStep and VerticalStep properties. Line color can be defined with LineBrush property.

Syntax


<developerTools:AlignmentGrid
                    Opacity="1"
                    LineBrush="Black"
                    HorizontalStep="20"
                    VerticalStep="20"/>

Example Image

AlignmentGrid image

Requirements (Windows 10 Device Family)

Device family Universal, 10.0.10586.0 or higher
Namespace Microsoft.Toolkit.Uwp.DeveloperTools

API