1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <local:DynamicFormWindow x:Class="InABox.DynamicGrid.DynamicFormEditWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:InABox.DynamicGrid"
- mc:Ignorable="d"
- Title="FormDesigner" Height="800" Width="1000" Padding="5"
- Closing="DynamicFormWindow_Closing">
- <Grid Margin="5">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="*" />
- <RowDefinition Height="Auto" />
- </Grid.RowDefinitions>
- <Border Grid.Row="0" Grid.Column="0" Margin="5" BorderBrush="Gray" BorderThickness="0.75" Background="Silver">
- <ScrollViewer>
- <local:DynamicFormDesignGrid x:Name="Preview" />
- </ScrollViewer>
- </Border>
- <DockPanel Grid.Row="1">
- <Button x:Name="CompleteForm" Content="Complete Form" Width="100" Height="35" Margin="5" Click="CompleteForm_Click" DockPanel.Dock="Right" />
- <Button x:Name="SaveForm" Content="Save Form" Width="80" Height="35" Margin="5" Click="SaveForm_Click" DockPanel.Dock="Right" />
- <Button x:Name="CloseForm" Content="Close" Width="80" Height="35" Margin="5" Click="Cancel_Click" DockPanel.Dock="Left"/>
- <Label x:Name="CompletedDate" DockPanel.Dock="Left"
- HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
- <!--CheckBox x:Name="Complete" IsThreeState="False" Margin="5" DockPanel.Dock="Left"
- VerticalContentAlignment="Center" Content="Complete?" Visibility="Collapsed"/-->
- </DockPanel>
- </Grid>
- </local:DynamicFormWindow>
|