SupplierBillEditLayout.xaml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <dynamicGrid:DynamicEditorGridLayout
  2. x:Class="PRSDesktop.SupplierBillEditLayout"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:local="clr-namespace:PRSDesktop"
  8. xmlns:dynamicGrid="clr-namespace:InABox.DynamicGrid;assembly=InABox.Wpf"
  9. xmlns:sf="http://schemas.syncfusion.com/wpf"
  10. mc:Ignorable="d"
  11. d:DesignHeight="450" d:DesignWidth="800">
  12. <Grid DataContext="{Binding RelativeSource={RelativeSource FindAncestor,AncestorType={x:Type local:SupplierBillEditLayout}}}">
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="Auto"/>
  15. <RowDefinition Height="Auto"/>
  16. <RowDefinition Height="*"/>
  17. </Grid.RowDefinitions>
  18. <dynamicGrid:DynamicTabControl
  19. x:Name="Editors"
  20. Grid.Row="0"
  21. SelectionChanged="Editors_SelectionChanged"/>
  22. <sf:SfGridSplitter
  23. Grid.Row="1"
  24. Height="4"
  25. HorizontalAlignment="Stretch"
  26. Background="Transparent"
  27. ResizeBehavior="PreviousAndNext"
  28. Template="{StaticResource HorizontalSplitter}"
  29. PreviewStyle="{StaticResource HorizontalSplitterPreview}"/>
  30. <dynamicGrid:DynamicTabControl
  31. x:Name="OtherPages"
  32. Grid.Row="2"
  33. Margin="0,-2,0,0"
  34. SelectionChanged="Editors_SelectionChanged"
  35. TabStripPlacement="Bottom">
  36. <dynamicGrid:DynamicTabControl.RightPanel>
  37. <ContentControl
  38. x:Name="DocumentControl"/>
  39. </dynamicGrid:DynamicTabControl.RightPanel>
  40. </dynamicGrid:DynamicTabControl>
  41. </Grid>
  42. </dynamicGrid:DynamicEditorGridLayout>