|
4 | 4 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
5 | 5 | xmlns:vm="using:WEventViewer.ViewModel"
|
6 | 6 | xmlns:local="using:WEventViewer"
|
7 |
| - mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="500" |
| 7 | + mc:Ignorable="d" d:DesignWidth="700" d:DesignHeight="600" |
8 | 8 | x:Class="WEventViewer.OpenLogWindow"
|
9 | 9 | x:DataType="vm:OpenLogWindowViewModel"
|
10 | 10 | Title="OpenLogWindow">
|
|
21 | 21 | </Grid.RowDefinitions>
|
22 | 22 | <StackPanel Margin="10" Orientation="Vertical" Grid.Row="0" Name="OptionPanel">
|
23 | 23 | <Grid HorizontalAlignment="Stretch" Grid.Row="0" VerticalAlignment="Center">
|
24 |
| - <Grid.ColumnDefinitions> |
25 |
| - <ColumnDefinition Width="Auto"/> |
26 |
| - <ColumnDefinition Width="*"/> |
27 |
| - <ColumnDefinition Width="Auto"/> |
28 |
| - </Grid.ColumnDefinitions> |
| 24 | + <Grid.ColumnDefinitions> |
| 25 | + <ColumnDefinition Width="Auto"/> |
| 26 | + <ColumnDefinition Width="*"/> |
| 27 | + <ColumnDefinition Width="Auto"/> |
| 28 | + </Grid.ColumnDefinitions> |
29 | 29 | <Label Content="LogName"
|
30 | 30 | Margin="10,10,10,10"
|
31 | 31 | VerticalAlignment="Center"
|
32 |
| - HorizontalAlignment="Left" |
33 |
| - Grid.Column="0" |
| 32 | + HorizontalAlignment="Left" |
| 33 | + Grid.Column="0" |
34 | 34 | />
|
35 | 35 | <TextBox HorizontalContentAlignment="Left"
|
36 | 36 | VerticalContentAlignment="Center"
|
|
41 | 41 | MinWidth="200" MaxWidth="1000"
|
42 | 42 | Grid.Column="1"
|
43 | 43 | />
|
44 |
| - <Button Name="OpenLogButton" |
45 |
| - Grid.Column="2" |
46 |
| - Content="Open" |
47 |
| - IsVisible="{Binding IsEnableFilePathOpenButton}" |
48 |
| - Click="OnLogOpenButtonClicked"/> |
| 44 | + <Button Name="OpenLogButton" |
| 45 | + Grid.Column="2" |
| 46 | + Content="Open" |
| 47 | + IsVisible="{Binding IsEnableFilePathOpenButton}" |
| 48 | + Click="OnLogOpenButtonClicked"/> |
49 | 49 | </Grid>
|
50 | 50 | <Grid HorizontalAlignment="Stretch" VerticalAlignment="Center">
|
51 |
| - <Grid.ColumnDefinitions> |
52 |
| - <ColumnDefinition Width="Auto"/> |
53 |
| - <ColumnDefinition Width="Auto"/> |
54 |
| - </Grid.ColumnDefinitions> |
| 51 | + <Grid.ColumnDefinitions> |
| 52 | + <ColumnDefinition Width="Auto"/> |
| 53 | + <ColumnDefinition Width="Auto"/> |
| 54 | + </Grid.ColumnDefinitions> |
55 | 55 | <Label Content="PathType"
|
56 | 56 | Margin="10,10,10,10"
|
57 | 57 | HorizontalAlignment="Left"
|
|
62 | 62 | TextAlignment="Left"
|
63 | 63 | VerticalContentAlignment="Center"
|
64 | 64 | Text="{Binding Path=PathType, Mode=TwoWay,Converter={StaticResource PathTypeConverter}}"/>-->
|
65 |
| - <ComboBox |
66 |
| - HorizontalAlignment="Stretch" |
67 |
| - Margin="10" |
68 |
| - ItemsSource="{Binding PathTypes}" |
69 |
| - SelectedValue="{Binding CurrentSelected}" |
70 |
| - Grid.Column="1" |
| 65 | + <ComboBox |
| 66 | + HorizontalAlignment="Stretch" |
| 67 | + Margin="10" |
| 68 | + ItemsSource="{Binding PathTypes}" |
| 69 | + SelectedValue="{Binding CurrentSelected}" |
| 70 | + Grid.Column="1" |
71 | 71 | >
|
72 | 72 | <ComboBox.ItemTemplate>
|
73 | 73 | <DataTemplate>
|
|
93 | 93 | </StackPanel>
|
94 | 94 | <CheckBox Content="filter providers(separeted by ',')" Margin="10" IsChecked="{Binding UseProviderNames}"/>
|
95 | 95 | <TextBox Text="{Binding ProviderNames}" IsEnabled="{Binding UseProviderNames}"/>
|
| 96 | + <CheckBox Content="filter by level" Margin="10"/> |
| 97 | + <StackPanel Orientation="Horizontal"> |
| 98 | + <CheckBox Content="Critical" Margin="10"/> |
| 99 | + <CheckBox Content="Error" Margin="10"/> |
| 100 | + <CheckBox Content="Warning" Margin="10"/> |
| 101 | + <CheckBox Content="Information" Margin="10"/> |
| 102 | + <CheckBox Content="Verbose" Margin="10"/> |
| 103 | + </StackPanel> |
96 | 104 | </StackPanel>
|
97 | 105 | </ScrollViewer>
|
98 | 106 | <!--<Expander Header="Advanced" Grid.Row="2" HorizontalAlignment="Stretch" MaxHeight="300">
|
|
0 commit comments