12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <UserControl x:Class="PRSDesktop.StockSummaryControl"
- 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:stk="clr-namespace:PRSDesktop.Panels.StockSummary"
- xmlns:dynamicGrid="clr-namespace:InABox.DynamicGrid;assembly=InABox.Wpf"
- mc:Ignorable="d"
- d:DesignHeight="900" d:DesignWidth="1000">
- <dynamicGrid:DynamicSplitPanel x:Name="SplitPanel"
- MasterCaption="Product Groups" DetailCaption="Stock Summary"
- View="Combined" AllowableViews="Master,Combined"
- Anchor="Master" AnchorWidth="350"
- OnChanged="SplitPanel_OnOnChanged">
-
- <dynamicGrid:DynamicSplitPanel.Header>
- <Border BorderBrush="DimGray" BorderThickness="0.75">
- <Label Content="Product Groups" HorizontalContentAlignment="Center"/>
- </Border>
- </dynamicGrid:DynamicSplitPanel.Header>
- <dynamicGrid:DynamicSplitPanel.Master>
- <local:StockSummaryProductGroupTree x:Name="ProductGroups"
- SelectionChanged="ProductGroups_GroupSelectionChanged"
- AfterRefresh="ProductGroups_AfterRefresh"/>
- </dynamicGrid:DynamicSplitPanel.Master>
-
- <dynamicGrid:DynamicSplitPanel.Detail>
- <dynamicGrid:DynamicSplitPanel x:Name="DetailSplitPanel"
- DetailCaption="Suppliers"
- View="Combined" AllowableViews="Master,Combined"
- Anchor="Detail" AnchorWidth="350" DetailHeight="500"
- OnChanged="DetailSplitPanel_OnChanged">
- <dynamicGrid:DynamicSplitPanel.Header>
- <Border BorderBrush="DimGray" BorderThickness="0.75">
- <Label Content="Stock Summary" HorizontalContentAlignment="Center"/>
- </Border>
- </dynamicGrid:DynamicSplitPanel.Header>
-
- <dynamicGrid:DynamicSplitPanel.Master>
- <local:StockSummaryGrid x:Name="SummaryGrid" BeforeRefresh="SummaryGrid_OnBeforeRefresh" AfterRefresh="SummaryGrid_OnAfterRefresh" />
- </dynamicGrid:DynamicSplitPanel.Master>
-
- <dynamicGrid:DynamicSplitPanel.Detail>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Border BorderBrush="DimGray" BorderThickness="0.75"
- Grid.Row="0" Margin="0,0,0,2">
- <Label Content="Suppliers" HorizontalContentAlignment="Center"/>
- </Border>
- <stk:StockSummarySupplierGrid x:Name="SupplierGrid"
- Grid.Row="1"
- SelectionChanged="SupplierGrid_SelectionChanged"/>
- </Grid>
- </dynamicGrid:DynamicSplitPanel.Detail>
-
- <dynamicGrid:DynamicSplitPanel.SecondaryDetail>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Border BorderBrush="DimGray" BorderThickness="0.75"
- Grid.Row="0" Margin="0,0,0,2">
- <Label Content="Jobs" HorizontalContentAlignment="Center"/>
- </Border>
- <stk:StockSummaryJobGrid x:Name="JobGrid"
- Grid.Row="1"
- SelectionChanged="JobGrid_SelectionChanged"/>
- </Grid>
- </dynamicGrid:DynamicSplitPanel.SecondaryDetail>
-
- </dynamicGrid:DynamicSplitPanel>
- </dynamicGrid:DynamicSplitPanel.Detail>
-
- </dynamicGrid:DynamicSplitPanel>
- </UserControl>
|