| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <UserControl x:Class="PRSDesktop.QuoteDetails"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:PRSDesktop"
- xmlns:dynamicgrid="clr-namespace:InABox.DynamicGrid;assembly=InABox.Wpf"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800">
- <Border BorderBrush="Gray" BorderThickness="0.75" Background="WhiteSmoke">
- <Grid Margin="0,0,5,5" Background="Transparent">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="100" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="*" />
- <RowDefinition Height="Auto" />
- </Grid.RowDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="Title" Margin="5,5,0,0" />
- <dynamicgrid:TextBoxEditorControl x:Name="Title" Grid.Row="0" Grid.Column="1" Margin="5,5,0,0" />
- <!--<TextBox x:Name="Title" Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="2" Margin="5,5,0,0" IsReadOnly="True" VerticalContentAlignment="Center"/>-->
- <Label Grid.Row="1" Grid.Column="0" Content="Customer" Margin="5,5,0,0" />
- <dynamicgrid:CodePopupEditorControl x:Name="Customer" Grid.Row="1" Grid.Column="1" Margin="5,5,0,0" />
- <Label Grid.Row="2" Grid.Column="0" Content="Address" Margin="5,5,0,0" />
- <TextBox x:Name="Address" Grid.Row="2" Grid.Column="1" Height="100" Margin="5,5,0,0" IsReadOnly="True" />
- <Label Grid.Row="3" Grid.Column="0" Content="City" Margin="5,5,0,0" />
- <Grid Grid.Row="3" Grid.Column="1" Background="WhiteSmoke">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="100" />
- </Grid.ColumnDefinitions>
- <TextBox x:Name="City" Grid.Row="0" Grid.Column="0" Margin="5,5,0,0" IsReadOnly="True" />
- <TextBox x:Name="State" Grid.Row="0" Grid.Column="1" Margin="5,5,0,0" IsReadOnly="True"
- VerticalContentAlignment="Center" />
- <TextBox x:Name="PostCode" Grid.Row="0" Grid.Column="2" Margin="5,5,0,0" IsReadOnly="True"
- VerticalContentAlignment="Center" />
- </Grid>
- <Label Grid.Row="4" Grid.Column="0" Content="Bill To" Margin="5,5,0,0" />
- <dynamicgrid:CodePopupEditorControl x:Name="Account" Grid.Row="4" Grid.Column="1" Margin="5,5,0,0" />
- <Label Grid.Row="5" Grid.Column="0" Content="Notes" Margin="5,5,0,0" />
- <DockPanel Grid.Row="5" Grid.Column="1">
- <local:QuoteProposalGrid x:Name="Proposals" DockPanel.Dock="Right" Margin="5,5,0,0" Width="400" />
- <TextBox x:Name="Notes" DockPanel.Dock="Left" Margin="5,5,0,0" IsReadOnly="True" />
- </DockPanel>
- <Label Grid.Row="6" Grid.Column="0" Content="Quote Status" Margin="5,5,0,0" />
- <DockPanel Grid.Row="6" Grid.Column="1">
- <ComboBox x:Name="Status" DockPanel.Dock="Left" Margin="5,5,0,0" VerticalContentAlignment="Center"
- Width="250" HorizontalAlignment="Left" SelectionChanged="Status_SelectionChanged"
- SelectedValuePath="Key" DisplayMemberPath="Value" />
- <TextBox x:Name="QuoteValue" DockPanel.Dock="Right" Margin="5,5,0,0" Width="100"
- VerticalContentAlignment="Center" HorizontalContentAlignment="Center" />
- <Label Content="Value (Ex Tax $)" DockPanel.Dock="Right" Margin="5,5,0,0"
- HorizontalContentAlignment="Right" VerticalContentAlignment="Center" />
- </DockPanel>
- </Grid>
- </Border>
- </UserControl>
|