123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <UserControl x:Class="PRSDesktop.DataEntryList"
- 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:sf="http://schemas.syncfusion.com/wpf"
- xmlns:dynamic="clr-namespace:InABox.DynamicGrid;assembly=InABox.Wpf"
- xmlns:wpf="clr-namespace:InABox.WPF;assembly=InABox.Wpf"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- x:Name="Control"
- DataContext="{Binding ElementName=Control}">
- <dynamic:DynamicTabControl
- x:Name="_pages"
- TabStripPlacement="Bottom"
- TabIndex="0"
- TabStripHeight="30"
- SelectionChanged="_pages_OnSelectionChanged">
- <dynamic:DynamicTabControl.Items>
- <dynamic:DynamicTabItem Header="Current">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- <RowDefinition Height="4"/>
- <RowDefinition Height="2*"/>
- </Grid.RowDefinitions>
- <local:DataEntryGrid
- Grid.Row="0"
- x:Name="_dataEntryGrid"
- OnSelectItem="_documents_OnSelectItem"
- AllowDrop="True"
- PreviewDragOver="DynamicTabItem_DragOver"
- Drop="DynamicTabItem_Drop"
- ContextMenuOpening="_dataEntryGrid_OnContextMenuOpening">
- <local:DataEntryGrid.ContextMenu>
- <ContextMenu x:Name="_uploadMenu" Opened="_uploadMenu_OnOpened"/>
- </local:DataEntryGrid.ContextMenu>
- </local:DataEntryGrid>
- <sf:SfGridSplitter Grid.Row="1"
- Height="4"
- HorizontalAlignment="Stretch"
- Background="Transparent"
- ResizeBehavior="PreviousAndNext"
- Template="{StaticResource HorizontalSplitter}"
- PreviewStyle="{StaticResource HorizontalSplitterPreview}"/>
- <local:DataEntryViewList x:Name="ViewList"
- Grid.Row="2"
- AllowDrop="True" DragOver="DynamicTabItem_DragOver" Drop="DynamicTabItem_Drop"
- CanExplode="True"
- Explode="ViewList_Explode"
- ExplodeAll="ViewList_ExplodeAll"
- UpdateDocument="ViewList_UpdateDocument"/>
- </Grid>
- </dynamic:DynamicTabItem>
-
- <dynamic:DynamicTabItem Header="Archive">
- <local:DataEntryHistory
- x:Name="_historyGrid"
- OnSelectItem="_historyGrid_OnOnSelectItem">
- <local:DataEntryHistory.ContextMenu>
- <ContextMenu x:Name="_historymenu" >
- <MenuItem x:Name="_reopen" Header="Re-Open" Click="_reopen_OnClick"/>
- </ContextMenu>
- </local:DataEntryHistory.ContextMenu>
- </local:DataEntryHistory>
- </dynamic:DynamicTabItem>
-
- </dynamic:DynamicTabControl.Items>
- </dynamic:DynamicTabControl>
-
- </UserControl>
|