mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-25 18:18:16 +08:00
0ee034a084
* Colorpicker keys * Key visuals added * Added highlighted text * Undo comment Co-authored-by: Niels Laute <niels9001@hotmail.com>
78 lines
3.2 KiB
XML
78 lines
3.2 KiB
XML
<Page
|
|
x:Class="Microsoft.PowerToys.Settings.UI.OOBE.Views.OobeRun"
|
|
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"
|
|
xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls"
|
|
mc:Ignorable="d"
|
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="280" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<Image Stretch="UniformToFill"
|
|
Source="{x:Bind ViewModel.PreviewImageSource}" />
|
|
|
|
<ScrollViewer Grid.Row="1"
|
|
VerticalScrollBarVisibility="Auto">
|
|
<StackPanel Orientation="Vertical"
|
|
Margin="{StaticResource OobePageContentMargin}"
|
|
VerticalAlignment="Top">
|
|
|
|
<TextBlock Text="{x:Bind ViewModel.ModuleName}"
|
|
Style="{StaticResource PageTitleStyle}" />
|
|
|
|
<TextBlock Margin="0,4,0,0"
|
|
TextWrapping="Wrap"
|
|
Text="{x:Bind ViewModel.Description}" />
|
|
|
|
<HyperlinkButton NavigateUri="{x:Bind ViewModel.Link}"
|
|
Margin="0,0,0,4">
|
|
<TextBlock>
|
|
<Run x:Uid="Oobe_LearnMore" />
|
|
<Run Text="{x:Bind ViewModel.ModuleName}" />
|
|
</TextBlock>
|
|
|
|
</HyperlinkButton>
|
|
|
|
<TextBlock x:Uid="Oobe_HowToLaunch"
|
|
Style="{StaticResource OobeSubtitleStyle}" />
|
|
|
|
<controls:ShortcutTextControl x:Uid="Oobe_Run_HowToLaunch" />
|
|
|
|
<TextBlock x:Uid="Oobe_TipsAndTricks"
|
|
Style="{StaticResource OobeSubtitleStyle}" />
|
|
|
|
<controls:ShortcutTextControl x:Uid="Oobe_Run_TipsAndTricks" />
|
|
|
|
<StackPanel Orientation="Horizontal"
|
|
Margin="0,32,0,0"
|
|
Spacing="4">
|
|
|
|
<Button Click="Start_Run_Click" Style="{StaticResource AccentButtonStyle}">
|
|
<TextBlock>
|
|
<Run x:Uid="Oobe_Launch" />
|
|
<Run Text="{x:Bind ViewModel.ModuleName}" />
|
|
</TextBlock>
|
|
</Button>
|
|
|
|
<Button Click="SettingsLaunchButton_Click">
|
|
<StackPanel Orientation="Horizontal"
|
|
Spacing="8">
|
|
<TextBlock Text=""
|
|
Margin="0,3,0,0"
|
|
FontFamily="Segoe MDL2 Assets" />
|
|
<TextBlock x:Uid="OOBE_Settings" />
|
|
</StackPanel>
|
|
</Button>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</ScrollViewer>
|
|
</Grid>
|
|
</Page>
|