| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <UserControl x:Class="PRSDesktop.CustomerPanel"
- 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:dynamicGrid="clr-namespace:InABox.DynamicGrid;assembly=InABox.Wpf"
- xmlns:local="clr-namespace:PRSDesktop"
- mc:Ignorable="d"
- d:DesignHeight="300" d:DesignWidth="1000">
- <dynamicGrid:DynamicSplitPanel x:Name="SplitPanel" View="Combined" AnchorWidth="500" Anchor="Detail" MasterCaption="Customer List"
- DetailCaption="Customer Details" OnChanged="SplitPanel_OnChanged">
- <dynamicGrid:DynamicSplitPanel.Header>
- <Border BorderBrush="Gray" BorderThickness="0.75" Background="WhiteSmoke" Height="25">
- <Label Content="Customer List" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" />
- </Border>
- </dynamicGrid:DynamicSplitPanel.Header>
- <dynamicGrid:DynamicSplitPanel.Master>
- <local:CustomerGrid Grid.Column="0" Grid.Row="1" Grid.RowSpan="2" x:Name="Customers" OnSelectItem="Customers_OnOnSelectItem" />
- </dynamicGrid:DynamicSplitPanel.Master>
- <dynamicGrid:DynamicSplitPanel.Detail>
- <dynamicGrid:DynamicTabControl x:Name="CustomerDetails" SelectionChanged="CustomerDetails_SelectionChanged"
- BorderThickness="0" Background="WhiteSmoke" >
-
- <dynamicGrid:DynamicTabItem x:Name="Contacts" Header="Contacts">
- <local:CustomerContactGrid x:Name="CustomerContacts" />
- </dynamicGrid:DynamicTabItem>
-
- <dynamicGrid:DynamicTabItem x:Name="Spreadsheets" Header="Spreadsheets">
- <local:CustomerSpreadsheetGrid x:Name="CustomerSpreadsheets" />
- </dynamicGrid:DynamicTabItem>
-
- <dynamicGrid:DynamicTabItem x:Name="Activities" Header="Activities">
- <local:CustomerActivityGrid x:Name="CustomerActivities" />
- </dynamicGrid:DynamicTabItem>
-
- <dynamicGrid:DynamicTabItem x:Name="Products" Header="Products">
- <local:CustomerProductGrid x:Name="CustomerProducts" />
- </dynamicGrid:DynamicTabItem>
- </dynamicGrid:DynamicTabControl>
- </dynamicGrid:DynamicSplitPanel.Detail>
- </dynamicGrid:DynamicSplitPanel>
- </UserControl>
|