Skip to content

Commit a04e190

Browse files
Qiutong ShenCopilot
andcommitted
Fix sample links to point to real WindowsAppSDK-Samples
- Replace non-existent zip download links with actual GitHub sample links - Link to specific files (GestureRecognizer.xaml.cs) not just repo root - Consolidate Related articles section with direct links to relevant code Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 3eed9b9 commit a04e190

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

hub/apps/develop/input/handle-pointer-input.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Here are some code snippets from a basic pointer tracking app that show how to l
5757

5858
![Pointer application UI](images/pointers/pointers1.gif)
5959

60-
**Download this sample from [Pointer input sample (basic)](https://github.com/MicrosoftDocs/windows-topic-specific-samples/archive/winui3-pointers.zip)**
60+
**See the complete sample: [Input sample (WinUI 3)](https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/Input/cs-winui)**
6161

6262
### Create the UI
6363

@@ -623,7 +623,7 @@ This particular app uses both color and animation to highlight the primary point
623623

624624
![Pointer application with animated visual feedback](images/pointers/pointers-usercontrol-animation.gif)
625625

626-
**Download this sample from [Pointer input sample (UserControl with animation)](https://github.com/MicrosoftDocs/windows-topic-specific-samples/archive/winui3-pointers-animation.zip)**
626+
**See [GestureRecognizer.xaml.cs](https://github.com/microsoft/WindowsAppSDK-Samples/blob/main/Samples/Input/cs-winui/GestureRecognizer.xaml.cs) for a complete example using pointer events with GestureRecognizer.**
627627

628628
### Visual feedback
629629

@@ -872,16 +872,12 @@ Here's the MainPage.xaml:
872872

873873
### Handle pointer events
874874

875-
Finally, we define our basic pointer event handlers in the MainPage.xaml.cs code-behind. We won't reproduce the code here as the basics were covered in the previous example, but you can download the working sample from [Pointer input sample (UserControl with animation)](https://github.com/MicrosoftDocs/windows-topic-specific-samples/archive/winui3-pointers-animation.zip).
875+
Finally, we define our basic pointer event handlers in the MainPage.xaml.cs code-behind. We won't reproduce the code here as the basics were covered in the previous example. See the [Input sample](https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/Input/cs-winui) for a complete working project.
876876

877877
## Related articles
878878

879-
### Topic samples
879+
### Samples
880880

881-
- [Pointer input sample (basic)](https://github.com/MicrosoftDocs/windows-topic-specific-samples/archive/winui3-pointers.zip)
882-
- [Pointer input sample (UserControl with animation)](https://github.com/MicrosoftDocs/windows-topic-specific-samples/archive/winui3-pointers-animation.zip)
883-
884-
### Windows App SDK samples
885-
886-
- [WindowsAppSDK-Samples](https://github.com/microsoft/WindowsAppSDK-Samples) — Official Windows App SDK samples
887-
- [WinUI Gallery](https://github.com/microsoft/WinUI-Gallery) — Showcases WinUI 3 controls and features
881+
- [Input sample (WinUI 3)](https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/Input/cs-winui) — Demonstrates pointer events, gesture recognition, and input cursors
882+
- [GestureRecognizer.xaml.cs](https://github.com/microsoft/WindowsAppSDK-Samples/blob/main/Samples/Input/cs-winui/GestureRecognizer.xaml.cs) — Pointer events with GestureRecognizer
883+
- [GestureRecognizerManipulation.xaml.cs](https://github.com/microsoft/WindowsAppSDK-Samples/blob/main/Samples/Input/cs-winui/GestureRecognizerManipulation.xaml.cs) — Manipulation (drag/scale/rotate) with pointer input

0 commit comments

Comments
 (0)