Skip to content

Rewrite/handle pointer input winui3#5907

Open
qiutongMS wants to merge 3 commits intoMicrosoftDocs:docsfrom
qiutongMS:rewrite/handle-pointer-input-winui3
Open

Rewrite/handle pointer input winui3#5907
qiutongMS wants to merge 3 commits intoMicrosoftDocs:docsfrom
qiutongMS:rewrite/handle-pointer-input-winui3

Conversation

@qiutongMS
Copy link
Copy Markdown

Summary

Rewrites the "Handle pointer input" documentation page for WinUI 3 / Windows App SDK.

Changes

API References

  • Updated all API links from /uwp/api/Windows.UI.Xaml.* to /windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.*
  • Updated Important APIs section to reference Microsoft.UI.Input and Microsoft.UI.Xaml.Input

Code Samples

  • Changed all namespaces from Windows.UI.Xaml to Microsoft.UI.Xaml
  • Changed Windows.UI.Input to Microsoft.UI.Input
  • Changed Windows.UI.Colors to Microsoft.UI.Colors
  • Changed Windows.Devices.Input.PointerDeviceType to Microsoft.UI.Input.PointerDeviceType
  • Updated ptrPt.PointerDevice.PointerDeviceType to ptrPt.PointerDeviceType (WinUI 3 API change)

Sample Links

Cleanup

  • Removed outdated archive sample links
  • Consolidated Related articles section

Validation

  • All WinUI 3 APIs verified to exist using WinMD metadata
  • All new sample links verified to be accessible
  • No remaining /uwp/api/ links for XAML types

Qiutong Shen (from Dev Box) and others added 3 commits April 22, 2026 16:18
- Update all API references from Windows.UI.Xaml to Microsoft.UI.Xaml
- Update all API links from /uwp/api/ to /windows/windows-app-sdk/api/winrt/
- Replace Windows.UI.Input with Microsoft.UI.Input
- Replace Windows.UI.Colors with Microsoft.UI.Colors
- Update PointerDeviceType from Windows.Devices.Input to Microsoft.UI.Input
- Update code samples to use WinUI 3 namespaces
- Update sample download links for WinUI 3 versions
- Replace archived UWP samples with WindowsAppSDK-Samples links
- Update document date to reflect changes

Co-authored-by: Copilot <[email protected]>
- 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 <[email protected]>
@prmerger-automator
Copy link
Copy Markdown
Contributor

@qiutongMS : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit a04e190:

💡 Validation status: suggestions

File Status Preview URL Details
hub/apps/develop/input/handle-pointer-input.md 💡Suggestion Details
hub/apps/design/layout/attached-layouts.md ✅Succeeded
hub/apps/develop/dispatcherqueue.md ✅Succeeded
hub/apps/develop/input/focus-navigation-programmatic.md ✅Succeeded
hub/apps/develop/launch/launch-the-default-app-for-a-file.md ✅Succeeded
hub/apps/develop/motion/motion-in-practice.md ✅Succeeded
hub/apps/develop/motion/parallax.md ✅Succeeded
hub/apps/develop/notifications/app-notifications/app-notifications-content.md ✅Succeeded
hub/apps/develop/notifications/choosing-a-notification-delivery-method.md ✅Succeeded
hub/apps/develop/notifications/push-notifications/push-quickstart.md ✅Succeeded
hub/apps/develop/platform/xaml/themeresource-markup-extension.md ✅Succeeded
hub/apps/develop/security/third-party.md ✅Succeeded
hub/apps/develop/testing/index.md ✅Succeeded
hub/apps/develop/ui/controls/animated-icon.md ✅Succeeded
hub/apps/develop/ui/controls/media-playback.md ✅Succeeded
hub/apps/develop/ui/controls/password-box.md ✅Succeeded
hub/apps/develop/ui/controls/scroll-controls.md ✅Succeeded
hub/apps/develop/win2d/premultiplied-alpha.md ✅Succeeded
hub/apps/develop/windows-integration/cross-device-resume.md ✅Succeeded
hub/apps/develop/windows-integration/pin-to-taskbar.md ✅Succeeded
hub/apps/develop/windows-integration/studio-effects.md ✅Succeeded

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

  • Line 43, Column 2: [Suggestion: column-header-missing - See documentation] Column headers are required for tables. Add appropriate header text, or remove any extra table cells that cause an extra column.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@prmerger-automator
Copy link
Copy Markdown
Contributor

PRMerger Results

Issue Description
Changed Files This PR contains more than 10 changed files.
Index File This PR contains a change to the index file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants