Skip to content

Conversation

tmpreston
Copy link
Contributor

Summary

Describe your changes here.

Fixes #Issue_Number (if available)

@rpetrusha rpetrusha added the ✨ 1st-time dotnet-api-docs contributor! Indicates PRs from new contributors to the dotnet-api-docs repository label Aug 16, 2019
@rpetrusha rpetrusha added this to the August 2019 milestone Aug 16, 2019
Copy link

@rpetrusha rpetrusha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @tmpreston, for contributing to the dotnet/dotnet-api-docs repo and attempting to clarify the default value of the PasswordChar property. I'm not convinced, though, that escaping 0 accomplishes that. I suggested instead that the documentation instead mention the C# '0' syntax and the Unicode U+0000.

@@ -858,7 +858,7 @@
</ReturnValue>
<Docs>
<summary>Gets or sets the character used to mask characters of a password in a single-line <see cref="T:System.Windows.Forms.TextBox" /> control.</summary>
<value>The character used to mask characters entered in a single-line <see cref="T:System.Windows.Forms.TextBox" /> control. Set the value of this property to 0 (character value) if you do not want the control to mask characters as they are typed. Equals 0 (character value) by default.</value>
<value>The character used to mask characters entered in a single-line <see cref="T:System.Windows.Forms.TextBox" /> control. Set the value of this property to \0 (character value) if you do not want the control to mask characters as they are typed. Equals \0 (character value) by default.</value>
Copy link

@rpetrusha rpetrusha Aug 16, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<value>The character used to mask characters entered in a single-line <see cref="T:System.Windows.Forms.TextBox" /> control. Set the value of this property to \0 (character value) if you do not want the control to mask characters as they are typed. Equals \0 (character value) by default.</value>
<value>The character used to mask characters entered in a single-line <see cref="T:System.Windows.Forms.TextBox" /> control. Set the value of this property to '0' (U+0000) if you do not want the control to mask characters as they are typed. The default value is '0' (U+0000).</value>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ 1st-time dotnet-api-docs contributor! Indicates PRs from new contributors to the dotnet-api-docs repository
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants