LongListSelector.LayoutMode Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a value that specifies if the LongListSelector is in a list mode or grid mode from the LongListSelectorLayoutMode enum.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
<object LayoutMode="LongListSelectorLayoutMode" .../>
Property Value
Type: Microsoft.Phone.Controls.LongListSelectorLayoutModeA LongListSelectorLayoutMode value that specifies if the LongListSelector is in a list mode or grid mode.
When you specify Grid as the value of the LayoutMode property, you also have to provide a value for the GridCellSize property.
Show: