3 writes to BorderStyle
System.Windows.Forms.Tests (3)
System\Windows\Forms\LabelTests.cs (3)
325
control.
BorderStyle
= style;
332
control.
BorderStyle
= style;
341
control.
BorderStyle
= BorderStyle.None;
10 references to BorderStyle
System.Windows.Forms (5)
System\Windows\Forms\Controls\Labels\Label.cs (5)
219
if (
BorderStyle
!= value)
291
switch (
BorderStyle
)
1007
if (
BorderStyle
!= BorderStyle.None)
1022
if (
BorderStyle
== BorderStyle.Fixed3D)
1357
ControlPaint.PrintBorder(g, new Rectangle(Point.Empty, Size),
BorderStyle
, Border3DStyle.SunkenOuter);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\LabelDesigner.cs (1)
66
if (label is not null && label.
BorderStyle
== BorderStyle.None)
System.Windows.Forms.Tests (4)
System\Windows\Forms\LabelTests.cs (4)
30
Assert.Equal(BorderStyle.None, control.
BorderStyle
);
326
Assert.Equal(style, control.
BorderStyle
);
333
Assert.Equal(style, control.
BorderStyle
);
342
Assert.Equal(BorderStyle.None, control.
BorderStyle
);