Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update links to learn.ms.com #1248

Merged
merged 1 commit into from
Apr 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions WinUIGallery/Common/DeviceFamilyTrigger.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Windows.System.Profile;
using Windows.System.Profile;
using Microsoft.UI.Xaml;

namespace AppUIBasics
{
// https://docs.microsoft.com/windows/apps/design/devices/designing-for-tv#custom-visual-state-trigger-for-xbox
// https://learn.microsoft.com/windows/apps/design/devices/designing-for-tv#custom-visual-state-trigger-for-xbox
class DeviceFamilyTrigger : StateTriggerBase
{
private string _actualDeviceFamily;
Expand All @@ -20,4 +20,4 @@ public string DeviceFamily
}
}
}
}
}
2 changes: 1 addition & 1 deletion WinUIGallery/ControlPages/AcrylicPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<Paragraph>
Acrylic Brush might fall back to SolidColorbrush in certain scenarios.
If you can't see the Acrylic effect, please refer to
<Hyperlink NavigateUri="https://docs.microsoft.com/windows/apps/design/style/acrylic#usability-and-adaptability">Acrylic brush adaptability documentation</Hyperlink>.
<Hyperlink NavigateUri="https://learn.microsoft.com/windows/apps/design/style/acrylic#usability-and-adaptability">Acrylic brush adaptability documentation</Hyperlink>.
</Paragraph>
</RichTextBlock>
<local:ControlExample x:Name="Example1" HeaderText="Default in-app acrylic brush.">
Expand Down
2 changes: 1 addition & 1 deletion WinUIGallery/ControlPages/AnimatedVisualPlayerPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
Lottie-Windows
</Hyperlink>.
Since the
<Hyperlink NavigateUri="https://docs.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.composition.compositionshape">
<Hyperlink NavigateUri="https://learn.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.composition.compositionshape">
CompositionShapes
</Hyperlink> used here are supported on Windows 10 version 17763+,
the AnimatedVisualPlayer falls back to an Image when its Source is unavailable.
Expand Down
4 changes: 2 additions & 2 deletions WinUIGallery/ControlPages/PersonPicturePage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<local:ControlExample.Example>
<PersonPicture x:Name="personPicture" Height="300"
VerticalAlignment="Top"
ProfilePicture="{Binding IsChecked, ElementName=ProfileImageRadio, Converter={StaticResource booleanToValueConverter}, ConverterParameter='https://docs.microsoft.com/windows/uwp/contacts-and-calendar/images/shoulder-tap-static-payload.png'}"
ProfilePicture="{Binding IsChecked, ElementName=ProfileImageRadio, Converter={StaticResource booleanToValueConverter}, ConverterParameter='https://learn.microsoft.com/windows/uwp/contacts-and-calendar/images/shoulder-tap-static-payload.png'}"
DisplayName="{x:Bind DisplayNameRadio.IsChecked, Mode=OneWay, Converter={StaticResource booleanToValueConverter}, ConverterParameter='Jane Doe'}"
Initials="{x:Bind InitialsRadio.IsChecked, Mode=OneWay, Converter={StaticResource booleanToValueConverter}, ConverterParameter='SB'}" />
</local:ControlExample.Example>
Expand All @@ -31,7 +31,7 @@
</x:String>
</local:ControlExample.Xaml>
<local:ControlExample.Substitutions>
<local:ControlExampleSubstitution Key="ProfilePicture" IsEnabled="{x:Bind ProfileImageRadio.IsChecked.Value, Mode=OneWay}" Value="ProfilePicture=&quot;https://docs.microsoft.com/windows/uwp/contacts-and-calendar/images/shoulder-tap-static-payload.png&quot;" />
<local:ControlExampleSubstitution Key="ProfilePicture" IsEnabled="{x:Bind ProfileImageRadio.IsChecked.Value, Mode=OneWay}" Value="ProfilePicture=&quot;https://learn.microsoft.com/windows/uwp/contacts-and-calendar/images/shoulder-tap-static-payload.png&quot;" />
<local:ControlExampleSubstitution Key="DisplayName" IsEnabled="{x:Bind DisplayNameRadio.IsChecked.Value, Mode=OneWay}" Value="DisplayName=&quot;Jane Doe&quot;" />
<local:ControlExampleSubstitution Key="Initials" IsEnabled="{x:Bind InitialsRadio.IsChecked.Value, Mode=OneWay}" Value="Initials=&quot;SB&quot;" />
</local:ControlExample.Substitutions>
Expand Down
4 changes: 2 additions & 2 deletions WinUIGallery/ControlPages/RichTextBlockPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<Paragraph>RichTextBlock provides a rich text display container that supports
<Run FontStyle="Italic" FontWeight="Bold">formatted text</Run> ,
<Hyperlink
NavigateUri="https://docs.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.Documents.Hyperlink">hyperlinks</Hyperlink> , inline images, and other rich content.
NavigateUri="https://learn.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.Documents.Hyperlink">hyperlinks</Hyperlink> , inline images, and other rich content.
</Paragraph>
<Paragraph>RichTextBlock also supports a built-in overflow model.</Paragraph>
</RichTextBlock>
Expand All @@ -45,7 +45,7 @@
&lt;RichTextBlock SelectionHighlightColor="Green"&gt;
&lt;Paragraph&gt;RichTextBlock provides a rich text display container that supports
&lt;Run FontStyle="Italic" FontWeight="Bold"&gt;formatted text&lt;/Run&gt;,
&lt;Hyperlink NavigateUri="https://docs.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.Documents.Hyperlink"&gt;hyperlinks&lt;/Hyperlink&gt;, inline images, and other rich content.&lt;/Paragraph&gt;
&lt;Hyperlink NavigateUri="https://learn.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.Documents.Hyperlink"&gt;hyperlinks&lt;/Hyperlink&gt;, inline images, and other rich content.&lt;/Paragraph&gt;
&lt;Paragraph&gt;RichTextBlock also supports a built-in overflow model.&lt;/Paragraph&gt;
&lt;/RichTextBlock&gt;
</x:String>
Expand Down
2 changes: 1 addition & 1 deletion WinUIGallery/Controls/ControlExample.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
IsTextSelectionEnabled="True"
Visibility="Collapsed">
<Paragraph>
This sample requires a later version of Windows to be fully functional. Learn more about version adaptive apps:<Hyperlink NavigateUri="https://docs.microsoft.com/windows/uwp/debug-test-perf/version-adaptive-apps">https://docs.microsoft.com/windows/uwp/debug-test-perf/version-adaptive-apps</Hyperlink>
This sample requires a later version of Windows to be fully functional. Learn more about version adaptive apps:<Hyperlink NavigateUri="https://learn.microsoft.com/windows/uwp/debug-test-perf/version-adaptive-apps">https://learn.microsoft.com/windows/uwp/debug-test-perf/version-adaptive-apps</Hyperlink>
</Paragraph>
</RichTextBlock>

Expand Down
6 changes: 3 additions & 3 deletions WinUIGallery/Controls/TileGallery.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,15 @@
<local:HeaderTile
Title="Getting started"
Description="An overview of app development options, tools, and samples."
Link="https://docs.microsoft.com/windows/apps/get-started/">
Link="https://learn.microsoft.com/windows/apps/get-started/">
<local:HeaderTile.Source>
<Image Source="/Assets/HomeHeaderTiles/Header-WinUIGallery.png" />
</local:HeaderTile.Source>
</local:HeaderTile>
<local:HeaderTile
Title="Windows design"
Description="Design guidelines and toolkits for creating native app experiences."
Link="https://docs.microsoft.com/windows/apps/design/">
Link="https://learn.microsoft.com/windows/apps/design/">
<local:HeaderTile.Source>
<Image Source="/Assets/HomeHeaderTiles/Header-WindowsDesign.png" />
</local:HeaderTile.Source>
Expand Down Expand Up @@ -188,7 +188,7 @@
<local:HeaderTile
Title="Code samples"
Description="Find samples that demonstrate specific tasks, features, and APIs."
Link="https://docs.microsoft.com/windows/apps/get-started/samples">
Link="https://learn.microsoft.com/windows/apps/get-started/samples">
<local:HeaderTile.Source>
<FontIcon
Margin="0,8,0,0"
Expand Down
Loading