|
@@ -11,40 +11,39 @@
|
|
|
d:DesignHeight="450" d:DesignWidth="800">
|
|
|
|
|
|
<Grid DataContext="{Binding RelativeSource={RelativeSource FindAncestor,AncestorType={x:Type local:SupplierBillEditLayout}}}">
|
|
|
+
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
<RowDefinition Height="*"/>
|
|
|
</Grid.RowDefinitions>
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition Width="*"/>
|
|
|
- <ColumnDefinition Width="Auto"/>
|
|
|
- <ColumnDefinition Width="{Binding DocumentWidth}"/>
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
- <dynamicGrid:DynamicTabControl x:Name="Editors"
|
|
|
- Grid.Row="0"
|
|
|
- Grid.Column="0"
|
|
|
- SelectionChanged="Editors_SelectionChanged"/>
|
|
|
- <sf:SfGridSplitter Grid.Row="1" Grid.Column="0"
|
|
|
- Height="4"
|
|
|
- HorizontalAlignment="Stretch"
|
|
|
- Background="Transparent"
|
|
|
- ResizeBehavior="PreviousAndNext"
|
|
|
- Template="{StaticResource HorizontalSplitter}"
|
|
|
- PreviewStyle="{StaticResource HorizontalSplitterPreview}"/>
|
|
|
- <dynamicGrid:DynamicTabControl x:Name="OtherPages"
|
|
|
- Grid.Row="2" Grid.Column="0"
|
|
|
- SelectionChanged="Editors_SelectionChanged"
|
|
|
- TabStripPlacement="Bottom"/>
|
|
|
- <sf:SfGridSplitter Grid.Row="0" Grid.RowSpan="3"
|
|
|
- Grid.Column="1"
|
|
|
- Width="4"
|
|
|
- VerticalAlignment="Stretch"
|
|
|
- Background="Transparent"
|
|
|
- ResizeBehavior="PreviousAndNext"
|
|
|
- Template="{StaticResource VerticalSplitter}"/>
|
|
|
- <ContentControl x:Name="DocumentControl"
|
|
|
- Grid.Row="0" Grid.RowSpan="3"
|
|
|
- Grid.Column="2"/>
|
|
|
+
|
|
|
+ <dynamicGrid:DynamicTabControl
|
|
|
+ x:Name="Editors"
|
|
|
+ Grid.Row="0"
|
|
|
+ SelectionChanged="Editors_SelectionChanged"/>
|
|
|
+
|
|
|
+ <sf:SfGridSplitter
|
|
|
+ Grid.Row="1"
|
|
|
+ Height="4"
|
|
|
+ HorizontalAlignment="Stretch"
|
|
|
+ Background="Transparent"
|
|
|
+ ResizeBehavior="PreviousAndNext"
|
|
|
+ Template="{StaticResource HorizontalSplitter}"
|
|
|
+ PreviewStyle="{StaticResource HorizontalSplitterPreview}"/>
|
|
|
+
|
|
|
+ <dynamicGrid:DynamicTabControl
|
|
|
+ x:Name="OtherPages"
|
|
|
+ Grid.Row="2"
|
|
|
+ Margin="0,-2,0,0"
|
|
|
+ SelectionChanged="Editors_SelectionChanged"
|
|
|
+ TabStripPlacement="Bottom">
|
|
|
+ <dynamicGrid:DynamicTabControl.RightPanel>
|
|
|
+ <ContentControl
|
|
|
+ x:Name="DocumentControl"/>
|
|
|
+ </dynamicGrid:DynamicTabControl.RightPanel>
|
|
|
+ </dynamicGrid:DynamicTabControl>
|
|
|
+
|
|
|
+
|
|
|
</Grid>
|
|
|
</dynamicGrid:DynamicEditorGridLayout>
|