Ghost1372

everything can be handy

SettingsPageControl

1
public sealed partial class SettingsPageControl : UserControl

Attributes

Name
ModuleTitle
ModuleDescription
ModuleImageSource
PrimaryLinks
SecondaryLinksHeader
SecondaryLinks
ModuleContent

Example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<dev:SettingsPageControl ModuleDescription="Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Made with 💗 by Microsoft and the PowerToys community."
ModuleImageSource="ms-appx:///Assets/PT.png"
ModuleTitle="General"
SecondaryLinksHeader="Related information">
<dev:SettingsPageControl.ModuleContent>
<StackPanel Orientation="Vertical" ChildrenTransitions="{StaticResource SettingsCardsAnimations}">
<!-- Settings Here -->
</StackPanel>
</dev:SettingsPageControl.ModuleContent>

<dev:SettingsPageControl.PrimaryLinks>
<dev:PageLink Link="https://aka.ms/powertoys"
Text="Documentation" />
<dev:PageLink Link="https://aka.ms/powertoys"
Text="GitHub repository" />
<dev:PageLink Link="https://aka.ms/powerToysReportBug"
Text="Report a bug" />
<dev:PageLink Link="https://aka.ms/powerToysRequestFeature"
Text="Request a feature" />
</dev:SettingsPageControl.PrimaryLinks>

<dev:SettingsPageControl.SecondaryLinks>
<dev:PageLink Link="http://go.microsoft.com/fwlink/?LinkId=521839"
Text="Privacy statement" />
<dev:PageLink Link="https://github.com/microsoft/PowerToys/blob/master/NOTICE.md"
Text="Open-source notice" />
</dev:SettingsPageControl.SecondaryLinks>
</dev:SettingsPageControl>

Demo

you can run demo and see this feature.

DevWinUI

0%