dotnet / docs-desktop

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

Invalid property in WPF Names tutorial #1891

Closed madzdog closed 1 month ago

madzdog commented 1 month ago

Type of issue

Typo

Description

1stNames is not a valid value for the property x:Name. It must start with a character.

Page URL

https://learn.microsoft.com/en-us/dotnet/desktop/wpf/get-started/create-app-visual-studio?view=netdesktop-7.0

Content source URL

https://github.com/dotnet/docs-desktop/blob/main/dotnet-desktop-guide/net/wpf/get-started/create-app-visual-studio.md

Document Version Independent Id

cce4458e-b162-09f3-48ea-b4481aa4c183

Article author

@adegeo

madzdog commented 1 month ago

1stNames is not a valid value for the property x:Name. It must start with a character.

adegeo commented 1 month ago

Hi @madzdog I noticed our automation automatically closed this because you didn't put the details in the initial comment. I edited the comment and added what you said.

adegeo commented 1 month ago

Looking at this, the name is actually LSTNAMES not 1STNAMES that's an L not a 1. I do admit, the font on my machine does make it look like a 1 lol. I'm going to close this issue. Thanks for reporting it!