-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
68 lines (65 loc) · 2.96 KB
/
Copy pathMainWindow.xaml
File metadata and controls
68 lines (65 loc) · 2.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<Window x:Class="Win10Tweaker.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Win10Tweaker"
mc:Ignorable="d"
Title="Windows 10 Tweaker" Height="600" Width="300">
<Window.Resources>
<Style TargetType="{x:Type Label}">
<Setter Property="Foreground" Value="White"/>
</Style>
</Window.Resources>
<Grid>
<Grid.Background>
<LinearGradientBrush StartPoint="0, 0" EndPoint="0, 1">
<GradientStop Color="LightSlateGray" Offset="0"/>
<GradientStop Color="SlateGray" Offset="1"/>
</LinearGradientBrush>
</Grid.Background>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid Grid.Row="0" Margin="10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.5*"/>
<ColumnDefinition Width="0.5*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Button Content="Restore Defaults" Grid.Column="0" Margin="5" Padding="5" Click="RestoreDefaultsButton_Click"/>
<Button Content="Apply" Grid.Column="1" Margin="5" Padding="5" Click="ApplyButton_Click"/>
</Grid>
<Border Grid.Row="1" BorderBrush="LightGray" BorderThickness="0,1,0,0" Padding="10,5,10,5">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Label Content="Cortana" Grid.Column="0"/>
<ComboBox Name="CortanaStateComboBox" Grid.Column="1" SelectedIndex="1">
<ComboBoxItem Content="Disabled"/>
<ComboBoxItem Content="Enabled"/>
</ComboBox>
</Grid>
</Border>
<Border Grid.Row="2" BorderBrush="LightGray" BorderThickness="0,1,0,1" Padding="10,5,10,5">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Label Content="Bing Search in Start Menu" Grid.Column="0"/>
<ComboBox Name="BingSearchStateComboBox" Grid.Column="1" SelectedIndex="1">
<ComboBoxItem Content="Disabled"/>
<ComboBoxItem Content="Enabled"/>
</ComboBox>
</Grid>
</Border>
</Grid>
</Window>