mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
* Unify exe/dll naming - PowerToys.Runner Align naming with other exes - PowerToys Runner -> PowerToys.Runner * Unify exe/dll naming - Microsoft.PowerToys.Common.UI Project name - Microsoft.PowerToys.Common.UI -> Common.UI dll name - Microsoft.PowerToys.Common.UI.dll -> PowerToys.Common.UI.dll * Unify exe/dll naming - Settings Project names - Microsoft.PowerToys.Settings* -> Settings* Dll names - Microsoft.PowerToys.Settings*.dll -> PowerToys.Settings*.dll * Revert file autoformat * [Docs] Update paths to settings projects/files * Fix tests - Update path
49 lines
1.9 KiB
XML
49 lines
1.9 KiB
XML
<UserControl
|
|
x:Class="Microsoft.PowerToys.Settings.UI.Controls.OOBEPageControl"
|
|
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.Controls"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
mc:Ignorable="d"
|
|
|
|
d:DesignHeight="300"
|
|
d:DesignWidth="400">
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="280" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<Image x:Name="HeaderImage"
|
|
Source="{x:Bind ModuleImageSource}"
|
|
Stretch="UniformToFill" />
|
|
|
|
<ScrollViewer Grid.Row="1"
|
|
VerticalScrollBarVisibility="Auto"
|
|
Padding="32,24,32,24">
|
|
<StackPanel Orientation="Vertical"
|
|
VerticalAlignment="Top">
|
|
|
|
<TextBlock x:Name="TitleTxt"
|
|
Text="{x:Bind ModuleTitle}"
|
|
AutomationProperties.HeadingLevel="Level1"
|
|
Style="{StaticResource TitleTextBlockStyle}" />
|
|
|
|
<TextBlock x:Name="DescriptionTxt"
|
|
Margin="0,8,0,0"
|
|
Text="{x:Bind ModuleDescription}"
|
|
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
|
|
TextWrapping="Wrap" />
|
|
|
|
<ContentPresenter x:Name="ModuleContentPresenter"
|
|
Content="{x:Bind ModuleContent}"
|
|
HorizontalAlignment="Stretch"
|
|
HorizontalContentAlignment="Stretch"
|
|
Margin="0,12,0,0"/>
|
|
</StackPanel>
|
|
</ScrollViewer>
|
|
</Grid>
|
|
</UserControl>
|