property ExShellView.AlignToGrid as Boolean
Specifies whether in icon view, icons automatically snap into a grid.

TypeDescription
Boolean A Boolean expression that indicates whether the view aligns the files up to a grid.
By default, the AlignToGrid property is False. Use the AlignToGrid property to specifies whether in icon view, icons automatically snap into a grid. The AutoArrange property specifies whether the files are automatically kept arranged in icon and small icon view. 

The AlignToGrid property has effect if the control's ViewMode property is:

The AlignToGrid property has NO effect if the control's ViewMode property is: