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