|
19 | 19 | <StackPanel Orientation="Vertical">
|
20 | 20 | <DockPanel>
|
21 | 21 | <CheckBox Content="Is active" IsChecked="{Binding IsActive}"></CheckBox>
|
22 |
| - <TextBox Text="{Binding NumberOfLogsPerLevel}" ToolTip="Enter limit per application per log level" Width="100" Margin="16,0,0,0"></TextBox> |
23 |
| - <Button Content="Limit" Width="80" Margin="2,0,0,0" Command="{Binding UpdateNumberOfLogsPerLevelCommand}"></Button> |
24 |
| - <TextBox Text="{Binding SearchCriteria}" ToolTip="Enter search query" Width="100" Margin="16,0,0,0"></TextBox> |
25 |
| - <Button Content="Search" Width="80" Margin="2,0,0,0" Command="{Binding UpdateSearchCriteriaCommand}"></Button> |
| 22 | + <TextBox Text="{Binding NumberOfLogsPerLevel}" ToolTip="Enter limit per application per log level" Width="100" Margin="16,0,0,0"> |
| 23 | + <TextBox.InputBindings> |
| 24 | + <KeyBinding Key="Enter" Command="{Binding UpdateNumberOfLogsPerLevelCommand}"/> |
| 25 | + </TextBox.InputBindings> |
| 26 | + </TextBox> |
| 27 | + <Button Content="Limit" Width="60" Margin="2,0,0,0" Command="{Binding UpdateNumberOfLogsPerLevelCommand}"></Button> |
| 28 | + <TextBox Text="{Binding SearchCriteria, UpdateSourceTrigger=PropertyChanged}" ToolTip="Enter search query" Width="100" Margin="16,0,0,0"></TextBox> |
| 29 | + <Button Content="Search" Width="60" Margin="2,0,0,0" Command="{Binding UpdateSearchCriteriaCommand}"></Button> |
26 | 30 | <CheckBox Content="Invert" IsChecked="{Binding IsInverted}" Margin="2,2,0,0"></CheckBox>
|
27 | 31 | <Grid>
|
28 |
| - <Button Content="Configure..." Width="80" Margin="0,0,164,0" Command="{Binding OpenConfigurationCommand}" HorizontalAlignment="Right"></Button> |
29 |
| - <Button Content="Clear Logs" Width="80" Margin="0,0,82,0" Command="{Binding ClearLogsCommand}" HorizontalAlignment="Right"></Button> |
30 |
| - <Button Content="Clear All" Width="80" Margin="16,0,0,0" Command="{Binding ClearAllCommand}" HorizontalAlignment="Right"></Button> |
| 32 | + <Button Content="Configure..." Width="80" Margin="0,0,249,0" Command="{Binding OpenConfigurationCommand}" HorizontalAlignment="Right"></Button> |
| 33 | + <Button Content="Clear Logs" Width="80" Margin="0,0,166,0" Command="{Binding ClearLogsCommand}" HorizontalAlignment="Right"></Button> |
| 34 | + <Button Content="Clear All" Width="80" Margin="0,0,83,0" Command="{Binding ClearAllCommand}" HorizontalAlignment="Right"></Button> |
| 35 | + <ComboBox ItemsSource="{Binding Path=LogLevels}" DisplayMemberPath="Name" SelectedValue="{Binding SelectedInitialLogLevel}" Width="70" Margin="2,0,2,0" HorizontalAlignment="Right"/> |
31 | 36 | </Grid>
|
32 | 37 |
|
| 38 | + |
33 | 39 | </DockPanel>
|
34 | 40 | </StackPanel>
|
35 | 41 | </Grid>
|
|
0 commit comments