2022-10-13 19:05:43 +08:00
|
|
|
<Page
|
|
|
|
x:Class="Microsoft.PowerToys.Settings.UI.OOBE.Views.OobeHosts"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:local="using:Microsoft.PowerToys.Settings.UI.OOBE.Views"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
mc:Ignorable="d"
|
|
|
|
xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls"
|
|
|
|
xmlns:toolkitcontrols="using:CommunityToolkit.WinUI.UI.Controls">
|
|
|
|
|
|
|
|
<controls:OOBEPageControl x:Uid="Oobe_Hosts"
|
2022-10-28 00:21:25 +08:00
|
|
|
HeroImage="ms-appx:///Assets/Modules/OOBE/HostsFileEditor.png">
|
2022-10-13 19:05:43 +08:00
|
|
|
<controls:OOBEPageControl.PageContent>
|
|
|
|
<StackPanel Orientation="Vertical">
|
|
|
|
<StackPanel Orientation="Horizontal" Spacing="12" Margin="0,24,0,0">
|
|
|
|
<Button x:Uid="Launch_Hosts" Style="{StaticResource AccentButtonStyle}" Click="Launch_Hosts_Click" />
|
|
|
|
<Button x:Uid="OOBE_Settings"
|
|
|
|
Click="Launch_Settings_Click" />
|
|
|
|
<HyperlinkButton NavigateUri="https://aka.ms/PowerToysOverview_HostsFileEditor" Style="{StaticResource TextButtonStyle}">
|
|
|
|
<TextBlock x:Uid="LearnMore_Hosts"
|
|
|
|
TextWrapping="Wrap" />
|
|
|
|
</HyperlinkButton>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
</controls:OOBEPageControl.PageContent>
|
|
|
|
</controls:OOBEPageControl>
|
|
|
|
</Page>
|