| 1 | <UserControl |
| 2 | x:Class="WslSettings.Controls.OOBEContent" |
| 3 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| 4 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
| 5 | |
| 6 | <Grid> |
| 7 | <Grid.RowDefinitions> |
| 8 | <RowDefinition Height="Auto" /> |
| 9 | <RowDefinition Height="*" /> |
| 10 | </Grid.RowDefinitions> |
| 11 | |
| 12 | <Image |
| 13 | x:Name="HeaderImage" |
| 14 | Height="{x:Bind HeroImageHeight}" |
| 15 | HorizontalAlignment="Center" |
| 16 | VerticalAlignment="Center" |
| 17 | Source="{x:Bind HeroImage}" |
| 18 | Stretch="UniformToFill" /> |
| 19 | |
| 20 | <ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto"> |
| 21 | <StackPanel |
| 22 | Margin="{StaticResource ContentPageMargin}" |
| 23 | VerticalAlignment="Top" |
| 24 | Orientation="Vertical" |
| 25 | Spacing="12"> |
| 26 | |
| 27 | <TextBlock |
| 28 | x:Name="TitleTxt" |
| 29 | AutomationProperties.HeadingLevel="Level1" |
| 30 | Style="{ThemeResource TitleTextBlockStyle}" |
| 31 | Text="{x:Bind Title}" /> |
| 32 | |
| 33 | <TextBlock |
| 34 | x:Name="DescriptionTxt" |
| 35 | Foreground="{ThemeResource TextFillColorSecondaryBrush}" |
| 36 | Text="{x:Bind Description}" |
| 37 | TextWrapping="Wrap" /> |
| 38 | |
| 39 | <ContentPresenter |
| 40 | x:Name="ModuleContentPresenter" |
| 41 | Margin="0,8" |
| 42 | HorizontalAlignment="Stretch" |
| 43 | HorizontalContentAlignment="Stretch" |
| 44 | Content="{x:Bind PageContent}" /> |
| 45 | </StackPanel> |
| 46 | </ScrollViewer> |
| 47 | </Grid> |
| 48 | </UserControl> |