3 writes to BorderSize
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
527button.FlatAppearance.BorderSize = 0;
System.Windows.Forms.Tests (2)
System\Windows\Forms\AbstractButtonBaseTests.cs (2)
22control.Invoking(y => y.FlatAppearance.BorderSize = borderSize) 27control.FlatAppearance.BorderSize = borderSize;
20 references to BorderSize
System.Windows.Forms (18)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonFlatAdapter.cs (18)
17rect.Inflate(-Control.FlatAppearance.BorderSize, -Control.FlatAppearance.BorderSize); 23bool hasCustomBorder = Control.FlatAppearance.BorderSize != BorderSize || !Control.FlatAppearance.BorderColor.IsEmpty; 30Control.FlatAppearance.BorderSize).Layout(); 82if (!(Control.IsDefault && Control.Focused && (Control.FlatAppearance.BorderSize == 0))) 90if (Control.FlatAppearance.BorderSize != BorderSize) 92DrawFlatBorderWithSize(e, r, colors.WindowFrame, Control.FlatAppearance.BorderSize); 116bool hasCustomBorder = (Control.FlatAppearance.BorderSize != BorderSize || !Control.FlatAppearance.BorderColor.IsEmpty); 123Control.FlatAppearance.BorderSize).Layout(); 170if (!(Control.IsDefault && Control.Focused && (Control.FlatAppearance.BorderSize == 0))) 178if (Control.FlatAppearance.BorderSize != BorderSize) 180DrawFlatBorderWithSize(e, r, colors.WindowFrame, Control.FlatAppearance.BorderSize); 210bool hasCustomBorder = Control.FlatAppearance.BorderSize != BorderSize || !Control.FlatAppearance.BorderColor.IsEmpty; 216Control.FlatAppearance.BorderSize).Layout(); 264if (!(Control.IsDefault && Control.Focused && (Control.FlatAppearance.BorderSize == 0))) 272if (Control.FlatAppearance.BorderSize != BorderSize) 274DrawFlatBorderWithSize(e, r, colors.WindowFrame, Control.FlatAppearance.BorderSize); 293PaintFlatLayout(up: false, check: true, Control.FlatAppearance.BorderSize);
System.Windows.Forms.Tests (2)
System\Windows\Forms\AbstractButtonBaseTests.cs (1)
28control.FlatAppearance.BorderSize.Should().Be(borderSize);
System\Windows\Forms\ButtonBaseTests.cs (1)
1033Assert.Equal(1, appearance.BorderSize);