0 out of 1 rated this helpful - Rate this topic

LongListSelector.LayoutMode Property

April 12, 2014

Gets or sets a value that specifies if the LongListSelector is in a list mode or grid mode from the LongListSelectorLayoutMode enum.

Namespace:  Microsoft.Phone.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
public LongListSelectorLayoutMode LayoutMode { get; set; }
<object LayoutMode="LongListSelectorLayoutMode" .../>

Property Value

Type: Microsoft.Phone.Controls.LongListSelectorLayoutMode
A 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.

Windows Phone OS

Supported in: 8.1, 8.0

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.