|
15 | 15 | <BitmapImage x:Key="VbaProjectIcon" UriSource="../../Resources/Custom/PNG/ObjectClass.png" />
|
16 | 16 | <BitmapImage x:Key="PriorityIcon" UriSource="../../Resources/edit-list-order.png" />
|
17 | 17 | <BitmapImage x:Key="MoveUpIcon" UriSource="../../Resources/arrow-090.png" />
|
| 18 | + <BitmapImage x:Key="MoveDownIcon" UriSource="../../Resources/arrow-270.png" /> |
18 | 19 |
|
19 | 20 | <local:ReferenceStatusImageSourceConverter x:Key="StatusToIcon" />
|
20 | 21 | <Style x:Key="DialogButtonStyle" TargetType="Button">
|
|
141 | 142 | </Grid>
|
142 | 143 | </Border>
|
143 | 144 | <ListView Margin="10"
|
144 |
| - ItemsSource="{Binding ComLibraries}" |
| 145 | + ItemsSource="{Binding VbaProjects}" |
145 | 146 | SelectedItem="{Binding SelectedProject}"
|
146 | 147 | HorizontalContentAlignment="Stretch">
|
147 | 148 | <ListView.ItemTemplate>
|
|
186 | 187 | <ColumnDefinition Width="50" />
|
187 | 188 | <ColumnDefinition Width="*" />
|
188 | 189 | <ColumnDefinition Width="20" />
|
| 190 | + <ColumnDefinition Width="20" /> |
189 | 191 | </Grid.ColumnDefinitions>
|
190 | 192 | <TextBlock Grid.Column="0" Text="{Binding Name}" Margin="2,0" />
|
191 | 193 | <TextBlock Grid.Column="1" Text="{Binding Version}" Margin="2,0" />
|
192 | 194 | <TextBlock Grid.Column="2" Text="{Binding Description}" Margin="2,0" />
|
193 |
| - <Button Grid.Column="3" Command="{Binding DataContext.MoveUpCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:AddRemoveReferencesWindow}}}"> |
| 195 | + <Button Grid.Column="3" Margin="1" |
| 196 | + Command="{Binding DataContext.MoveUpCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:AddRemoveReferencesWindow}}}"> |
194 | 197 | <Image Source="{StaticResource MoveUpIcon}" />
|
195 | 198 | </Button>
|
| 199 | + <Button Grid.Column="4" Margin="1" |
| 200 | + Command="{Binding DataContext.MoveDownCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:AddRemoveReferencesWindow}}}"> |
| 201 | + <Image Source="{StaticResource MoveDownIcon}" /> |
| 202 | + </Button> |
196 | 203 | </Grid>
|
197 | 204 | </DataTemplate>
|
198 | 205 | </ListView.ItemTemplate>
|
|
0 commit comments