|
15 | 15 | Height="720" |
16 | 16 | MinWidth="800" |
17 | 17 | MinHeight="600" |
18 | | - Icon="/Assets/Images/Icon-NoBackground.png" |
| 18 | + Icon="/Assets/Images/Icon-NoBackground.ico" |
19 | 19 | TransparencyLevelHint="Mica"> |
20 | 20 | <Grid> |
21 | 21 | <Grid.RowDefinitions> |
|
243 | 243 | VerticalAlignment="Center" /> |
244 | 244 | <Button Grid.Column="1" |
245 | 245 | Padding="6,4" |
246 | | - Command="{Binding DataContext?.AddKnowledgeEntryCommand, RelativeSource={RelativeSource AncestorType=Window}}" |
| 246 | + Command="{Binding DataContext.AddKnowledgeEntryCommand, RelativeSource={RelativeSource AncestorType=Window}}" |
247 | 247 | CommandParameter="{Binding}"> |
248 | 248 | <StackPanel Orientation="Horizontal" Spacing="6"> |
249 | 249 | <fa:FASymbolIcon Symbol="Add" /> |
|
622 | 622 | Margin="8,0,0,0" /> |
623 | 623 | </StackPanel> |
624 | 624 | <components:PathComboBox |
625 | | - ItemsSource="{Binding DataContext?.AvailableNumericAttributes, RelativeSource={RelativeSource AncestorType=ItemsControl}}" |
| 625 | + ItemsSource="{Binding DataContext.AvailableNumericAttributes, RelativeSource={RelativeSource AncestorType=ItemsControl}}" |
626 | 626 | SelectedItem="{Binding AttributeName}" |
627 | 627 | HorizontalAlignment="Stretch" /> |
628 | 628 | <StackPanel Orientation="Horizontal" |
|
683 | 683 |
|
684 | 684 | <components:PhaseEditControl |
685 | 685 | PhaseSource="{Binding}" |
686 | | - AddPhaseCommand="{Binding DataContext?.AddPhaseCommand, RelativeSource={RelativeSource AncestorType=Window}}" |
687 | | - DeletePhaseCommand="{Binding DataContext?.DeletePhaseCommand, RelativeSource={RelativeSource AncestorType=Window}}" /> |
| 686 | + AddPhaseCommand="{Binding DataContext.AddPhaseCommand, RelativeSource={RelativeSource AncestorType=Window}}" |
| 687 | + DeletePhaseCommand="{Binding DataContext.DeletePhaseCommand, RelativeSource={RelativeSource AncestorType=Window}}" /> |
688 | 688 |
|
689 | 689 | </StackPanel> |
690 | 690 | </StackPanel> |
|
1116 | 1116 | Margin="8,0,0,0" /> |
1117 | 1117 | </StackPanel> |
1118 | 1118 | <components:PathComboBox |
1119 | | - ItemsSource="{Binding DataContext?.AvailableNumericAttributes, RelativeSource={RelativeSource AncestorType=ItemsControl}}" |
| 1119 | + ItemsSource="{Binding DataContext.AvailableNumericAttributes, RelativeSource={RelativeSource AncestorType=ItemsControl}}" |
1120 | 1120 | SelectedItem="{Binding AttributeName}" |
1121 | 1121 | HorizontalAlignment="Stretch" /> |
1122 | 1122 | <StackPanel |
|
1183 | 1183 |
|
1184 | 1184 | <components:PhaseEditControl |
1185 | 1185 | PhaseSource="{Binding}" |
1186 | | - AddPhaseCommand="{Binding DataContext?.AddPhaseCommand, RelativeSource={RelativeSource AncestorType=Window}}" |
1187 | | - DeletePhaseCommand="{Binding DataContext?.DeletePhaseCommand, RelativeSource={RelativeSource AncestorType=Window}}" /> |
| 1186 | + AddPhaseCommand="{Binding DataContext.AddPhaseCommand, RelativeSource={RelativeSource AncestorType=Window}}" |
| 1187 | + DeletePhaseCommand="{Binding DataContext.DeletePhaseCommand, RelativeSource={RelativeSource AncestorType=Window}}" /> |
1188 | 1188 | </StackPanel> |
1189 | 1189 | </StackPanel> |
1190 | 1190 | </Expander> |
|
0 commit comments