Skip to content

Commit 72f6c68

Browse files
committed
Removing the [RefreshProperties(RefreshProperties.All)] for AutoSize property
1 parent 89e6bb9 commit 72f6c68

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/System.Windows.Forms/src/System/Windows/Forms/Control.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,6 @@ public virtual AnchorStyles Anchor
596596
}
597597

598598
[SRCategory(nameof(SR.CatLayout))]
599-
[RefreshProperties(RefreshProperties.All)]
600599
[Localizable(true)]
601600
[DefaultValue(CommonProperties.DefaultAutoSize)]
602601
[SRDescription(nameof(SR.ControlAutoSizeDescr))]

src/System.Windows.Forms/src/System/Windows/Forms/Controls/Labels/Label.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ public Label() : base()
9494
/// </summary>
9595
[SRCategory(nameof(SR.CatLayout))]
9696
[DefaultValue(false)]
97-
[RefreshProperties(RefreshProperties.All)]
9897
[Localizable(true)]
9998
[SRDescription(nameof(SR.LabelAutoSizeDescr))]
10099
[Browsable(true)]

0 commit comments

Comments
 (0)