| | |
| | | <RowDefinition Height="Auto"/> |
| | | <RowDefinition Height="Auto"/> |
| | | <RowDefinition/> |
| | | <RowDefinition Height="Auto"/> |
| | | <RowDefinition Height="Auto"/> |
| | | </Grid.RowDefinitions> |
| | | |
| | | <Grid dp:GridHelper.InnerBorder="1" dp:GridHelper.Space="5" |
| | |
| | | <TextBlock Text="{DynamicResource Test.LimitUp}"/> |
| | | </DataGridTextColumn.Header> |
| | | </DataGridTextColumn> |
| | | <DataGridTextColumn Width="*" Binding="{Binding Result}"> |
| | | <DataGridTextColumn.Header> |
| | | <DataGridTemplateColumn Width="*"> |
| | | <DataGridTemplateColumn.Header> |
| | | <TextBlock Text="{DynamicResource Test.Result}"/> |
| | | </DataGridTextColumn.Header> |
| | | </DataGridTextColumn> |
| | | </DataGridTemplateColumn.Header> |
| | | <DataGridTemplateColumn.CellTemplate> |
| | | <DataTemplate> |
| | | <TextBlock x:Name="text" VerticalAlignment="Center" Text="{Binding Result}"/> |
| | | <DataTemplate.Triggers> |
| | | <DataTrigger Binding="{Binding Result}" Value="Passed"> |
| | | <Setter TargetName="text" Property="Foreground" Value="Green"/> |
| | | </DataTrigger> |
| | | <DataTrigger Binding="{Binding Result}" Value="Failed"> |
| | | <Setter TargetName="text" Property="Foreground" Value="Red"/> |
| | | </DataTrigger> |
| | | </DataTemplate.Triggers> |
| | | </DataTemplate> |
| | | </DataGridTemplateColumn.CellTemplate> |
| | | </DataGridTemplateColumn> |
| | | </DataGrid.Columns> |
| | | </DataGrid> |
| | | <Grid Grid.Row="3" Height="20" Margin="0"> |
| | | <ProgressBar Grid.Row="3" x:Name="testProcess" /> |
| | | <Label Width="45" DockPanel.Dock="Right" x:Name="testProcessLabel" Padding="0" |
| | | VerticalContentAlignment="Center"/> |
| | | </Grid> |
| | | <DockPanel Grid.Row="4"> |
| | | <StatusBar> |
| | | <StatusBarItem> |
| | | <Label Padding="0" VerticalContentAlignment="Center" Content="{Binding CurrentStep}"/> |
| | | </StatusBarItem> |
| | | </StatusBar> |
| | | </DockPanel> |
| | | |
| | | </Grid> |
| | | </UserControl> |