|
68 | 68 | </Grid.ColumnDefinitions> |
69 | 69 | <Grid> |
70 | 70 | <Grid.RowDefinitions> |
| 71 | + <RowDefinition Height="Auto" /> |
71 | 72 | <RowDefinition Height="Auto" /> |
72 | 73 | <RowDefinition Height="Auto" /> |
73 | 74 | <RowDefinition Height="*" /> |
|
86 | 87 | <Separator Margin="0, 5, 5, 0" /> |
87 | 88 | </StackPanel> |
88 | 89 | <Label Grid.Row="1" Content="Attributes" FontWeight="Bold" /> |
89 | | - <DataGrid x:Name="FieldsGrid" Grid.Row="2" AutoGenerateColumns="False" SelectionMode="Extended" |
| 90 | + <Grid Grid.Row="2" Grid.ColumnSpan="3"> |
| 91 | + <Grid.ColumnDefinitions> |
| 92 | + <ColumnDefinition Width="Auto" /> |
| 93 | + <ColumnDefinition Width="*" /> |
| 94 | + <ColumnDefinition MaxWidth="50" /> |
| 95 | + <ColumnDefinition MaxWidth="50" /> |
| 96 | + </Grid.ColumnDefinitions> |
| 97 | + <TextBox x:Name="TextBoxFilterAttributes" Margin="0" Grid.Column="1" |
| 98 | + KeyDown="TextBoxFilter_OnKeyDown" /> |
| 99 | + <Button x:Name="ButtonFilterAttributes" Grid.Column="2" Margin="2,2,0,2" Content="Filter" |
| 100 | + Click="ButtonFilter_Click" /> |
| 101 | + <Button x:Name="ButtonFilterClearAttributes" Grid.Column="3" Margin="2,2,5,2" Content="Clear" |
| 102 | + Click="ButtonFilterClear_Click" /> |
| 103 | + </Grid> |
| 104 | + <DataGrid x:Name="FieldsGrid" Grid.Row="3" AutoGenerateColumns="False" SelectionMode="Extended" |
90 | 105 | CanUserAddRows="False" ScrollViewer.CanContentScroll="True" |
91 | 106 | ScrollViewer.VerticalScrollBarVisibility="Auto" |
92 | 107 | ScrollViewer.HorizontalScrollBarVisibility="Hidden" Margin="0,0,5,0" |
|
157 | 172 | </Grid> |
158 | 173 | <Grid Grid.Column="1"> |
159 | 174 | <Grid.RowDefinitions> |
| 175 | + <RowDefinition Height="Auto" /> |
160 | 176 | <RowDefinition Height="Auto" /> |
161 | 177 | <RowDefinition Height="1.5*" /> |
162 | 178 | <RowDefinition Height="Auto" /> |
| 179 | + <RowDefinition Height="Auto" /> |
163 | 180 | <RowDefinition Height="1.5*" /> |
164 | 181 | <RowDefinition Height="Auto" /> |
165 | 182 | <RowDefinition Height="*" /> |
166 | 183 | </Grid.RowDefinitions> |
167 | 184 | <Label Content="One to Many Relations" FontWeight="Bold" /> |
168 | | - <DataGrid x:Name="Relations1NGrid" Grid.Row="1" AutoGenerateColumns="False" SelectionMode="Extended" |
| 185 | + <Grid Grid.Row="1" Grid.ColumnSpan="3"> |
| 186 | + <Grid.ColumnDefinitions> |
| 187 | + <ColumnDefinition Width="Auto" /> |
| 188 | + <ColumnDefinition Width="*" /> |
| 189 | + <ColumnDefinition MaxWidth="50" /> |
| 190 | + <ColumnDefinition MaxWidth="50" /> |
| 191 | + </Grid.ColumnDefinitions> |
| 192 | + <TextBox x:Name="TextBoxFilter1N" Margin="0" Grid.Column="1" |
| 193 | + KeyDown="TextBoxFilter_OnKeyDown" /> |
| 194 | + <Button x:Name="ButtonFilter1N" Grid.Column="2" Margin="2,2,0,2" Content="Filter" |
| 195 | + Click="ButtonFilter_Click" /> |
| 196 | + <Button x:Name="ButtonFilterClear1N" Grid.Column="3" Margin="2,2,0,2" Content="Clear" |
| 197 | + Click="ButtonFilterClear_Click" /> |
| 198 | + </Grid> |
| 199 | + <DataGrid x:Name="Relations1NGrid" Grid.Row="2" AutoGenerateColumns="False" SelectionMode="Extended" |
169 | 200 | CanUserAddRows="False" ScrollViewer.CanContentScroll="True" |
170 | 201 | ScrollViewer.VerticalScrollBarVisibility="Auto" |
171 | 202 | ScrollViewer.HorizontalScrollBarVisibility="Hidden" |
|
208 | 239 | </DataGridTemplateColumn> |
209 | 240 | </DataGrid.Columns> |
210 | 241 | </DataGrid> |
211 | | - <Label Content="Many to One Relations" Grid.Row="2" FontWeight="Bold" /> |
212 | | - <DataGrid x:Name="RelationsN1Grid" Grid.Row="3" AutoGenerateColumns="False" SelectionMode="Extended" |
| 242 | + <Label Content="Many to One Relations" Grid.Row="3" FontWeight="Bold" /> |
| 243 | + <Grid Grid.Row="4" Grid.ColumnSpan="3"> |
| 244 | + <Grid.ColumnDefinitions> |
| 245 | + <ColumnDefinition Width="Auto" /> |
| 246 | + <ColumnDefinition Width="*" /> |
| 247 | + <ColumnDefinition MaxWidth="50" /> |
| 248 | + <ColumnDefinition MaxWidth="50" /> |
| 249 | + </Grid.ColumnDefinitions> |
| 250 | + <TextBox x:Name="TextBoxFilterN1" Margin="0" Grid.Column="1" |
| 251 | + KeyDown="TextBoxFilter_OnKeyDown" /> |
| 252 | + <Button x:Name="ButtonFilterN1" Grid.Column="2" Margin="2,2,0,2" Content="Filter" |
| 253 | + Click="ButtonFilter_Click" /> |
| 254 | + <Button x:Name="ButtonFilterClearN1" Grid.Column="3" Margin="2,2,0,2" Content="Clear" |
| 255 | + Click="ButtonFilterClear_Click" /> |
| 256 | + </Grid> |
| 257 | + <DataGrid x:Name="RelationsN1Grid" Grid.Row="5" AutoGenerateColumns="False" SelectionMode="Extended" |
213 | 258 | CanUserAddRows="False" ScrollViewer.CanContentScroll="True" |
214 | 259 | ScrollViewer.VerticalScrollBarVisibility="Auto" |
215 | 260 | ScrollViewer.HorizontalScrollBarVisibility="Hidden" |
|
268 | 313 | </DataGridTemplateColumn> |
269 | 314 | </DataGrid.Columns> |
270 | 315 | </DataGrid> |
271 | | - <Label Content="Many to Many Relations" Grid.Row="4" FontWeight="Bold" /> |
272 | | - <DataGrid x:Name="RelationsNnGrid" Grid.Row="5" AutoGenerateColumns="False" SelectionMode="Extended" |
| 316 | + <Label Content="Many to Many Relations" Grid.Row="6" FontWeight="Bold" /> |
| 317 | + <DataGrid x:Name="RelationsNnGrid" Grid.Row="7" AutoGenerateColumns="False" SelectionMode="Extended" |
273 | 318 | CanUserAddRows="False" ScrollViewer.CanContentScroll="True" |
274 | 319 | ScrollViewer.VerticalScrollBarVisibility="Auto" |
275 | 320 | ScrollViewer.HorizontalScrollBarVisibility="Hidden" |
|
0 commit comments