ms.date: 08/20/2017 description: The AlignmentGrid Control can be used to display a grid to help aligning controls. keywords: windows 10, uwp, uwp community toolkit, uwp toolkit, AlignmentGrid, XAML Control, xaml


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.14393.0 or higher
Namespace Microsoft.Toolkit.Uwp.DeveloperTools

API