Skip to content

Commit 06ff57e

Browse files
Update ButtonBase.xml and Label.xml to indicate that AutoElipsis property shows control text in a tooltip (dotnet#7091)
1 parent 04dc773 commit 06ff57e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

xml/System.Windows.Forms/ButtonBase.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
<format type="text/markdown"><![CDATA[
121121
122122
## Remarks
123-
Set <xref:System.Windows.Forms.ButtonBase.AutoEllipsis%2A> to `true` to display text that extends beyond the width of the control when the user passes over the control with the mouse. You must set the control's `AutoSize` property to `false` if you want <xref:System.Windows.Forms.ButtonBase.AutoEllipsis%2A> to be `true`. If `AutoSize` is `true`, the control will grow to fit the text and an ellipsis will not appear.
123+
Set <xref:System.Windows.Forms.ButtonBase.AutoEllipsis%2A> to `true` to display text that extends beyond the width of the control as a tooltip when the user passes over the control with the mouse. You must set the control's `AutoSize` property to `false` if you want <xref:System.Windows.Forms.ButtonBase.AutoEllipsis%2A> to be `true`. If `AutoSize` is `true`, the control will grow to fit the text and an ellipsis will not appear.
124124
125125
]]></format>
126126
</remarks>

xml/System.Windows.Forms/Label.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
<format type="text/markdown"><![CDATA[
170170
171171
## Remarks
172-
Set <xref:System.Windows.Forms.Label.AutoEllipsis%2A> to `true` to display text that extends beyond the width of the <xref:System.Windows.Forms.Label> when the user passes over the control with the mouse. If <xref:System.Windows.Forms.Label.AutoSize%2A> is `true`, the label will grow to fit the text and an ellipsis will not appear.
172+
Set <xref:System.Windows.Forms.Label.AutoEllipsis%2A> to `true` to display text that extends beyond the width of the <xref:System.Windows.Forms.Label> in a tooltip when the user passes over the control with the mouse. If <xref:System.Windows.Forms.Label.AutoSize%2A> is `true`, the label will grow to fit the text and an ellipsis will not appear.
173173
174174
> [!IMPORTANT]
175175
> If the font is taller than the height of the <xref:System.Windows.Forms.Label> and <xref:System.Windows.Forms.Label.AutoEllipsis%2A> is `true`, you must set <xref:System.Windows.Forms.Label.AutoSize%2A> to `false` for text to be drawn.

0 commit comments

Comments
 (0)