dotnet / docs-desktop

This repository contains .NET documentation related to Windows Forms (winforms) and Windows Presentation Foundation (WPF).
Creative Commons Attribution 4.0 International
195 stars 177 forks source link

WPF example of how to detect the Enter key is showing Return #1861

Closed adegeo closed 3 months ago

adegeo commented 4 months ago

Type of issue

Code doesn't work

Description

From user feedback:

Last example does not work for the Enter key but the Return key which is different. Please change the . Return to . Enter

Page URL

https://learn.microsoft.com/en-us/dotnet/desktop/wpf/advanced/how-to-detect-when-the-enter-key-pressed?view=netframeworkdesktop-4.8

Content source URL

https://github.com/dotnet/docs-desktop/blob/main/dotnet-desktop-guide/framework/wpf/advanced/how-to-detect-when-the-enter-key-pressed.md

Document Version Independent Id

d3af27dd-06c3-f4fe-ebe4-580ec0f08be7

Article author

@adegeo


Associated WorkItem - 265720