|
|
@ -3,9 +3,11 @@ |
|
|
|
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" |
|
|
|
mc:Ignorable="d" |
|
|
|
Title="Win10 Setup Script" Height="800" Width="800" FontSize="16" TextOptions.TextFormattingMode="Display" |
|
|
|
ShowInTaskbar="False" WindowStartupLocation="CenterScreen" SnapsToDevicePixels="True"> |
|
|
|
mc:Ignorable="d" |
|
|
|
x:Name="Window" |
|
|
|
Title="Windows 10 Setup Script" MinHeight="800" MinWidth="800" Height="800" Width="800" FontFamily="Sergio UI" |
|
|
|
FontSize="16" TextOptions.TextFormattingMode="Display" WindowStartupLocation="CenterScreen" |
|
|
|
SnapsToDevicePixels="True" WindowStyle="None" ResizeMode="CanResizeWithGrip" AllowsTransparency="True" > |
|
|
|
<Window.Resources> |
|
|
|
|
|
|
|
<!--#region Brushes --> |
|
|
@ -333,7 +335,7 @@ |
|
|
|
<Setter Property="FontFamily" Value="Segoe UI"/> |
|
|
|
<Setter Property="TextOptions.TextFormattingMode" Value="Display"/> |
|
|
|
</Style> |
|
|
|
|
|
|
|
|
|
|
|
<Style x:Key="ItemTitleStyle" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource TextBlockStyle}"> |
|
|
|
<Setter Property="Margin" Value="1"/> |
|
|
|
<Setter Property="FontSize" Value="16"/> |
|
|
@ -389,332 +391,118 @@ |
|
|
|
<Setter Property="Height" Value="40"/> |
|
|
|
<Setter Property="Background" Value="{StaticResource RadioButton.Checked.Background}"/> |
|
|
|
</Style> |
|
|
|
|
|
|
|
|
|
|
|
<Style x:Key="CanvasTitleButton" TargetType="Canvas"> |
|
|
|
<Setter Property="Height" Value="35"/> |
|
|
|
<Setter Property="Width" Value="35"/> |
|
|
|
<Style.Triggers> |
|
|
|
<Trigger Property="Canvas.IsMouseOver" Value="True"> |
|
|
|
<Setter Property="Canvas.Background" Value="#DA1F2E"/> |
|
|
|
<Setter Property="Canvas.Opacity" Value="5"/> |
|
|
|
</Trigger> |
|
|
|
</Style.Triggers> |
|
|
|
</Style> |
|
|
|
|
|
|
|
</Window.Resources> |
|
|
|
|
|
|
|
|
|
|
|
<Border x:Name="BorderWindow" BorderThickness="1" BorderBrush="#0078D7"> |
|
|
|
<Grid> |
|
|
|
<Grid.RowDefinitions> |
|
|
|
<RowDefinition Height="50"/> |
|
|
|
<RowDefinition Height="35"/> |
|
|
|
<RowDefinition Height="*"/> |
|
|
|
<RowDefinition Height="40"/> |
|
|
|
<RowDefinition Height="35"/> |
|
|
|
</Grid.RowDefinitions> |
|
|
|
<!--#region Toolbox Panel--> |
|
|
|
<StackPanel Grid.Row="0" Background="#E4E4E4" Orientation="Horizontal"> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<!--#endregion Toolbox Panel--> |
|
|
|
<!--#region Title Panel--> |
|
|
|
<Canvas Grid.Row="0" Background="{Binding ElementName=BorderWindow, Path=BorderBrush}"> |
|
|
|
<!--Title Icons--> |
|
|
|
<Viewbox Width="24" Height="24" Canvas.Left="10" Canvas.Top="5"> |
|
|
|
<Path Data="M3,12V6.75L9,5.43V11.91L3,12M20,3V11.75L10,11.9V5.21L20,3M3,13L9,13.09V19.9L3,18.75V13M20,13.25V22L10,20.09V13.1L20,13.25Z" Fill="{Binding ElementName=TitleHeader, Path=Foreground}" /> |
|
|
|
</Viewbox> |
|
|
|
<!--Title Header--> |
|
|
|
<TextBlock x:Name="TitleHeader" Text="{Binding ElementName=Window, Path=Title}" FontFamily="Sergio UI" FontSize="14" Canvas.Left="44" Canvas.Top="10" Foreground="#FFFFFF"/> |
|
|
|
<!--Title Minimize Button--> |
|
|
|
<Canvas Name="MinimizeButton" Canvas.Right="35" Canvas.Top="0" Style="{DynamicResource CanvasTitleButton}"> |
|
|
|
<Viewbox Width="24" Height="24" Canvas.Left="4"> |
|
|
|
<Path Data="M20,14H4V10H20" Fill="{Binding ElementName=TitleHeader,Path=Foreground}" /> |
|
|
|
</Viewbox> |
|
|
|
</Canvas> |
|
|
|
<!--Title Close Button--> |
|
|
|
<Canvas Name="CloseButton" Canvas.Right="0" Canvas.Top="0" Style="{DynamicResource CanvasTitleButton}"> |
|
|
|
<Viewbox Width="24" Height="24" Canvas.Left="4" Canvas.Top="2"> |
|
|
|
<Path Data="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" Fill="{Binding ElementName=TitleHeader,Path=Foreground}" /> |
|
|
|
</Viewbox> |
|
|
|
</Canvas> |
|
|
|
</Canvas> |
|
|
|
<!--#endregion Title Panel--> |
|
|
|
|
|
|
|
<!--region Control Panel--> |
|
|
|
<StackPanel Grid.Row="1" Orientation="Vertical" Width="200" Height="200" VerticalAlignment="Top" |
|
|
|
HorizontalAlignment="Right" Margin="10 30 10 0" Panel.ZIndex="10"> |
|
|
|
|
|
|
|
</StackPanel> |
|
|
|
<!--endregion Control Panel--> |
|
|
|
|
|
|
|
<!--#region Setting Panel--> |
|
|
|
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled"> |
|
|
|
<StackPanel Orientation="Vertical"> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 2 0 2"> |
|
|
|
<Grid Margin="0" HorizontalAlignment="Left"> |
|
|
|
<ToggleButton x:Name="PrivacyAndTelemetry0" FontFamily="Sergio UI" FontSize="1" |
|
|
|
Style="{DynamicResource ToggleSwitchTopStyle}" |
|
|
|
Content="" |
|
|
|
IsChecked="False" |
|
|
|
/> |
|
|
|
<TextBlock Margin="65 2 0 0" VerticalAlignment="Center" FontFamily="Sergio UI" FontSize="16"> |
|
|
|
<TextBlock.Style> |
|
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}"> |
|
|
|
<Setter Property="Text" Value="Turn off "Connected User Experiences and Telemetry" service" /> |
|
|
|
<Style.Triggers> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry0, Path=IsChecked}" Value="True"> |
|
|
|
<Setter Property="Text" Value="Turn off "Connected User Experiences and Telemetry" service" /> |
|
|
|
</DataTrigger> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry0, Path=IsEnabled}" Value="false"> |
|
|
|
<Setter Property="Opacity" Value="0.2" /> |
|
|
|
</DataTrigger> |
|
|
|
</Style.Triggers> |
|
|
|
</Style> |
|
|
|
</TextBlock.Style> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 2 0 2"> |
|
|
|
<Grid Margin="0" HorizontalAlignment="Left"> |
|
|
|
<ToggleButton x:Name="PrivacyAndTelemetry1" FontFamily="Sergio UI" FontSize="1" |
|
|
|
Style="{DynamicResource ToggleSwitchTopStyle}" |
|
|
|
Content="" |
|
|
|
IsChecked="False" |
|
|
|
/> |
|
|
|
<TextBlock Margin="65 2 0 0" VerticalAlignment="Center" FontFamily="Sergio UI" FontSize="16"> |
|
|
|
<TextBlock.Style> |
|
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}"> |
|
|
|
<Setter Property="Text" Value="Turn off per-user services" /> |
|
|
|
<Style.Triggers> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry1, Path=IsChecked}" Value="True"> |
|
|
|
<Setter Property="Text" Value="Turn off per-user services" /> |
|
|
|
</DataTrigger> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry1, Path=IsEnabled}" Value="false"> |
|
|
|
<Setter Property="Opacity" Value="0.2" /> |
|
|
|
</DataTrigger> |
|
|
|
</Style.Triggers> |
|
|
|
</Style> |
|
|
|
</TextBlock.Style> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled"> |
|
|
|
<StackPanel Orientation="Vertical"> |
|
|
|
<StackPanel Orientation="Horizontal" Height="35" Margin="0 5 0 0"> |
|
|
|
<Viewbox Width="24" Height="24" Margin="20 0 5 6" > |
|
|
|
<Path Data="M12 5.69L17 10.19V18H15V12H9V18H7V10.19L12 5.69M12 3L2 12H5V20H11V14H13V20H19V12H22L12 3Z" Fill="Black" /> |
|
|
|
</Viewbox> |
|
|
|
<TextBlock Text="Privacy & Telemetry" VerticalAlignment="Center" FontWeight="Bold"/> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 2 0 2"> |
|
|
|
<Grid Margin="0" HorizontalAlignment="Left"> |
|
|
|
<ToggleButton Name="ToggleButton0" FontFamily="Sergio UI" FontSize="1" |
|
|
|
Style="{DynamicResource ToggleSwitchTopStyle}" Content="" IsChecked="False"/> |
|
|
|
<TextBlock Margin="65 2 0 0" VerticalAlignment="Center" FontFamily="Sergio UI" FontSize="16"> |
|
|
|
<TextBlock.Style> |
|
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}"> |
|
|
|
<Setter Property="Text" Value="Turn off "Connected User Experiences and Telemetry" service" /> |
|
|
|
<Style.Triggers> |
|
|
|
<DataTrigger Binding="{Binding ElementName=ToggleButton0, Path=IsChecked}" Value="True"> |
|
|
|
<Setter Property="Text" Value="Turn off "Connected User Experiences and Telemetry" service" /> |
|
|
|
</DataTrigger> |
|
|
|
<DataTrigger Binding="{Binding ElementName=ToggleButton0, Path=IsEnabled}" Value="false"> |
|
|
|
<Setter Property="Opacity" Value="0.2" /> |
|
|
|
</DataTrigger> |
|
|
|
</Style.Triggers> |
|
|
|
</Style> |
|
|
|
</TextBlock.Style> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
</StackPanel> |
|
|
|
<StackPanel Orientation="Horizontal" Margin="0 2 0 2"> |
|
|
|
<Grid Margin="0" HorizontalAlignment="Left"> |
|
|
|
<ToggleButton Name="ToggleButton1" FontFamily="Sergio UI" FontSize="1" |
|
|
|
Style="{DynamicResource ToggleSwitchTopStyle}" Content="" IsChecked="False"/> |
|
|
|
<TextBlock Margin="65 2 0 0" VerticalAlignment="Center" FontFamily="Sergio UI" FontSize="16"> |
|
|
|
<TextBlock.Style> |
|
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}"> |
|
|
|
<Setter Property="Text" Value="Turn off per-user services" /> |
|
|
|
<Style.Triggers> |
|
|
|
<DataTrigger Binding="{Binding ElementName=ToggleButton1, Path=IsChecked}" Value="True"> |
|
|
|
<Setter Property="Text" Value="Turn off per-user services" /> |
|
|
|
</DataTrigger> |
|
|
|
<DataTrigger Binding="{Binding ElementName=ToggleButton1, Path=IsEnabled}" Value="false"> |
|
|
|
<Setter Property="Opacity" Value="0.2" /> |
|
|
|
</DataTrigger> |
|
|
|
</Style.Triggers> |
|
|
|
</Style> |
|
|
|
</TextBlock.Style> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
</StackPanel> |
|
|
|
</ScrollViewer> |
|
|
|
</ScrollViewer> |
|
|
|
<!--#endregion Setting Panel--> |
|
|
|
|
|
|
|
|
|
|
|
<!--#region Info Panel--> |
|
|
|
<StackPanel Grid.Row="2" Background="{Binding ElementName=BorderWindow, Path=BorderBrush}" Orientation="Horizontal"> |
|
|
|
|
|
|
|
<!--#region Setting Panels--> |
|
|
|
<!--<StackPanel Orientation="Vertical" Grid.Column="1"> |
|
|
|
--><!--#region Privacy & Telemetry Setting--><!-- |
|
|
|
<StackPanel Orientation="Horizontal" Height="40"> |
|
|
|
<Viewbox Width="24" Height="24" VerticalAlignment="Center"> |
|
|
|
<Path Data="M12 5.69L17 10.19V18H15V12H9V18H7V10.19L12 5.69M12 3L2 12H5V20H11V14H13V20H19V12H22L12 3Z" Fill="Black" /> |
|
|
|
</Viewbox> |
|
|
|
<TextBlock Text="Privacy & Telemetry" FontSize="18" FontWeight="Medium" VerticalAlignment="Center" Margin="10 0 0 0"/> |
|
|
|
</StackPanel> |
|
|
|
|
|
|
|
<Grid Margin="0 10 0 0" HorizontalAlignment="Left"> |
|
|
|
<ToggleButton x:Name="PrivacyAndTelemetry0" FontFamily="Sergio UI" FontSize="16" |
|
|
|
Style="{DynamicResource ToggleSwitchTopStyle}" |
|
|
|
Content="Turn off "Connected User Experiences and Telemetry" service" |
|
|
|
IsChecked="False" |
|
|
|
/> |
|
|
|
<TextBlock Margin="52 0 0 0" VerticalAlignment="Bottom" FontFamily="Sergio UI" FontSize="16"> |
|
|
|
<TextBlock.Style> |
|
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}"> |
|
|
|
<Setter Property="Text" Value="Off" /> |
|
|
|
<Style.Triggers> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry0, Path=IsChecked}" Value="True"> |
|
|
|
<Setter Property="Text" Value="On" /> |
|
|
|
</DataTrigger> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry0, Path=IsEnabled}" Value="false"> |
|
|
|
<Setter Property="Opacity" Value="0.2" /> |
|
|
|
</DataTrigger> |
|
|
|
</Style.Triggers> |
|
|
|
</Style> |
|
|
|
</TextBlock.Style> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
<Grid Margin="0 20 0 0" HorizontalAlignment="Left"> |
|
|
|
<ToggleButton x:Name="PrivacyAndTelemetry1" FontFamily="Sergio UI" FontSize="16" |
|
|
|
Style="{DynamicResource ToggleSwitchTopStyle}" |
|
|
|
Content="Turn off per-user services" |
|
|
|
IsChecked="False" |
|
|
|
/> |
|
|
|
<TextBlock Margin="52 0 0 0" VerticalAlignment="Bottom" FontFamily="Sergio UI" FontSize="16"> |
|
|
|
<TextBlock.Style> |
|
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}"> |
|
|
|
<Setter Property="Text" Value="Off" /> |
|
|
|
<Style.Triggers> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry1, Path=IsChecked}" Value="True"> |
|
|
|
<Setter Property="Text" Value="On" /> |
|
|
|
</DataTrigger> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry1, Path=IsEnabled}" Value="false"> |
|
|
|
<Setter Property="Opacity" Value="0.2" /> |
|
|
|
</DataTrigger> |
|
|
|
</Style.Triggers> |
|
|
|
</Style> |
|
|
|
</TextBlock.Style> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
<Grid Margin="0 20 0 0" HorizontalAlignment="Left"> |
|
|
|
<ToggleButton x:Name="PrivacyAndTelemetry2" FontFamily="Sergio UI" FontSize="16" |
|
|
|
Style="{DynamicResource ToggleSwitchTopStyle}" |
|
|
|
Content="Turn off the Autologger session at the next computer restart" |
|
|
|
IsChecked="False" |
|
|
|
/> |
|
|
|
<TextBlock Margin="52 0 0 0" VerticalAlignment="Bottom" FontFamily="Sergio UI" FontSize="16"> |
|
|
|
<TextBlock.Style> |
|
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}"> |
|
|
|
<Setter Property="Text" Value="Off" /> |
|
|
|
<Style.Triggers> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry2, Path=IsChecked}" Value="True"> |
|
|
|
<Setter Property="Text" Value="On" /> |
|
|
|
</DataTrigger> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry2, Path=IsEnabled}" Value="false"> |
|
|
|
<Setter Property="Opacity" Value="0.2" /> |
|
|
|
</DataTrigger> |
|
|
|
</Style.Triggers> |
|
|
|
</Style> |
|
|
|
</TextBlock.Style> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
<Grid Margin="0 20 0 0" HorizontalAlignment="Left"> |
|
|
|
<ToggleButton x:Name="PrivacyAndTelemetry3" FontFamily="Sergio UI" FontSize="16" |
|
|
|
Style="{DynamicResource ToggleSwitchTopStyle}" |
|
|
|
Content="Turn off the SQMLogger session at the next computer restart" |
|
|
|
IsChecked="False" |
|
|
|
/> |
|
|
|
<TextBlock Margin="52 0 0 0" VerticalAlignment="Bottom" FontFamily="Sergio UI" FontSize="16"> |
|
|
|
<TextBlock.Style> |
|
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}"> |
|
|
|
<Setter Property="Text" Value="Off" /> |
|
|
|
<Style.Triggers> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry3, Path=IsChecked}" Value="True"> |
|
|
|
<Setter Property="Text" Value="On" /> |
|
|
|
</DataTrigger> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry3, Path=IsEnabled}" Value="false"> |
|
|
|
<Setter Property="Opacity" Value="0.2" /> |
|
|
|
</DataTrigger> |
|
|
|
</Style.Triggers> |
|
|
|
</Style> |
|
|
|
</TextBlock.Style> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
<Grid Margin="0 20 0 0" HorizontalAlignment="Left"> |
|
|
|
<ToggleButton x:Name="PrivacyAndTelemetry4" FontFamily="Sergio UI" FontSize="16" |
|
|
|
Style="{DynamicResource ToggleSwitchTopStyle}" |
|
|
|
Content="Set the operating system diagnostic data level to "Basic"" |
|
|
|
IsChecked="False" |
|
|
|
/> |
|
|
|
<TextBlock Margin="52 0 0 0" VerticalAlignment="Bottom" FontFamily="Sergio UI" FontSize="16"> |
|
|
|
<TextBlock.Style> |
|
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}"> |
|
|
|
<Setter Property="Text" Value="Off" /> |
|
|
|
<Style.Triggers> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry4, Path=IsChecked}" Value="True"> |
|
|
|
<Setter Property="Text" Value="On" /> |
|
|
|
</DataTrigger> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry4, Path=IsEnabled}" Value="false"> |
|
|
|
<Setter Property="Opacity" Value="0.2" /> |
|
|
|
</DataTrigger> |
|
|
|
</Style.Triggers> |
|
|
|
</Style> |
|
|
|
</TextBlock.Style> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
<Grid Margin="0 20 0 0" HorizontalAlignment="Left"> |
|
|
|
<ToggleButton x:Name="PrivacyAndTelemetry5" FontFamily="Sergio UI" FontSize="16" |
|
|
|
Style="{DynamicResource ToggleSwitchTopStyle}" |
|
|
|
Content="Turn off Windows Error Reporting" |
|
|
|
IsChecked="False" |
|
|
|
/> |
|
|
|
<TextBlock Margin="52 0 0 0" VerticalAlignment="Bottom" FontFamily="Sergio UI" FontSize="16"> |
|
|
|
<TextBlock.Style> |
|
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}"> |
|
|
|
<Setter Property="Text" Value="Off" /> |
|
|
|
<Style.Triggers> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry5, Path=IsChecked}" Value="True"> |
|
|
|
<Setter Property="Text" Value="On" /> |
|
|
|
</DataTrigger> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry5, Path=IsEnabled}" Value="false"> |
|
|
|
<Setter Property="Opacity" Value="0.2" /> |
|
|
|
</DataTrigger> |
|
|
|
</Style.Triggers> |
|
|
|
</Style> |
|
|
|
</TextBlock.Style> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
<Grid Margin="0 20 0 0" HorizontalAlignment="Left"> |
|
|
|
<ToggleButton x:Name="PrivacyAndTelemetry6" FontFamily="Sergio UI" FontSize="16" |
|
|
|
Style="{DynamicResource ToggleSwitchTopStyle}" |
|
|
|
Content="Change Windows Feedback frequency to "Never"" |
|
|
|
IsChecked="False" |
|
|
|
/> |
|
|
|
<TextBlock Margin="52 0 0 0" VerticalAlignment="Bottom" FontFamily="Sergio UI" FontSize="16"> |
|
|
|
<TextBlock.Style> |
|
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}"> |
|
|
|
<Setter Property="Text" Value="Off" /> |
|
|
|
<Style.Triggers> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry6, Path=IsChecked}" Value="True"> |
|
|
|
<Setter Property="Text" Value="On" /> |
|
|
|
</DataTrigger> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry6, Path=IsEnabled}" Value="false"> |
|
|
|
<Setter Property="Opacity" Value="0.2" /> |
|
|
|
</DataTrigger> |
|
|
|
</Style.Triggers> |
|
|
|
</Style> |
|
|
|
</TextBlock.Style> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
<Grid Margin="0 20 0 0" HorizontalAlignment="Left"> |
|
|
|
<ToggleButton x:Name="PrivacyAndTelemetry7" FontFamily="Sergio UI" FontSize="16" |
|
|
|
Style="{DynamicResource ToggleSwitchTopStyle}" |
|
|
|
Content="Turn off diagnostics tracking scheduled tasks" |
|
|
|
IsChecked="False" |
|
|
|
/> |
|
|
|
<TextBlock Margin="52 0 0 0" VerticalAlignment="Bottom" FontFamily="Sergio UI" FontSize="16"> |
|
|
|
<TextBlock.Style> |
|
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}"> |
|
|
|
<Setter Property="Text" Value="Off" /> |
|
|
|
<Style.Triggers> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry7, Path=IsChecked}" Value="True"> |
|
|
|
<Setter Property="Text" Value="On" /> |
|
|
|
</DataTrigger> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry7, Path=IsEnabled}" Value="false"> |
|
|
|
<Setter Property="Opacity" Value="0.2" /> |
|
|
|
</DataTrigger> |
|
|
|
</Style.Triggers> |
|
|
|
</Style> |
|
|
|
</TextBlock.Style> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
<Grid Margin="0 20 0 0" HorizontalAlignment="Left"> |
|
|
|
<ToggleButton x:Name="PrivacyAndTelemetry8" FontFamily="Sergio UI" FontSize="16" |
|
|
|
Style="{DynamicResource ToggleSwitchTopStyle}" |
|
|
|
Content="Do not offer tailored experiences based on the diagnostic data setting" |
|
|
|
IsChecked="False" |
|
|
|
/> |
|
|
|
<TextBlock Margin="52 0 0 0" VerticalAlignment="Bottom" FontFamily="Sergio UI" FontSize="16"> |
|
|
|
<TextBlock.Style> |
|
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}"> |
|
|
|
<Setter Property="Text" Value="Off" /> |
|
|
|
<Style.Triggers> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry8, Path=IsChecked}" Value="True"> |
|
|
|
<Setter Property="Text" Value="On" /> |
|
|
|
</DataTrigger> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry8, Path=IsEnabled}" Value="false"> |
|
|
|
<Setter Property="Opacity" Value="0.2" /> |
|
|
|
</DataTrigger> |
|
|
|
</Style.Triggers> |
|
|
|
</Style> |
|
|
|
</TextBlock.Style> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
<Grid Margin="0 20 0 0" HorizontalAlignment="Left"> |
|
|
|
<ToggleButton x:Name="PrivacyAndTelemetry9" FontFamily="Sergio UI" FontSize="16" |
|
|
|
Style="{DynamicResource ToggleSwitchTopStyle}" |
|
|
|
Content="Do not let apps on other devices open and message apps on this device" |
|
|
|
IsChecked="False" |
|
|
|
/> |
|
|
|
<TextBlock Margin="52 0 0 0" VerticalAlignment="Bottom" FontFamily="Sergio UI" FontSize="16"> |
|
|
|
<TextBlock.Style> |
|
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}"> |
|
|
|
<Setter Property="Text" Value="Off" /> |
|
|
|
<Style.Triggers> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry9, Path=IsChecked}" Value="True"> |
|
|
|
<Setter Property="Text" Value="On" /> |
|
|
|
</DataTrigger> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry9, Path=IsEnabled}" Value="false"> |
|
|
|
<Setter Property="Opacity" Value="0.2" /> |
|
|
|
</DataTrigger> |
|
|
|
</Style.Triggers> |
|
|
|
</Style> |
|
|
|
</TextBlock.Style> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
<Grid Margin="0 20 0 0" HorizontalAlignment="Left"> |
|
|
|
<ToggleButton x:Name="PrivacyAndTelemetry10" FontFamily="Sergio UI" FontSize="16" |
|
|
|
Style="{DynamicResource ToggleSwitchTopStyle}" |
|
|
|
Content="Do not allow apps to use advertising ID" |
|
|
|
IsChecked="False" |
|
|
|
/> |
|
|
|
<TextBlock Margin="52 0 0 0" VerticalAlignment="Bottom" FontFamily="Sergio UI" FontSize="16"> |
|
|
|
<TextBlock.Style> |
|
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}"> |
|
|
|
<Setter Property="Text" Value="Off" /> |
|
|
|
<Style.Triggers> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry10, Path=IsChecked}" Value="True"> |
|
|
|
<Setter Property="Text" Value="On" /> |
|
|
|
</DataTrigger> |
|
|
|
<DataTrigger Binding="{Binding ElementName=PrivacyAndTelemetry10, Path=IsEnabled}" Value="false"> |
|
|
|
<Setter Property="Opacity" Value="0.2" /> |
|
|
|
</DataTrigger> |
|
|
|
</Style.Triggers> |
|
|
|
</Style> |
|
|
|
</TextBlock.Style> |
|
|
|
</TextBlock> |
|
|
|
</Grid> |
|
|
|
--><!--#endregion--><!-- |
|
|
|
</StackPanel> |
|
|
|
--><!--#endregion--> |
|
|
|
</Grid> |
|
|
|
<!--#endregion Info Panel--> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
</Border> |
|
|
|
</Window> |
|
|
|