<?xml version="1.0" encoding="utf-8"?>
<UserControl
    x:Class="Sonex.Client.Views.ProductBasicInformationView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Sonex.Client.Views"
    xmlns:controls="using:Sonex.Client.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <ScrollViewer
        Background="{StaticResource CardBackgroundFillColorSecondaryBrush}"
        Padding="8"
        HorizontalScrollMode="Auto"
        HorizontalScrollBarVisibility="Auto"
        VerticalScrollMode="Disabled"
        VerticalScrollBarVisibility="Disabled">

        <StackPanel
        Orientation="Horizontal"
        VerticalAlignment="Top"
        Spacing="16">
            

            <FlipView
            x:Name="Gallery"
            VerticalAlignment="Center"
            VerticalContentAlignment="Center"
            Width="250"
            Height="250"
                CornerRadius="12"
            IsTabStop="True"
            AllowFocusOnInteraction="True"
            BorderThickness="1"
            BorderBrush="{StaticResource CardStrokeColorDefaultBrush}"
            Background="{StaticResource CardBackgroundFillColorDefaultBrush}">

                <FlipView.ItemTemplate>
                    <DataTemplate x:DataType="x:String">
                        <Image Source="{x:Bind Mode=OneTime}" />
                    </DataTemplate>
                </FlipView.ItemTemplate>
            </FlipView>

            <StackPanel Orientation="Vertical" Spacing="4">
                <controls:TextProperty x:Name="ArticleNameProperty" Header="Article Name" Width="400" HeaderWidth="120" IsReadOnly="True" />
                <controls:TextProperty x:Name="ArticleNumberProperty" Header="Article Number" Width="400" HeaderWidth="120" IsReadOnly="True" />
                <controls:TextProperty x:Name="SuEanProperty" Header="SU EAN" Width="400" HeaderWidth="120" IsReadOnly="True" />
                <controls:TextProperty x:Name="CategoryProperty" Header="Category" Width="400" HeaderWidth="120" IsReadOnly="True" />
                <controls:TextProperty x:Name="ParametersProperty" Header="Parameters" Width="400" HeaderWidth="120" IsReadOnly="True" />
                <controls:TextProperty x:Name="StockMessageProperty" Header="Stock Message" Width="400" HeaderWidth="120" IsReadOnly="True" />
                <controls:TextProperty x:Name="NotificationProperty" Header="Notification" Width="400" HeaderWidth="120" IsReadOnly="True" />
                <!--<controls:LinkProperty  Header="Web site" Value="xenos.nl/tafelloper-zigzag-45x150-cm-blauw" NavigateUri="https://www.xenos.nl/tafelloper-zigzag-45x150-cm-blauw"  Width="400" HeaderWidth="120" />-->
            </StackPanel>
            
            <AppBarSeparator/>

            <StackPanel Orientation="Vertical" Spacing="4">
                <controls:BoolProperty x:Name="ArchivalProperty" Header="Archival" Width="200" HeaderWidth="160" IsReadOnly="True" />
                <controls:BoolProperty x:Name="BestBeforeDateUsedProperty" Header="Best Before Date Used" Width="200" HeaderWidth="160" IsReadOnly="True" />
                <controls:BoolProperty x:Name="BestBeforeDateMixProperty" Header="Best Before Date Mix" Width="200" HeaderWidth="160" IsReadOnly="True" />
                <controls:BoolProperty x:Name="PacksizeProperty" Header="Packsize" Width="200" HeaderWidth="160" IsReadOnly="True" />
                <controls:BoolProperty x:Name="ShipUnitProperty" Header="Ship Unit" Width="200" HeaderWidth="160" IsReadOnly="True" />
                <controls:BoolProperty x:Name="BkProperty" Header="BK" Width="200" HeaderWidth="160" IsReadOnly="True" />
                <controls:BoolProperty x:Name="DpdProperty" Header="Dpd" Width="200" HeaderWidth="160" IsReadOnly="True" />
            </StackPanel>

            <AppBarSeparator/>

            <StackPanel Orientation="Vertical" Spacing="4">
                <controls:TextProperty x:Name="SalesClassProperty" Header="Sales Class" Width="250" HeaderWidth="120" IsReadOnly="True" />
                <controls:TextProperty x:Name="DcGroupProperty" Header="DC Group" Width="250" HeaderWidth="120" IsReadOnly="True" />
                <controls:TextProperty x:Name="WebClusterProperty" Header="Web Cluster" Width="250" HeaderWidth="120" IsReadOnly="True" />
                <controls:TextProperty x:Name="WebSalesClassProperty" Header="Web Sales Class" Width="250" HeaderWidth="120" IsReadOnly="True" />
                <controls:TextProperty x:Name="WebSalesShareProperty" Header="Web Sales Share" Width="250" HeaderWidth="120" IsReadOnly="True" />
            </StackPanel>

            <AppBarSeparator/>

            <StackPanel Orientation="Vertical" Spacing="4">
                <controls:TextProperty x:Name="PriceNlProperty" Header="Price NL" Width="220" HeaderWidth="90" IsReadOnly="True" />
                <controls:TextProperty x:Name="PriceDeProperty" Header="Price DE" Width="220" HeaderWidth="90" IsReadOnly="True" />
                <controls:TextProperty x:Name="PriceHcProperty" Header="Price HC" Width="220" HeaderWidth="90" IsReadOnly="True" />
            </StackPanel>

        </StackPanel>
    </ScrollViewer>
</UserControl>
