Skip to content

Commit 8ab2989

Browse files
authored
Update Control.xml (#10595)
1 parent 3ff77d3 commit 8ab2989

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

xml/System.Windows.Forms/Control.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9202,17 +9202,15 @@ MyControl.Font = New Font(MyControl.Font, _
92029202
<ReturnType>System.Windows.Forms.KeyPressEventHandler</ReturnType>
92039203
</ReturnValue>
92049204
<Docs>
9205-
<summary>Occurs when a character. space or backspace key is pressed while the control has focus.</summary>
9205+
<summary>Occurs when a character, space, or backspace key is pressed while the control has focus.</summary>
92069206
<remarks>
92079207
<format type="text/markdown"><![CDATA[
92089208

92099209
## Remarks
92109210
Key events occur in the following order:
92119211

92129212
1. <xref:System.Windows.Forms.Control.KeyDown>
9213-
92149213
2. <xref:System.Windows.Forms.Control.KeyPress>
9215-
92169214
3. <xref:System.Windows.Forms.Control.KeyUp>
92179215

92189216
The <xref:System.Windows.Forms.Control.KeyPress> event is not raised by non-character keys other than space and backspace; however, the non-character keys do raise the <xref:System.Windows.Forms.Control.KeyDown> and <xref:System.Windows.Forms.Control.KeyUp> events.

0 commit comments

Comments
 (0)