<Window x:Class="Gremlin.MVVM.Views.CheckNewCustomDescription"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            xmlns:cal="http://www.caliburnproject.org"
            xmlns:local="clr-namespace:Gremlin.MVVM"
            Title="Check and Save New Custom Description to DB"
            Height="300" Width="500">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <!--<RowDefinition Height="*"/>-->
            <RowDefinition Height="30"/>
        </Grid.RowDefinitions>

        <!--Headings-->
        <Grid Grid.Row="0" Height="Auto">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Grid Grid.Column="0" Width="Auto">
                <StackPanel>
                    <TextBlock Text="LineItem ProductNumber:"/>
                    <TextBlock x:Name="ProductNumber" Margin="5,5,5,5"/>
                    <TextBlock Text="LineItem OptionNumber:"/>
                    <TextBlock x:Name="OptionNumber" Margin="5,5,5,5"/>
                    <TextBlock Text="LineItem SapShortDescription:"/>
                    <TextBlock x:Name="SapShortDescription" Margin="5,5,5,5"/>
                </StackPanel>            </Grid>
            <Grid Grid.Column="1" Width="Auto">
                <Grid.RowDefinitions>
                    <RowDefinition Height="21*"/>
                    <RowDefinition Height="233*"/>
                </Grid.RowDefinitions>
                <StackPanel Grid.RowSpan="2">
                    <TextBlock Text="CustomDescription Heading:"/>
                    <TextBox x:Name="Heading" Margin="5,5,5,5"/>
                    <TextBlock Text="CustomDescription CoverletterText:"/>
                    <TextBox x:Name="CoverletterText" Margin="5,5,5,5"/>
                    <TextBlock Text="CustomDescription DescriptionText:"/>
                    <TextBox x:Name="DescriptionText" Margin="5,5,5,5"/>
                </StackPanel>
            </Grid>
        </Grid>

        <!--DataGrids-->
        <!--<Grid Grid.Row="1" Height="Auto">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Grid Grid.Column="0">
                <DataGrid x:Name="CustomDescriptionViewModel"
				AutoGenerateColumns="True"
                MaxColumnWidth="250"
				CanUserAddRows="False"
				Margin="5,5,5,5"
				AlternatingRowBackground="LightGray"
                SelectionMode="Single"/>
            </Grid>
            <Grid Grid.Column="1">
                <DataGrid x:Name="LineItemViewModel"
				AutoGenerateColumns="True"
                MaxColumnWidth="250"
				CanUserAddRows="False"
				Margin="5,5,5,5"
				AlternatingRowBackground="LightGray"
                SelectionMode="Single"/>
            </Grid>
        </Grid>-->
        <!--Buttons-->
        <Grid Grid.Row="2" Height="Auto">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Grid Grid.Column="0">
                <Button x:Name="btnOk" Content="Save to DB" IsDefault="True" Margin="5,5,5,5" Click="BtnOk_Click"/>
            </Grid>
            <Grid Grid.Column="1">
                <Button x:Name="btnCancel" Content="Cancel" Margin="5,5,5,5" IsCancel="True" Grid.ColumnSpan="2" Click="BtnCancel_Click"/>
            </Grid>
        </Grid>
    </Grid>
</Window>
