﻿<pm:LayoutControl
    x:Class="WinStore.UX.Controls.SpotlightHeroPanel"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="using:WinStore.UX.Controls"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:pm="using:WinStore.UX.PresentationManifest"
    d:DesignHeight="300"
    d:DesignWidth="400"
    mc:Ignorable="d">

    <local:SpotlightGridView x:ConnectionId='1'
        x:Name="_gridView"
        ItemTemplateSelector="{StaticResource SpotlightTileTemplateSelector}"
        AutomationProperties.AutomationId="SpotlightGridView"
        IsItemClickEnabled="True"
                                   
        SelectionMode="None"
        ScrollViewer.HorizontalScrollBarVisibility="Hidden"
        Style="{StaticResource HorizontalListViewBaseStyle}"
        Margin="0"
        ItemContainerStyle="{StaticResource DefaultVariableGridViewItemStyle}">
        <GridView.ItemsPanel>
            <ItemsPanelTemplate>
                <VariableSizedWrapGrid Orientation="Vertical" />
            </ItemsPanelTemplate>
        </GridView.ItemsPanel>
    </local:SpotlightGridView>
</pm:LayoutControl>

