|
15 | 15 | <ColumnDefinition /> |
16 | 16 | <ColumnDefinition /> |
17 | 17 | </Grid.ColumnDefinitions> |
18 | | - |
19 | 18 | <TextBlock Height="23" HorizontalAlignment="Left" Margin="15,10,0,0" Name="textBlock3" Text="Drag and drop to add, remove or reorder columns." VerticalAlignment="Top" Grid.ColumnSpan="2" /> |
20 | | - |
21 | | - |
22 | | - |
23 | | - <TextBlock |
24 | | - Height="23" HorizontalAlignment="Center" Margin="0,39,0,0" VerticalAlignment="Top" |
25 | | - Name="textBlock2" Text="Used columns" /> |
| 19 | + |
| 20 | + <TextBlock Height="23" HorizontalAlignment="Center" Margin="0,39,0,0" Name="textBlock1" Text="Unused columns" VerticalAlignment="Top" /> |
26 | 21 | <ListView |
27 | 22 | Margin="6,59,10,9" Name="listView1" |
28 | 23 | VidCoderDragDrop:DragDropHelper.IsDragSource="True" |
29 | 24 | VidCoderDragDrop:DragDropHelper.IsDropTarget="True" |
30 | 25 | VidCoderDragDrop:DragDropHelper.DragDropTemplate="{StaticResource ColumnDragTemplate}" |
31 | | - ItemsSource="{Binding UsedColumns}" |
| 26 | + Foreground="DarkGray" |
| 27 | + ItemsSource="{Binding UnusedColumns}" |
32 | 28 | DisplayMemberPath="Title"/> |
33 | 29 |
|
34 | | - <TextBlock |
35 | | - Grid.Column="1" Height="23" HorizontalAlignment="Center" Margin="0,39,0,0" VerticalAlignment="Top" |
36 | | - Name="textBlock1" Text="Unused columns" /> |
| 30 | + <TextBlock Grid.Column="1" Height="23" HorizontalAlignment="Center" Margin="0,39,0,0" Name="textBlock2" Text="Used columns" VerticalAlignment="Top" /> |
37 | 31 | <ListView |
38 | 32 | Grid.Column="1" Margin="10,59,12,9" Name="listView2" |
39 | 33 | VidCoderDragDrop:DragDropHelper.IsDragSource="True" |
40 | 34 | VidCoderDragDrop:DragDropHelper.IsDropTarget="True" |
41 | 35 | VidCoderDragDrop:DragDropHelper.DragDropTemplate="{StaticResource ColumnDragTemplate}" |
42 | | - Foreground="DarkGray" |
43 | | - ItemsSource="{Binding UnusedColumns}" |
| 36 | + ItemsSource="{Binding UsedColumns}" |
44 | 37 | DisplayMemberPath="Title"/> |
45 | 38 | </Grid> |
46 | 39 | <Button Content="OK" Command="{Binding AcceptCommand}" Height="23" HorizontalAlignment="Right" Margin="0,0,93,12" Name="button1" VerticalAlignment="Bottom" Width="75" IsDefault="True" /> |
|
0 commit comments