﻿<pm:LayoutControl x:Class="WinStore.UX.Controls.RateAndReview.RatingsLayout"
                  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                  xmlns:controls="using:WinStore.UX.Controls"
                  xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                  xmlns:pm="using:WinStore.UX.PresentationManifest"
                  d:DesignHeight="300"
                  d:DesignWidth="400"
                  mc:Ignorable="d">

    <StackPanel>
        <TextBlock x:ConnectionId='1' x:Name="_noRatingsCaption"
                   Foreground="{ThemeResource PrimaryForegroundBrush}"
                   Style="{StaticResource BodyTextBlockStyle}"
                   Visibility="Visible"
                   MaxLines="3"
                   MaxWidth="210"
                   HorizontalAlignment="Left"
                   TextWrapping="Wrap"
                   x:Uid="NoRatings" />

        <controls:Histogram x:ConnectionId='2' x:Name="_histogramControl"
                            Visibility="Collapsed" />
    </StackPanel>
</pm:LayoutControl>

