<!--
 =============================================================================================
  This file was AUTO-GENERATED by "WPF Views" Xomega.Net generator.
 
  Manual CHANGES to this file WILL BE LOST when the code is regenerated.
 =============================================================================================
-->
<xov:WPFDetailsView xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:xov="clr-namespace:Xomega.Framework.Views;assembly=Xomega.Framework.Wpf"
                    xmlns:o="clr-namespace:AdventureWorks.Client.Objects;assembly=AdventureWorks.Client.Common"
                    xmlns:v="clr-namespace:AdventureWorks.Client.Wpf"
                    xmlns:xom="clr-namespace:Xomega.Framework;assembly=Xomega.Framework.Wpf"
                    x:Class="AdventureWorks.Client.Wpf.SalesOrderDetailView"
                    ViewWidth="450"
                    ViewHeight="450">
  <Grid Margin="10">
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto"/>
      <RowDefinition Height="Auto"/>
      <RowDefinition Height="Auto"/>
      <RowDefinition Height="*"/>
    </Grid.RowDefinitions>
    <TextBlock Grid.Row="0" Name="viewTitle" Text="View Title"
               Style="{StaticResource ViewTitleStyle}"
               Margin="10,0,0,5"/>
    <v:Errors Grid.Row="1" x:Name="pnlErrors"/>
    <GroupBox Grid.Row="2" Header="Line Item Detail">
      <StackPanel>
        <Grid>
          <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
          </Grid.RowDefinitions>
          <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
          </Grid.ColumnDefinitions>
          <Label Grid.Row="0" Grid.Column="0" Name="lblSubcategory"
                 Style="{StaticResource LabelStyle}">_Subcategory:</Label>
          <ComboBox Grid.Row="0" Grid.Column="1"
                    xom:Property.Label="{Binding ElementName=lblSubcategory}"
                    x:Name="ctlSubcategory"
                    xom:Property.Name="{x:Static o:SalesOrderDetailObject.Subcategory}"
                    Style="{StaticResource ControlStyle}"/>
          <Label Grid.Row="1" Grid.Column="0" Name="lblProductId"
                 Style="{StaticResource LabelStyle}">_Product:</Label>
          <ComboBox Grid.Row="1" Grid.Column="1"
                    xom:Property.Label="{Binding ElementName=lblProductId}"
                    x:Name="ctlProductId"
                    xom:Property.Name="{x:Static o:SalesOrderDetailObject.ProductId}"
                    Style="{StaticResource ControlStyle}"/>
          <Label Grid.Row="2" Grid.Column="0" Name="lblOrderQty"
                 Style="{StaticResource LabelStyle}">_Order Qty:</Label>
          <TextBox Grid.Row="2" Grid.Column="1"
                   xom:Property.Label="{Binding ElementName=lblOrderQty}"
                   x:Name="ctlOrderQty"
                   xom:Property.Name="{x:Static o:SalesOrderDetailObject.OrderQty}"
                   Style="{StaticResource ControlStyle}"/>
          <Label Grid.Row="3" Grid.Column="0" Name="lblSpecialOfferId"
                 Style="{StaticResource LabelStyle}">_Special Offer:</Label>
          <ComboBox Grid.Row="3" Grid.Column="1"
                    xom:Property.Label="{Binding ElementName=lblSpecialOfferId}"
                    x:Name="ctlSpecialOfferId"
                    xom:Property.Name="{x:Static o:SalesOrderDetailObject.SpecialOfferId}"
                    Style="{StaticResource ControlStyle}"/>
          <Label Grid.Row="4" Grid.Column="0" Name="lblUnitPrice"
                 Style="{StaticResource LabelStyle}">_Unit Price:</Label>
          <TextBlock Grid.Row="4" Grid.Column="1"
                     xom:Property.Label="{Binding ElementName=lblUnitPrice}"
                     x:Name="ctlUnitPrice"
                     xom:Property.Name="{x:Static o:SalesOrderDetailObject.UnitPrice}"
                     Style="{StaticResource DataLabelStyle}"/>
          <Label Grid.Row="5" Grid.Column="0" Name="lblUnitPriceDiscount"
                 Style="{StaticResource LabelStyle}">_Unit Price Discount:</Label>
          <TextBlock Grid.Row="5" Grid.Column="1"
                     xom:Property.Label="{Binding ElementName=lblUnitPriceDiscount}"
                     x:Name="ctlUnitPriceDiscount"
                     xom:Property.Name="{x:Static o:SalesOrderDetailObject.UnitPriceDiscount}"
                     Style="{StaticResource DataLabelStyle}"/>
          <Label Grid.Row="6" Grid.Column="0" Name="lblLineTotal"
                 Style="{StaticResource LabelStyle}">_Line Total:</Label>
          <TextBlock Grid.Row="6" Grid.Column="1"
                     xom:Property.Label="{Binding ElementName=lblLineTotal}"
                     x:Name="ctlLineTotal"
                     xom:Property.Name="{x:Static o:SalesOrderDetailObject.LineTotal}"
                     Style="{StaticResource DataLabelStyle}"/>
          <Label Grid.Row="7" Grid.Column="0" Name="lblCarrierTrackingNumber"
                 Style="{StaticResource LabelStyle}">_Carrier Tracking Number:</Label>
          <TextBox Grid.Row="7" Grid.Column="1"
                   xom:Property.Label="{Binding ElementName=lblCarrierTrackingNumber}"
                   x:Name="ctlCarrierTrackingNumber"
                   xom:Property.Name="{x:Static o:SalesOrderDetailObject.CarrierTrackingNumber}"
                   Style="{StaticResource ControlStyle}"/>
        </Grid>
      </StackPanel>
    </GroupBox>
    <DockPanel Grid.Row="3">
      <DockPanel DockPanel.Dock="Bottom">
        <Button x:Name="btnDelete" Width="75" Margin="0,10,0,0" Content="_Delete"
                DockPanel.Dock="Left"/>
        <Button x:Name="btnClose" Width="75" Margin="0,10,0,0" Content="_Close"
                DockPanel.Dock="Right"/>
        <Button x:Name="btnSave" Width="75" Margin="10,10,10,0" Content="_Save"
                HorizontalAlignment="Right"/>
      </DockPanel>
      <StackPanel/>
    </DockPanel>
  </Grid>
</xov:WPFDetailsView>