Ghost1372

everything can be handy

OOBEPageControl

1
public sealed partial class OOBEPageControl : UserControl

Attributes

Name
Title
Description
HeroImage
PageContent
HeroImageHeight

Example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<dev:OOBEPageControl Title="FileExplorer Preview"
HeroImage="ms-appx:///Assets/Modules/OOBE/FileExplorer.png"
Description="These settings allow you to manage your Windows File Explorer custom preview handlers.">
<dev:OOBEPageControl.PageContent>
<StackPanel Orientation="Vertical" ChildrenTransitions="{StaticResource SettingsCardsAnimations}">
<TextBlock Text="How to enable"
Style="{ThemeResource OobeSubtitleStyle}" />
<StackPanel Orientation="Horizontal" Spacing="12" Margin="0,24,0,0">
<Button Content="Open Settings"/>
<HyperlinkButton Style="{StaticResource TextButtonStyle}">
<TextBlock Text="Learn more about File Explorer add-ons" TextWrapping="Wrap" />
</HyperlinkButton>
</StackPanel>
</StackPanel>
</dev:OOBEPageControl.PageContent>
</dev:OOBEPageControl>

Demo

you can run demo and see this feature.

DevWinUI

0%