mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-11 05:52:19 +02:00
Remove ModuleImageLink (#12873)
Co-authored-by: Niels Laute <niels9001@hotmail.com>
This commit is contained in:
@@ -36,12 +36,6 @@ namespace Microsoft.PowerToys.Settings.UI.Controls
|
|||||||
set => SetValue(ModuleImageSourceProperty, value);
|
set => SetValue(ModuleImageSourceProperty, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Uri ModuleImageLink
|
|
||||||
{
|
|
||||||
get => (Uri)GetValue(ModuleImageLinkProperty);
|
|
||||||
set => SetValue(ModuleImageLinkProperty, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
#pragma warning disable CA2227 // Collection properties should be read only
|
#pragma warning disable CA2227 // Collection properties should be read only
|
||||||
public ObservableCollection<PageLink> PrimaryLinks
|
public ObservableCollection<PageLink> PrimaryLinks
|
||||||
#pragma warning restore CA2227 // Collection properties should be read only
|
#pragma warning restore CA2227 // Collection properties should be read only
|
||||||
@@ -73,7 +67,6 @@ namespace Microsoft.PowerToys.Settings.UI.Controls
|
|||||||
public static readonly DependencyProperty ModuleTitleProperty = DependencyProperty.Register("ModuleTitle", typeof(string), typeof(SettingsPageControl), new PropertyMetadata(default(string)));
|
public static readonly DependencyProperty ModuleTitleProperty = DependencyProperty.Register("ModuleTitle", typeof(string), typeof(SettingsPageControl), new PropertyMetadata(default(string)));
|
||||||
public static readonly DependencyProperty ModuleDescriptionProperty = DependencyProperty.Register("ModuleDescription", typeof(string), typeof(SettingsPageControl), new PropertyMetadata(default(string)));
|
public static readonly DependencyProperty ModuleDescriptionProperty = DependencyProperty.Register("ModuleDescription", typeof(string), typeof(SettingsPageControl), new PropertyMetadata(default(string)));
|
||||||
public static readonly DependencyProperty ModuleImageSourceProperty = DependencyProperty.Register("ModuleImageSource", typeof(string), typeof(SettingsPageControl), new PropertyMetadata(default(string)));
|
public static readonly DependencyProperty ModuleImageSourceProperty = DependencyProperty.Register("ModuleImageSource", typeof(string), typeof(SettingsPageControl), new PropertyMetadata(default(string)));
|
||||||
public static readonly DependencyProperty ModuleImageLinkProperty = DependencyProperty.Register("ModuleImageLink", typeof(string), typeof(SettingsPageControl), new PropertyMetadata(default(string)));
|
|
||||||
public static readonly DependencyProperty PrimaryLinksProperty = DependencyProperty.Register("PrimaryLinks", typeof(ObservableCollection<PageLink>), typeof(SettingsPageControl), new PropertyMetadata(new ObservableCollection<PageLink>()));
|
public static readonly DependencyProperty PrimaryLinksProperty = DependencyProperty.Register("PrimaryLinks", typeof(ObservableCollection<PageLink>), typeof(SettingsPageControl), new PropertyMetadata(new ObservableCollection<PageLink>()));
|
||||||
public static readonly DependencyProperty SecondaryLinksHeaderProperty = DependencyProperty.Register("SecondaryLinksHeader", typeof(string), typeof(SettingsPageControl), new PropertyMetadata(default(string)));
|
public static readonly DependencyProperty SecondaryLinksHeaderProperty = DependencyProperty.Register("SecondaryLinksHeader", typeof(string), typeof(SettingsPageControl), new PropertyMetadata(default(string)));
|
||||||
public static readonly DependencyProperty SecondaryLinksProperty = DependencyProperty.Register("SecondaryLinks", typeof(ObservableCollection<PageLink>), typeof(SettingsPageControl), new PropertyMetadata(new ObservableCollection<PageLink>()));
|
public static readonly DependencyProperty SecondaryLinksProperty = DependencyProperty.Register("SecondaryLinks", typeof(ObservableCollection<PageLink>), typeof(SettingsPageControl), new PropertyMetadata(new ObservableCollection<PageLink>()));
|
||||||
|
|||||||
@@ -15,8 +15,7 @@
|
|||||||
</Page.Resources>
|
</Page.Resources>
|
||||||
|
|
||||||
<controls:SettingsPageControl x:Uid="Awake" IsTabStop="False"
|
<controls:SettingsPageControl x:Uid="Awake" IsTabStop="False"
|
||||||
ModuleImageSource="ms-appx:///Assets/Modules/Awake.png"
|
ModuleImageSource="ms-appx:///Assets/Modules/Awake.png">
|
||||||
ModuleImageLink="https://aka.ms/PowerToysOverview_Awake">
|
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel Orientation="Vertical">
|
<StackPanel Orientation="Vertical">
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,7 @@
|
|||||||
AutomationProperties.LandmarkType="Main">
|
AutomationProperties.LandmarkType="Main">
|
||||||
|
|
||||||
<controls:SettingsPageControl x:Uid="ColorPicker"
|
<controls:SettingsPageControl x:Uid="ColorPicker"
|
||||||
ModuleImageSource="ms-appx:///Assets/Modules/ColorPicker.png"
|
ModuleImageSource="ms-appx:///Assets/Modules/ColorPicker.png">
|
||||||
ModuleImageLink="https://aka.ms/PowerToysOverview_ColorPicker">
|
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
|
|
||||||
<StackPanel Orientation="Vertical"
|
<StackPanel Orientation="Vertical"
|
||||||
|
|||||||
@@ -15,8 +15,7 @@
|
|||||||
</Page.Resources>
|
</Page.Resources>
|
||||||
|
|
||||||
<controls:SettingsPageControl x:Uid="FancyZones"
|
<controls:SettingsPageControl x:Uid="FancyZones"
|
||||||
ModuleImageSource="ms-appx:///Assets/Modules/FancyZones.png"
|
ModuleImageSource="ms-appx:///Assets/Modules/FancyZones.png">
|
||||||
ModuleImageLink="https://aka.ms/PowerToysOverview_FancyZones">
|
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel Orientation="Vertical">
|
<StackPanel Orientation="Vertical">
|
||||||
|
|
||||||
|
|||||||
@@ -18,8 +18,7 @@
|
|||||||
</Page.Resources>
|
</Page.Resources>
|
||||||
|
|
||||||
<controls:SettingsPageControl x:Uid="General"
|
<controls:SettingsPageControl x:Uid="General"
|
||||||
ModuleImageSource="ms-appx:///Assets/Modules/PT.png"
|
ModuleImageSource="ms-appx:///Assets/Modules/PT.png">
|
||||||
ModuleImageLink="https://aka.ms/powertoys">
|
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel Orientation="Vertical">
|
<StackPanel Orientation="Vertical">
|
||||||
<controls:SettingsGroup x:Uid="General_Version" Margin="0,-32,0,0">
|
<controls:SettingsGroup x:Uid="General_Version" Margin="0,-32,0,0">
|
||||||
|
|||||||
@@ -18,8 +18,7 @@
|
|||||||
</Page.Resources>
|
</Page.Resources>
|
||||||
<controls:SettingsPageControl x:Uid="ImageResizer"
|
<controls:SettingsPageControl x:Uid="ImageResizer"
|
||||||
|
|
||||||
ModuleImageSource="ms-appx:///Assets/Modules/ImageResizer.png"
|
ModuleImageSource="ms-appx:///Assets/Modules/ImageResizer.png">
|
||||||
ModuleImageLink="https://aka.ms/PowerToysOverview_ImageResizer">
|
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
|
|
||||||
|
|||||||
@@ -71,8 +71,7 @@
|
|||||||
</Page.Resources>
|
</Page.Resources>
|
||||||
|
|
||||||
<controls:SettingsPageControl x:Uid="KeyboardManager"
|
<controls:SettingsPageControl x:Uid="KeyboardManager"
|
||||||
ModuleImageSource="ms-appx:///Assets/Modules/KBM.png"
|
ModuleImageSource="ms-appx:///Assets/Modules/KBM.png">
|
||||||
ModuleImageLink="https://aka.ms/PowerToysOverview_KeyboardManager">
|
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel Orientation="Vertical">
|
<StackPanel Orientation="Vertical">
|
||||||
|
|
||||||
|
|||||||
@@ -19,8 +19,7 @@
|
|||||||
</Page.Resources>
|
</Page.Resources>
|
||||||
|
|
||||||
<controls:SettingsPageControl x:Uid="PowerLauncher"
|
<controls:SettingsPageControl x:Uid="PowerLauncher"
|
||||||
ModuleImageSource="ms-appx:///Assets/Modules/PowerLauncher.png"
|
ModuleImageSource="ms-appx:///Assets/Modules/PowerLauncher.png">
|
||||||
ModuleImageLink="https://aka.ms/PowerToysOverview_PowerToysRun">
|
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
|
|
||||||
<StackPanel Orientation="Vertical">
|
<StackPanel Orientation="Vertical">
|
||||||
|
|||||||
@@ -15,8 +15,7 @@
|
|||||||
</Page.Resources>
|
</Page.Resources>
|
||||||
|
|
||||||
<controls:SettingsPageControl x:Uid="FileExplorerPreview"
|
<controls:SettingsPageControl x:Uid="FileExplorerPreview"
|
||||||
ModuleImageSource="ms-appx:///Assets/Modules/PowerPreview.png"
|
ModuleImageSource="ms-appx:///Assets/Modules/PowerPreview.png">
|
||||||
ModuleImageLink="https://aka.ms/PowerToysOverview_FileExplorerAddOns">
|
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,7 @@
|
|||||||
AutomationProperties.LandmarkType="Main">
|
AutomationProperties.LandmarkType="Main">
|
||||||
|
|
||||||
<controls:SettingsPageControl x:Uid="PowerRename"
|
<controls:SettingsPageControl x:Uid="PowerRename"
|
||||||
ModuleImageSource="ms-appx:///Assets/Modules/PowerRename.png"
|
ModuleImageSource="ms-appx:///Assets/Modules/PowerRename.png">
|
||||||
ModuleImageLink="https://aka.ms/PowerToysOverview_PowerRename">
|
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel Orientation="Vertical"
|
<StackPanel Orientation="Vertical"
|
||||||
x:Name="PowerRenameView"
|
x:Name="PowerRenameView"
|
||||||
|
|||||||
@@ -15,8 +15,7 @@
|
|||||||
</Page.Resources>
|
</Page.Resources>
|
||||||
|
|
||||||
<controls:SettingsPageControl x:Uid="ShortcutGuide"
|
<controls:SettingsPageControl x:Uid="ShortcutGuide"
|
||||||
ModuleImageSource="ms-appx:///Assets/Modules/ShortcutGuide.png"
|
ModuleImageSource="ms-appx:///Assets/Modules/ShortcutGuide.png">
|
||||||
ModuleImageLink="https://aka.ms/PowerToysOverview_ShortcutGuide">
|
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel Orientation="Vertical">
|
<StackPanel Orientation="Vertical">
|
||||||
<controls:Setting x:Uid="ShortcutGuide_Enable">
|
<controls:Setting x:Uid="ShortcutGuide_Enable">
|
||||||
|
|||||||
@@ -8,8 +8,7 @@
|
|||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
|
|
||||||
<controls:SettingsPageControl x:Uid="VideoConference"
|
<controls:SettingsPageControl x:Uid="VideoConference"
|
||||||
ModuleImageSource="ms-appx:///Assets/Modules/VideoConference.png"
|
ModuleImageSource="ms-appx:///Assets/Modules/VideoConference.png">
|
||||||
ModuleImageLink="https://aka.ms/PowerToysOverview_VideoConference">
|
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
|
|
||||||
<StackPanel Orientation="Vertical">
|
<StackPanel Orientation="Vertical">
|
||||||
|
|||||||
Reference in New Issue
Block a user