530 references to BorderStyle
Accessibility_Core_App (4)
ContainerControls.Designer.cs (4)
123this.flowLayoutPanel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; 522this.flowLayoutPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 574this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; 639this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
PresentationUI (29)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (22)
209this._language.BorderStyle = System.Windows.Forms.BorderStyle.None; 219this._title.BorderStyle = System.Windows.Forms.BorderStyle.None; 236this._identifier.BorderStyle = System.Windows.Forms.BorderStyle.None; 293this._version.BorderStyle = System.Windows.Forms.BorderStyle.None; 310this._category.BorderStyle = System.Windows.Forms.BorderStyle.None; 319this._status.BorderStyle = System.Windows.Forms.BorderStyle.None; 328this._content.BorderStyle = System.Windows.Forms.BorderStyle.None; 346this._author.BorderStyle = System.Windows.Forms.BorderStyle.None; 355this._subject.BorderStyle = System.Windows.Forms.BorderStyle.None; 364this._description.BorderStyle = System.Windows.Forms.BorderStyle.None; 375this._keywords.BorderStyle = System.Windows.Forms.BorderStyle.None; 472this._size.BorderStyle = System.Windows.Forms.BorderStyle.None; 491this._filename.BorderStyle = System.Windows.Forms.BorderStyle.None; 501this._documentType.BorderStyle = System.Windows.Forms.BorderStyle.None; 559this._documentPrintedDate.BorderStyle = System.Windows.Forms.BorderStyle.None; 568this._documentModifiedDate.BorderStyle = System.Windows.Forms.BorderStyle.None; 577this._documentCreatedDate.BorderStyle = System.Windows.Forms.BorderStyle.None; 586this._revision.BorderStyle = System.Windows.Forms.BorderStyle.None; 635this._lastSaved.BorderStyle = System.Windows.Forms.BorderStyle.None; 675this._fileModifiedDate.BorderStyle = System.Windows.Forms.BorderStyle.None; 684this._fileAccessedDate.BorderStyle = System.Windows.Forms.BorderStyle.None; 709this._fileCreatedDate.BorderStyle = System.Windows.Forms.BorderStyle.None;
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (1)
116this._flowLayoutPanel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (4)
77this.flowLayoutPanelMain.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; 161this.textBoxUnrestrictedText.BorderStyle = System.Windows.Forms.BorderStyle.None; 235this.rightsTable.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 263this.textBoxPermissionsContact.BorderStyle = System.Windows.Forms.BorderStyle.None;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (2)
148_listBoxSummary.BorderStyle = System.Windows.Forms.BorderStyle.None; 165_listboxMainPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
System.Windows.Forms (118)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (7)
242private const BorderStyle DefaultBorderStyle = BorderStyle.FixedSingle; 300private BorderStyle _borderStyle; 1070[DefaultValue(BorderStyle.FixedSingle)] 1073public BorderStyle BorderStyle 1113if (BorderStyle == BorderStyle.Fixed3D) 1117else if (BorderStyle == BorderStyle.FixedSingle)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (3)
19266if (BorderStyle == BorderStyle.None) 19299if (BorderStyle == BorderStyle.Fixed3D) 19311else if (BorderStyle == BorderStyle.FixedSingle)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
516textBox.BorderStyle = BorderStyle.None;
System\Windows\Forms\Controls\Labels\Label.cs (9)
35private static readonly BitVector32.Section s_stateBorderStyle = BitVector32.CreateSection((int)BorderStyle.Fixed3D, s_stateFlatStyle); 85_labelState[s_stateBorderStyle] = (int)BorderStyle.None; 209[DefaultValue(BorderStyle.None)] 212public virtual BorderStyle BorderStyle 214get => (BorderStyle)_labelState[s_stateBorderStyle]; 293case BorderStyle.FixedSingle: 296case BorderStyle.Fixed3D: 1007if (BorderStyle != BorderStyle.None) 1022if (BorderStyle == BorderStyle.Fixed3D)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (8)
68private BorderStyle _borderStyle = BorderStyle.Fixed3D; 206[DefaultValue(BorderStyle.Fixed3D)] 209public BorderStyle BorderStyle 292case BorderStyle.Fixed3D: 295case BorderStyle.FixedSingle: 748if (_borderStyle != BorderStyle.None) 2324if (((nint)m.LParamInternal & PInvoke.PRF_NONCLIENT) != 0 && Application.RenderWithVisualStyles && BorderStyle == BorderStyle.Fixed3D)
System\Windows\Forms\Controls\ListView\ListView.cs (7)
53private BorderStyle _borderStyle = BorderStyle.Fixed3D; 415[DefaultValue(BorderStyle.Fixed3D)] 418public BorderStyle BorderStyle 660case BorderStyle.Fixed3D: 663case BorderStyle.FixedSingle: 6892if (((nint)m.LParamInternal & PInvoke.PRF_NONCLIENT) != 0 && Application.RenderWithVisualStyles && BorderStyle == BorderStyle.Fixed3D)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (6)
35private BorderStyle _borderStyle = BorderStyle.None; 133[DefaultValue(BorderStyle.None)] 137public BorderStyle BorderStyle 205case BorderStyle.Fixed3D: 208case BorderStyle.FixedSingle:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
278BorderStyle = BorderStyle.None,
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
312if (BorderStyle == BorderStyle.FixedSingle && ((cp.Style & (int)WINDOW_STYLE.WS_BORDER) != 0)) 3295if (BorderStyle == BorderStyle.Fixed3D)
System\Windows\Forms\Controls\Splitter\Splitter.cs (6)
28private BorderStyle _borderStyle = BorderStyle.None; 177[DefaultValue(BorderStyle.None)] 181public BorderStyle BorderStyle 215case BorderStyle.Fixed3D: 218case BorderStyle.FixedSingle:
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (2)
1798if (Application.RenderWithVisualStyles && IsHandleCreated && BorderStyle == BorderStyle.Fixed3D) 2907&& Application.RenderWithVisualStyles && BorderStyle == BorderStyle.Fixed3D)
System\Windows\Forms\Controls\TextBox\TextBox.cs (2)
560if (Application.RenderWithVisualStyles && IsHandleCreated && BorderStyle == BorderStyle.Fixed3D) 823&& BorderStyle == BorderStyle.Fixed3D)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (9)
53private BorderStyle _borderStyle = BorderStyle.Fixed3D; 347[DefaultValue(BorderStyle.Fixed3D)] 350public BorderStyle BorderStyle 422case BorderStyle.Fixed3D: 425case BorderStyle.FixedSingle: 801if (_borderStyle != BorderStyle.None) 823if (BorderStyle != BorderStyle.None) 828if (BorderStyle == BorderStyle.FixedSingle)
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (3)
85BorderStyle = BorderStyle.Fixed3D, 214[DefaultValue(BorderStyle.Fixed3D)] 217public BorderStyle BorderStyle
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
73return ((BorderStyle == BorderStyle.Fixed3D) &&
System\Windows\Forms\Controls\TreeView\TreeView.cs (7)
124private BorderStyle _borderStyle = BorderStyle.Fixed3D; 250[DefaultValue(BorderStyle.Fixed3D)] 253public BorderStyle BorderStyle 323case BorderStyle.Fixed3D: 326case BorderStyle.FixedSingle: 3148&& Application.RenderWithVisualStyles && BorderStyle == BorderStyle.Fixed3D)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (14)
22private const BorderStyle DefaultBorderStyle = BorderStyle.Fixed3D; 35private BorderStyle _borderStyle = DefaultBorderStyle; 52BorderStyle = BorderStyle.None, 181[DefaultValue(BorderStyle.Fixed3D)] 184public BorderStyle BorderStyle 229case BorderStyle.Fixed3D: 232case BorderStyle.FixedSingle: 342if (_borderStyle != BorderStyle.None) 523if (_borderStyle != BorderStyle.None) 578if (!Enabled && BorderStyle != BorderStyle.None && !_upDownEdit.ShouldSerializeBackColor()) 840BorderStyle borderStyle = BorderStyle; 843int borderWidth = (borderStyle == BorderStyle.None) ? 0 : 2; 857if (borderStyle == BorderStyle.None)
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (1)
37BorderStyle = BorderStyle.None;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (8)
34private BorderStyle _borderStyle = BorderStyle.None; 233[DefaultValue(BorderStyle.None)] 237public BorderStyle BorderStyle 258case BorderStyle.None: 261case BorderStyle.FixedSingle: 264case BorderStyle.Fixed3D: 2041panel.BorderStyle = BorderStyle.None;
System\Windows\Forms\Panels\Panel.cs (8)
21private BorderStyle _borderStyle = BorderStyle.None; 99[DefaultValue(BorderStyle.None)] 102public BorderStyle BorderStyle 133case BorderStyle.Fixed3D: 136case BorderStyle.FixedSingle: 220if (DesignMode && _borderStyle == BorderStyle.None) 242return $"{base.ToString()}, BorderStyle: {typeof(BorderStyle)}.{_borderStyle}";
System\Windows\Forms\Panels\SplitterPanel.cs (1)
80public new BorderStyle BorderStyle
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
63public new BorderStyle BorderStyle
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (1)
41BorderStyle = BorderStyle.None,
System\Windows\Forms\Rendering\ControlPaint.cs (4)
394internal static void PrintBorder(Graphics graphics, Rectangle bounds, BorderStyle style, Border3DStyle b3dStyle) 400case BorderStyle.FixedSingle: 403case BorderStyle.Fixed3D: 406case BorderStyle.None:
System\Windows\Forms\UserControl.cs (6)
22private BorderStyle _borderStyle = BorderStyle.None; 123[DefaultValue(BorderStyle.None)] 127public BorderStyle BorderStyle 165case BorderStyle.Fixed3D: 168case BorderStyle.FixedSingle:
System.Windows.Forms.Design (34)
System\ComponentModel\Design\ByteViewer.cs (1)
456BorderStyle = BorderStyle.None,
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
53BorderStyle = BorderStyle.None,
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
49BorderStyle = BorderStyle.None,
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
45BorderStyle = BorderStyle.None;
System\ComponentModel\Design\ObjectSelectorEditor.Selector.cs (1)
25BorderStyle = BorderStyle.None;
System\Drawing\Design\ColorEditor.ColorUI.cs (2)
181BorderStyle = BorderStyle.FixedSingle, 195BorderStyle = BorderStyle.FixedSingle,
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
25BorderStyle = BorderStyle.None;
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
239BorderStyle = BorderStyle.None
System\Windows\Forms\Design\DesignerFrame.cs (1)
277_splitter.BorderStyle = BorderStyle.Fixed3D;
System\Windows\Forms\Design\LabelDesigner.cs (10)
53BorderStyle borderStyle = BorderStyle.None; 66if (label is not null && label.BorderStyle == BorderStyle.None) 99private static int LabelBaselineOffset(ContentAlignment alignment, BorderStyle borderStyle) 104if (borderStyle == BorderStyle.None) 108else if (borderStyle is BorderStyle.FixedSingle or BorderStyle.Fixed3D) 120if (borderStyle == BorderStyle.None) 124else if (borderStyle is BorderStyle.FixedSingle or BorderStyle.Fixed3D)
System\Windows\Forms\Design\MaskedTextBoxTextEditorDropDown.cs (1)
51BorderStyle = BorderStyle.FixedSingle;
System\Windows\Forms\Design\PanelDesigner.cs (1)
55if (panel.BorderStyle == BorderStyle.None)
System\Windows\Forms\Design\PictureBoxDesigner.cs (1)
69if (pictureBox.BorderStyle == BorderStyle.None)
System\Windows\Forms\Design\SplitterDesigner.cs (1)
46if (((Splitter)Component).BorderStyle == BorderStyle.None)
System\Windows\Forms\Design\SplitterPanelDesigner.cs (1)
201if (_splitterPanel!.BorderStyle == BorderStyle.None)
System\Windows\Forms\Design\TextBoxBaseDesigner.cs (5)
30BorderStyle borderStyle = BorderStyle.Fixed3D; 37if (borderStyle == BorderStyle.None) 41else if (borderStyle == BorderStyle.FixedSingle) 45else if (borderStyle == BorderStyle.Fixed3D)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
877BorderStyle = BorderStyle.FixedSingle,
System\Windows\Forms\Design\UpDownBaseDesigner.cs (3)
46BorderStyle borderStyle = BorderStyle.Fixed3D; 53baseline += borderStyle == BorderStyle.None ? -1 : 2;
System.Windows.Forms.Design.Tests (6)
System\ComponentModel\Design\ByteViewerTests.cs (1)
33Assert.Equal(BorderStyle.None, control.BorderStyle);
System\Windows\Forms\Design\UpDownBaseDesignerTests.cs (5)
27private void InitializeDesigner(BorderStyle borderStyle) 42InitializeDesigner(BorderStyle.None); 49[InlineData(BorderStyle.None, -1)] 50[InlineData(BorderStyle.Fixed3D, 2)] 51public void SnapLines_ReturnsCorrectSnapLine(BorderStyle borderStyle, int expectedBaselineOffset)
System.Windows.Forms.Tests (329)
System\Windows\Forms\DataGridViewTests.cs (2)
3108_dataGridView.BorderStyle = BorderStyle.Fixed3D; 3112_dataGridView.BorderStyle = BorderStyle.FixedSingle;
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
37Assert.Equal(BorderStyle.Fixed3D, control.BorderStyle);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
34Assert.Equal(BorderStyle.None, control.BorderStyle);
System\Windows\Forms\DomainUpDownTests.cs (1)
47_sub.BorderStyle.Should().Be(BorderStyle.Fixed3D);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
33Assert.Equal(BorderStyle.None, control.BorderStyle);
System\Windows\Forms\LabelTests.cs (7)
30Assert.Equal(BorderStyle.None, control.BorderStyle); 307foreach (BorderStyle style in Enum.GetValues(typeof(BorderStyle))) 316public void Label_BorderStyle_Set_GetReturnsExpected(bool autoSize, BorderStyle style) 339if (style != BorderStyle.None) 341control.BorderStyle = BorderStyle.None; 342Assert.Equal(BorderStyle.None, control.BorderStyle);
System\Windows\Forms\ListBoxTests.cs (52)
31Assert.Equal(BorderStyle.Fixed3D, control.BorderStyle); 237[InlineData(BorderStyle.None, 0x562100C1, 0)] 238[InlineData(BorderStyle.Fixed3D, 0x562100C1, 0x200)] 239[InlineData(BorderStyle.FixedSingle, 0x56A100C1, 0)] 240public void ListBox_CreateParams_GetBorderStyle_ReturnsExpected(BorderStyle borderStyle, int expectedStyle, int expectedExStyle) 592[EnumData<BorderStyle>] 593public void ListBox_BorderStyle_Set_GetReturnsExpected(BorderStyle value) 611[InlineData(BorderStyle.Fixed3D, 0)] 612[InlineData(BorderStyle.FixedSingle, 1)] 613[InlineData(BorderStyle.None, 1)] 614public void ListBox_BorderStyle_SetWithHandle_GetReturnsExpected(BorderStyle value, int expectedCreatedCallCount) 644[InvalidEnumData<BorderStyle>] 645public void ListBox_BorderStyle_SetInvalid_ThrowsInvalidEnumArgumentException(BorderStyle value) 2051yield return new object[] { DrawMode.Normal, BorderStyle.Fixed3D, Control.DefaultFont.Height + extra }; 2052yield return new object[] { DrawMode.Normal, BorderStyle.FixedSingle, Control.DefaultFont.Height + extra }; 2053yield return new object[] { DrawMode.Normal, BorderStyle.None, Control.DefaultFont.Height }; 2055yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.Fixed3D, Control.DefaultFont.Height + extra }; 2056yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.FixedSingle, Control.DefaultFont.Height + extra }; 2057yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.None, Control.DefaultFont.Height }; 2059yield return new object[] { DrawMode.OwnerDrawVariable, BorderStyle.Fixed3D, extra }; 2060yield return new object[] { DrawMode.OwnerDrawVariable, BorderStyle.FixedSingle, extra }; 2061yield return new object[] { DrawMode.OwnerDrawVariable, BorderStyle.None, 0 }; 2066public void ListBox_PreferredHeight_GetEmpty_ReturnsExpected(DrawMode drawMode, BorderStyle borderStyle, int expected) 2080yield return new object[] { DrawMode.Normal, BorderStyle.Fixed3D, (Control.DefaultFont.Height * 2) + extra }; 2081yield return new object[] { DrawMode.Normal, BorderStyle.FixedSingle, (Control.DefaultFont.Height * 2) + extra }; 2082yield return new object[] { DrawMode.Normal, BorderStyle.None, (Control.DefaultFont.Height * 2) }; 2084yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.Fixed3D, (Control.DefaultFont.Height * 2) + extra }; 2085yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.FixedSingle, (Control.DefaultFont.Height * 2) + extra }; 2086yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.None, (Control.DefaultFont.Height * 2) }; 2088yield return new object[] { DrawMode.OwnerDrawVariable, BorderStyle.Fixed3D, (Control.DefaultFont.Height * 2) + extra }; 2089yield return new object[] { DrawMode.OwnerDrawVariable, BorderStyle.FixedSingle, (Control.DefaultFont.Height * 2) + extra }; 2090yield return new object[] { DrawMode.OwnerDrawVariable, BorderStyle.None, (Control.DefaultFont.Height * 2) }; 2095public void ListBox_PreferredHeight_GetNotEmpty_ReturnsExpected(DrawMode drawMode, BorderStyle borderStyle, int expected) 2110yield return new object[] { DrawMode.Normal, BorderStyle.Fixed3D }; 2111yield return new object[] { DrawMode.Normal, BorderStyle.FixedSingle }; 2112yield return new object[] { DrawMode.Normal, BorderStyle.None }; 2114yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.Fixed3D }; 2115yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.FixedSingle }; 2116yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.None }; 2118yield return new object[] { DrawMode.OwnerDrawVariable, BorderStyle.Fixed3D }; 2119yield return new object[] { DrawMode.OwnerDrawVariable, BorderStyle.FixedSingle }; 2120yield return new object[] { DrawMode.OwnerDrawVariable, BorderStyle.None }; 2125public void ListBox_PreferredHeight_GetEmptyWithHandle_ReturnsExpected(DrawMode drawMode, BorderStyle borderStyle) 2149public void ListBox_PreferredHeight_GetNotEmptyWithHandle_ReturnsExpected(DrawMode drawMode, BorderStyle borderStyle) 4788foreach (BorderStyle borderStyle in Enum.GetValues(typeof(BorderStyle))) 4800public void ListBox_GetPreferredSize_Invoke_ReturnsExpected(BorderStyle borderStyle, Size proposedSize) 4816public void ListBox_GetPreferredSize_InvokeWithPadding_ReturnsExpected(BorderStyle borderStyle, Size proposedSize) 4833public void ListBox_GetPreferredSize_InvokeWithHandle_ReturnsExpected(BorderStyle borderStyle, Size proposedSize) 4865public void ListBox_GetPreferredSize_InvokeWithHandleWithPadding_ReturnsExpected(BorderStyle borderStyle, Size proposedSize) 6356BorderStyle = BorderStyle.None, 6380BorderStyle = BorderStyle.None,
System\Windows\Forms\ListViewTests.cs (9)
38Assert.Equal(BorderStyle.Fixed3D, control.BorderStyle); 738[EnumData<BorderStyle>] 739public void ListView_BorderStyle_Set_GetReturnsExpected(BorderStyle value) 755[InlineData(BorderStyle.Fixed3D, 0)] 756[InlineData(BorderStyle.FixedSingle, 1)] 757[InlineData(BorderStyle.None, 1)] 758public void ListView_BorderStyle_SetWithHandle_GetReturnsExpected(BorderStyle value, int expectedInvalidatedCallCount) 786[InvalidEnumData<BorderStyle>] 787public void ListView_BorderStyle_SetInvalid_ThrowsInvalidEnumArgumentException(BorderStyle value)
System\Windows\Forms\PanelTests.cs (27)
34Assert.Equal(BorderStyle.None, control.BorderStyle); 140[InlineData(BorderStyle.None, 0x56000000, 0x10000)] 141[InlineData(BorderStyle.Fixed3D, 0x56000000, 0x10200)] 142[InlineData(BorderStyle.FixedSingle, 0x56800000, 0x10000)] 143public void Panel_CreateParams_GetBorderStyle_ReturnsExpected(BorderStyle borderStyle, int expectedStyle, int expectedExStyle) 553[EnumData<BorderStyle>] 554public void Panel_BorderStyle_Set_GetReturnsExpected(BorderStyle value) 570[InlineData(BorderStyle.Fixed3D, 1)] 571[InlineData(BorderStyle.FixedSingle, 1)] 572[InlineData(BorderStyle.None, 0)] 573public void Panel_BorderStyle_SetWithHandle_GetReturnsExpected(BorderStyle value, int expectedInvalidatedCallCount) 601[InvalidEnumData<BorderStyle>] 602public void Panel_BorderStyle_SetInvalid_ThrowsInvalidEnumArgumentException(BorderStyle value) 1056yield return new object[] { true, BorderStyle.None, null, 2 }; 1057yield return new object[] { true, BorderStyle.None, new EventArgs(), 2 }; 1058yield return new object[] { true, BorderStyle.Fixed3D, null, 1 }; 1059yield return new object[] { true, BorderStyle.Fixed3D, new EventArgs(), 1 }; 1060yield return new object[] { true, BorderStyle.FixedSingle, null, 1 }; 1061yield return new object[] { true, BorderStyle.FixedSingle, new EventArgs(), 1 }; 1063yield return new object[] { false, BorderStyle.None, null, 1 }; 1064yield return new object[] { false, BorderStyle.None, new EventArgs(), 1 }; 1065yield return new object[] { false, BorderStyle.Fixed3D, null, 0 }; 1066yield return new object[] { false, BorderStyle.Fixed3D, new EventArgs(), 0 }; 1067yield return new object[] { false, BorderStyle.FixedSingle, null, 0 }; 1068yield return new object[] { false, BorderStyle.FixedSingle, new EventArgs(), 0 }; 1073public void Panel_OnResize_InvokeWithDesignMode_CallsResize(bool resizeRedraw, BorderStyle borderStyle, EventArgs eventArgs, int expectedInvalidatedCallCount) 1138Panel panel = new() { BorderStyle = BorderStyle.Fixed3D };
System\Windows\Forms\PictureBoxTests.cs (11)
33Assert.Equal(BorderStyle.None, control.BorderStyle); 115[InlineData(BorderStyle.None, 0x56000000, 0)] 116[InlineData(BorderStyle.FixedSingle, 0x56800000, 0)] 117[InlineData(BorderStyle.Fixed3D, 0x56000000, 0x200)] 118public void PictureBox_CreateParams_Get_ReturnsExpected(BorderStyle borderStyle, int expectedStyle, int expectedExStyle) 140[EnumData<BorderStyle>] 141public void PictureBox_BorderStyle_Set_GetReturnsExpected(BorderStyle value) 155[EnumData<BorderStyle>] 156public void PictureBox_BorderStyle_SetWithHandle_GetReturnsExpected(BorderStyle value) 170[InvalidEnumData<BorderStyle>] 171public void PictureBox_BorderStyle_SetInvalid_ThrowsInvalidEnumArgumentException(BorderStyle value)
System\Windows\Forms\RichTextBoxTests.cs (12)
41Assert.Equal(BorderStyle.Fixed3D, control.BorderStyle); 161[InlineData(BorderStyle.None, 0x56210044, 0)] 162[InlineData(BorderStyle.Fixed3D, 0x56210044, 0x200)] 163[InlineData(BorderStyle.FixedSingle, 0x56210044, 0x200)] 164public void RichTextBox_CreateParams_GetBorderStyle_ReturnsExpected(BorderStyle borderStyle, int expectedStyle, int expectedExStyle) 10322yield return new object[] { BorderStyle.Fixed3D, Rectangle.Empty, new Rectangle(0, 0, 0, 1) }; 10323yield return new object[] { BorderStyle.FixedSingle, Rectangle.Empty, Rectangle.Empty }; 10324yield return new object[] { BorderStyle.None, Rectangle.Empty, Rectangle.Empty }; 10326yield return new object[] { BorderStyle.Fixed3D, new Rectangle(1, 2, 3, 4), new Rectangle(1, 2, 3, 5) }; 10327yield return new object[] { BorderStyle.FixedSingle, new Rectangle(1, 2, 3, 4), new Rectangle(1, 2, 3, 4) }; 10328yield return new object[] { BorderStyle.None, new Rectangle(1, 2, 3, 4), new Rectangle(1, 2, 3, 4) }; 10333public unsafe void RichTextBox_WndProc_InvokeReflectNotifyWithHandleWithHWndRequestResize_Success(BorderStyle borderStyle, Rectangle result, Rectangle expected)
System\Windows\Forms\SplitterPanelTests.cs (9)
40Assert.Equal(BorderStyle.None, control.BorderStyle); 327[EnumData<BorderStyle>] 328public void SplitterPanel_BorderStyle_Set_GetReturnsExpected(BorderStyle value) 344[InlineData(BorderStyle.Fixed3D, 1)] 345[InlineData(BorderStyle.FixedSingle, 1)] 346[InlineData(BorderStyle.None, 0)] 347public void SplitterPanel_BorderStyle_SetWithHandle_GetReturnsExpected(BorderStyle value, int expectedInvalidatedCallCount) 375[InvalidEnumData<BorderStyle>] 376public void SplitterPanel_BorderStyle_SetInvalid_ThrowsInvalidEnumArgumentException(BorderStyle value)
System\Windows\Forms\SplitterTests.cs (13)
29Assert.Equal(BorderStyle.None, control.BorderStyle); 127[InlineData(BorderStyle.None, 0x56000000, 0)] 128[InlineData(BorderStyle.Fixed3D, 0x56000000, 0x200)] 129[InlineData(BorderStyle.FixedSingle, 0x56800000, 0)] 130public void Splitter_CreateParams_GetBorderStyle_ReturnsExpected(BorderStyle borderStyle, int expectedStyle, int expectedExStyle) 313[EnumData<BorderStyle>] 314public void Splitter_BorderStyle_Set_GetReturnsExpected(BorderStyle value) 332[InlineData(BorderStyle.Fixed3D, 1)] 333[InlineData(BorderStyle.FixedSingle, 1)] 334[InlineData(BorderStyle.None, 0)] 335public void Splitter_BorderStyle_SetWithHandle_GetReturnsExpected(BorderStyle value, int expectedInvalidatedCallCount) 365[InvalidEnumData<BorderStyle>] 366public void Splitter_BorderStyle_SetInvalid_ThrowsInvalidEnumArgumentException(BorderStyle value)
System\Windows\Forms\TableLayoutPanelTests.cs (9)
35Assert.Equal(BorderStyle.None, control.BorderStyle); 151[EnumData<BorderStyle>] 152public void TableLayoutPanel_BorderStyle_Set_GetReturnsExpected(BorderStyle value) 168[InlineData(BorderStyle.Fixed3D, 1)] 169[InlineData(BorderStyle.FixedSingle, 1)] 170[InlineData(BorderStyle.None, 0)] 171public void TableLayoutPanel_BorderStyle_SetWithHandle_GetReturnsExpected(BorderStyle value, int expectedInvalidatedCallCount) 199[InvalidEnumData<BorderStyle>] 200public void TableLayoutPanel_BorderStyle_SetInvalid_ThrowsInvalidEnumArgumentException(BorderStyle value)
System\Windows\Forms\TabPageTests.cs (2)
38Assert.Equal(BorderStyle.None, control.BorderStyle); 147Assert.Equal(BorderStyle.None, control.BorderStyle);
System\Windows\Forms\ToolStripContentPanelTests.cs (9)
36Assert.Equal(BorderStyle.None, control.BorderStyle); 721[EnumData<BorderStyle>] 722public void ToolStripContentPanel_BorderStyle_Set_GetReturnsExpected(BorderStyle value) 738[InlineData(BorderStyle.Fixed3D, 1)] 739[InlineData(BorderStyle.FixedSingle, 1)] 740[InlineData(BorderStyle.None, 0)] 741public void ToolStripContentPanel_BorderStyle_SetWithHandle_GetReturnsExpected(BorderStyle value, int expectedInvalidatedCallCount) 769[InvalidEnumData<BorderStyle>] 770public void ToolStripContentPanel_BorderStyle_SetInvalid_ThrowsInvalidEnumArgumentException(BorderStyle value)
System\Windows\Forms\ToolStripTextBoxTests.cs (13)
223[InlineData(BorderStyle.FixedSingle)] 224[InlineData(BorderStyle.Fixed3D)] 225public void ToolStripTextBox_BorderStyle_GetSet_ReturnsExpected(BorderStyle borderStyle) 405_toolStripTextBox.BorderStyle = BorderStyle.None; 407_toolStripTextBox.BorderStyle.Should().Be(BorderStyle.None); 410_toolStripTextBox.BorderStyle = BorderStyle.Fixed3D; 412_toolStripTextBox.BorderStyle.Should().Be(BorderStyle.Fixed3D); 424_toolStripTextBox.BorderStyle = BorderStyle.None; 427_toolStripTextBox.BorderStyle.Should().Be(BorderStyle.None); 430_toolStripTextBox.BorderStyle = BorderStyle.Fixed3D; 433_toolStripTextBox.BorderStyle.Should().Be(BorderStyle.Fixed3D); 436_toolStripTextBox.BorderStyle = BorderStyle.None; 439_toolStripTextBox.BorderStyle.Should().Be(BorderStyle.None);
System\Windows\Forms\TreeViewTests.cs (27)
29Assert.Equal(BorderStyle.Fixed3D, control.BorderStyle); 185[InlineData(BorderStyle.None, 0x56010007, 0)] 186[InlineData(BorderStyle.Fixed3D, 0x56010007, 0x200)] 187[InlineData(BorderStyle.FixedSingle, 0x56810007, 0)] 188public void TreeView_CreateParams_GetBorder_ReturnsExpected(BorderStyle borderStyle, int expectedStyle, int expectedExStyle) 909[EnumData<BorderStyle>] 910public void BorderStyle_Set_GetReturnsExpected(BorderStyle value) 928BorderStyle = BorderStyle.Fixed3D 948treeView.BorderStyle = BorderStyle.None; 949Assert.Equal(BorderStyle.None, treeView.BorderStyle); 954treeView.BorderStyle = BorderStyle.None; 955Assert.Equal(BorderStyle.None, treeView.BorderStyle); 960treeView.BorderStyle = BorderStyle.FixedSingle; 961Assert.Equal(BorderStyle.FixedSingle, treeView.BorderStyle); 968treeView.BorderStyle = BorderStyle.Fixed3D; 969Assert.Equal(BorderStyle.Fixed3D, treeView.BorderStyle); 979BorderStyle = BorderStyle.Fixed3D 1000treeView.BorderStyle = BorderStyle.None; 1001Assert.Equal(BorderStyle.None, treeView.BorderStyle); 1006treeView.BorderStyle = BorderStyle.None; 1007Assert.Equal(BorderStyle.None, treeView.BorderStyle); 1012treeView.BorderStyle = BorderStyle.FixedSingle; 1013Assert.Equal(BorderStyle.FixedSingle, treeView.BorderStyle); 1020treeView.BorderStyle = BorderStyle.Fixed3D; 1021Assert.Equal(BorderStyle.Fixed3D, treeView.BorderStyle); 1027[InvalidEnumData<BorderStyle>] 1028public void BorderStyle_SetInvalid_ThrowsInvalidEnumArgumentException(BorderStyle value)
System\Windows\Forms\UpDownBaseTests.cs (44)
34Assert.Equal(BorderStyle.Fixed3D, control.BorderStyle); 170[InlineData(BorderStyle.None, 0x56010000, 0x10000)] 171[InlineData(BorderStyle.Fixed3D, 0x56010000, 0x10200)] 172[InlineData(BorderStyle.FixedSingle, 0x56810000, 0x10000)] 173public void UpDownSubUpDownBase_CreateParams_GetBorderStyleNoVisualStyles_ReturnsExpected(BorderStyle borderStyle, int expectedStyle, int expectedExStyle) 719yield return new object[] { BorderStyle.Fixed3D, new Size(122, Control.DefaultFont.Height + SystemInformation.BorderSize.Height * 4 + 3) }; 720yield return new object[] { BorderStyle.FixedSingle, new Size(122, Control.DefaultFont.Height + SystemInformation.BorderSize.Height * 4 + 3) }; 721yield return new object[] { BorderStyle.None, new Size(122, Control.DefaultFont.Height + 3) }; 725yield return new object[] { BorderStyle.Fixed3D, new Size(123, Control.DefaultFont.Height + SystemInformation.BorderSize.Height * 4 + 3) }; 726yield return new object[] { BorderStyle.FixedSingle, new Size(121, Control.DefaultFont.Height + SystemInformation.BorderSize.Height * 4 + 3) }; 727yield return new object[] { BorderStyle.None, new Size(119, Control.DefaultFont.Height + 3) }; 733public void UpDownBase_BorderStyle_Set_GetReturnsExpected(BorderStyle value, Size expectedPreferredSize) 756yield return new object[] { BorderStyle.Fixed3D, 0, 0, new Size(122, Control.DefaultFont.Height + SystemInformation.BorderSize.Height * 4 + 3) }; 757yield return new object[] { BorderStyle.FixedSingle, 0, 1, new Size(122, Control.DefaultFont.Height + SystemInformation.BorderSize.Height * 4 + 3) }; 758yield return new object[] { BorderStyle.None, 1, 1, new Size(123, Control.DefaultFont.Height + 3) }; 762yield return new object[] { BorderStyle.Fixed3D, 0, 0, new Size(123, Control.DefaultFont.Height + SystemInformation.BorderSize.Height * 4 + 3) }; 763yield return new object[] { BorderStyle.FixedSingle, 1, 1, new Size(123, Control.DefaultFont.Height + SystemInformation.BorderSize.Height * 4 + 3) }; 764yield return new object[] { BorderStyle.None, 2, 1, new Size(123, Control.DefaultFont.Height + 3) }; 770public void UpDownBase_BorderStyle_SetWithHandle_GetReturnsExpected(BorderStyle value, int expectedInvalidatedCallCount, int expectedCreatedCallCount, Size expectedPreferredSize) 802[InvalidEnumData<BorderStyle>] 803public void UpDownBase_BorderStyle_SetInvalid_ThrowsInvalidEnumArgumentException(BorderStyle value) 1429foreach (BorderStyle borderStyle in Enum.GetValues(typeof(BorderStyle))) 1441public void UpDownBase_UpDownAlign_Set_GetReturnsExpected(BorderStyle borderStyle, RightToLeft rightToLeft, LeftRightAlignment value) 1460foreach (BorderStyle borderStyle in Enum.GetValues(typeof(BorderStyle))) 1472public void UpDownBase_UpDownAlign_SetWithHandle_GetReturnsExpected(BorderStyle borderStyle, RightToLeft rightToLeft, LeftRightAlignment value, int expectedInvalidatedCallCount) 1765foreach (BorderStyle borderStyle in Enum.GetValues(typeof(BorderStyle))) 1780public void UpDownBase_OnFontChanged_Invoke_CallsFontChanged(BorderStyle borderStyle, RightToLeft rightToLeft, LeftRightAlignment upDownAlign, EventArgs eventArgs) 1815foreach (BorderStyle borderStyle in Enum.GetValues(typeof(BorderStyle))) 1830public void UpDownBase_OnHandleCreated_Invoke_CallsHandleCreated(BorderStyle borderStyle, RightToLeft rightToLeft, LeftRightAlignment upDownAlign, EventArgs eventArgs) 1863public void UpDownBase_OnHandleCreated_InvokeWithHandle_CallsHandleCreated(BorderStyle borderStyle, RightToLeft rightToLeft, LeftRightAlignment upDownAlign, EventArgs eventArgs) 1956foreach (BorderStyle borderStyle in Enum.GetValues(typeof(BorderStyle))) 1972public void UpDownBase_OnLayout_Invoke_CallsLayout(BorderStyle borderStyle, RightToLeft rightToLeft, LeftRightAlignment upDownAlign, LayoutEventArgs eventArgs) 2227foreach (BorderStyle borderStyle in Enum.GetValues(typeof(BorderStyle))) 2243public void UpDownBase_OnPaint_Invoke_CallsPaint(Size size, bool enabled, BorderStyle borderStyle, Color backColor) 2279public void UpDownBase_OnPaint_InvokeWithHandle_CallsPaint(Size size, bool enabled, BorderStyle borderStyle, Color backColor) 2500foreach (BorderStyle borderStyle in Enum.GetValues(typeof(BorderStyle))) 2517public void UpDownBase_OnTextBoxResize_Invoke_CallsTextBoxResize(BorderStyle borderStyle, RightToLeft rightToLeft, LeftRightAlignment upDownAlign, object source, EventArgs eventArgs)
System\Windows\Forms\UserControlTests.cs (12)
147[InlineData(BorderStyle.None, 0x56010000, 0x10000)] 148[InlineData(BorderStyle.Fixed3D, 0x56010000, 0x10200)] 149[InlineData(BorderStyle.FixedSingle, 0x56810000, 0x10000)] 150public void UserControl_CreateParams_GetBorderStyle_ReturnsExpected(BorderStyle borderStyle, int expectedStyle, int expectedExStyle) 736[EnumData<BorderStyle>] 737public void UserControl_BorderStyle_Set_GetReturnsExpected(BorderStyle value) 753[InlineData(BorderStyle.Fixed3D, 1)] 754[InlineData(BorderStyle.FixedSingle, 1)] 755[InlineData(BorderStyle.None, 0)] 756public void UserControl_BorderStyle_SetWithHandle_GetReturnsExpected(BorderStyle value, int expectedInvalidatedCallCount) 784[InvalidEnumData<BorderStyle>] 785public void UserControl_BorderStyle_SetInvalid_ThrowsInvalidEnumArgumentException(BorderStyle value)
TextBoxBaseTests.cs (66)
91[InlineData(BorderStyle.None, 0x560100C0, 0)] 92[InlineData(BorderStyle.Fixed3D, 0x560100C0, 0x00200)] 93[InlineData(BorderStyle.FixedSingle, 0x568100C0, 0)] 94public void TextBoxBase_CreateParams_GetBorderStyle_ReturnsExpected(BorderStyle borderStyle, int expectedStyle, int expectedExStyle) 554[EnumData<BorderStyle>] 555public void TextBoxBase_BorderStyle_Set_GetReturnsExpected(BorderStyle value) 571[InlineData(true, BorderStyle.Fixed3D, 0)] 572[InlineData(true, BorderStyle.FixedSingle, 1)] 573[InlineData(true, BorderStyle.None, 1)] 574[InlineData(false, BorderStyle.Fixed3D, 0)] 575[InlineData(false, BorderStyle.FixedSingle, 0)] 576[InlineData(false, BorderStyle.None, 0)] 577public void TextBoxBase_BorderStyle_SetWithParent_GetReturnsExpected(bool autoSize, BorderStyle value, int expectedParentLayoutCallCount) 618[InlineData(BorderStyle.Fixed3D, 0)] 619[InlineData(BorderStyle.FixedSingle, 1)] 620[InlineData(BorderStyle.None, 1)] 621public void TextBoxBase_BorderStyle_SetWithHandle_GetReturnsExpected(BorderStyle value, int expectedStyleChangedCallCount) 662control.BorderStyle = BorderStyle.FixedSingle; 663Assert.Equal(BorderStyle.FixedSingle, control.BorderStyle); 667control.BorderStyle = BorderStyle.FixedSingle; 668Assert.Equal(BorderStyle.FixedSingle, control.BorderStyle); 672control.BorderStyle = BorderStyle.Fixed3D; 673Assert.Equal(BorderStyle.Fixed3D, control.BorderStyle); 678control.BorderStyle = BorderStyle.FixedSingle; 679Assert.Equal(BorderStyle.FixedSingle, control.BorderStyle); 684[InvalidEnumData<BorderStyle>] 685public void TextBoxBase_BorderStyle_SetInvalid_ThrowsInvalidEnumArgumentException(BorderStyle value) 2277yield return new object[] { BorderStyle.None, Control.DefaultFont.Height }; 2278yield return new object[] { BorderStyle.Fixed3D, s_preferredHeight }; 2279yield return new object[] { BorderStyle.FixedSingle, s_preferredHeight }; 2284public void TextBoxBase_PreferredHeight_Get_ReturnsExpected(BorderStyle borderStyle, int expected) 4996yield return new object[] { multiline, wordWrap, BorderStyle.Fixed3D, Size.Empty, new Size(4, s_preferredHeight) }; 4997yield return new object[] { multiline, wordWrap, BorderStyle.Fixed3D, new Size(-1, -2), new Size(4, s_preferredHeight) }; 4998yield return new object[] { multiline, wordWrap, BorderStyle.Fixed3D, new Size(10, 20), new Size(4, s_preferredHeight) }; 4999yield return new object[] { multiline, wordWrap, BorderStyle.Fixed3D, new Size(30, 40), new Size(4, s_preferredHeight) }; 5000yield return new object[] { multiline, wordWrap, BorderStyle.Fixed3D, new Size(int.MaxValue, int.MaxValue), new Size(4, s_preferredHeight) }; 5002yield return new object[] { multiline, wordWrap, BorderStyle.FixedSingle, Size.Empty, new Size(4, s_preferredHeight) }; 5003yield return new object[] { multiline, wordWrap, BorderStyle.FixedSingle, new Size(-1, -2), new Size(4, s_preferredHeight) }; 5004yield return new object[] { multiline, wordWrap, BorderStyle.FixedSingle, new Size(10, 20), new Size(4, s_preferredHeight) }; 5005yield return new object[] { multiline, wordWrap, BorderStyle.FixedSingle, new Size(30, 40), new Size(4, s_preferredHeight) }; 5006yield return new object[] { multiline, wordWrap, BorderStyle.FixedSingle, new Size(int.MaxValue, int.MaxValue), new Size(4, s_preferredHeight) }; 5008yield return new object[] { multiline, wordWrap, BorderStyle.None, Size.Empty, new Size(0, Control.DefaultFont.Height) }; 5009yield return new object[] { multiline, wordWrap, BorderStyle.None, new Size(-1, -2), new Size(0, Control.DefaultFont.Height) }; 5010yield return new object[] { multiline, wordWrap, BorderStyle.None, new Size(10, 20), new Size(0, Control.DefaultFont.Height) }; 5011yield return new object[] { multiline, wordWrap, BorderStyle.None, new Size(30, 40), new Size(0, Control.DefaultFont.Height) }; 5012yield return new object[] { multiline, wordWrap, BorderStyle.None, new Size(int.MaxValue, int.MaxValue), new Size(0, Control.DefaultFont.Height) }; 5019public void TextBox_GetPreferredSize_Invoke_ReturnsExpected(bool multiline, bool wordWrap, BorderStyle borderStyle, Size proposedSize, Size expected) 5037public void TextBox_GetPreferredSize_InvokeWithPadding_ReturnsExpected(bool multiline, bool wordWrap, BorderStyle borderStyle, Size proposedSize, Size expected) 5057yield return new object[] { BorderStyle.Fixed3D, Size.Empty, 4, s_preferredHeight }; 5058yield return new object[] { BorderStyle.Fixed3D, new Size(-1, -2), 4, s_preferredHeight }; 5059yield return new object[] { BorderStyle.Fixed3D, new Size(10, 20), 4, s_preferredHeight }; 5060yield return new object[] { BorderStyle.Fixed3D, new Size(30, 40), 4, s_preferredHeight }; 5061yield return new object[] { BorderStyle.Fixed3D, new Size(int.MaxValue, int.MaxValue), 4, s_preferredHeight }; 5063yield return new object[] { BorderStyle.FixedSingle, Size.Empty, 4, s_preferredHeight }; 5064yield return new object[] { BorderStyle.FixedSingle, new Size(-1, -2), 4, s_preferredHeight }; 5065yield return new object[] { BorderStyle.FixedSingle, new Size(10, 20), 4, s_preferredHeight }; 5066yield return new object[] { BorderStyle.FixedSingle, new Size(30, 40), 4, s_preferredHeight }; 5067yield return new object[] { BorderStyle.FixedSingle, new Size(int.MaxValue, int.MaxValue), 4, s_preferredHeight }; 5069yield return new object[] { BorderStyle.None, Size.Empty, 0, Control.DefaultFont.Height }; 5070yield return new object[] { BorderStyle.None, new Size(-1, -2), 0, Control.DefaultFont.Height }; 5071yield return new object[] { BorderStyle.None, new Size(10, 20), 0, Control.DefaultFont.Height }; 5072yield return new object[] { BorderStyle.None, new Size(30, 40), 0, Control.DefaultFont.Height }; 5073yield return new object[] { BorderStyle.None, new Size(int.MaxValue, int.MaxValue), 0, Control.DefaultFont.Height }; 5078public void TextBox_GetPreferredSize_InvokeWithText_ReturnsExpected(BorderStyle borderStyle, Size proposedSize, int expectedAdditionalWidth, int expectedHeight) 5097public void TextBox_GetPreferredSize_InvokeWithNewLineMultiline_ReturnsExpected(BorderStyle borderStyle, Size proposedSize, int expectedAdditionalWidth, int expectedMinimumHeight) 5121public void TextBox_GetPreferredSize_InvokeWithNewLineNotMultiline_ReturnsExpected(BorderStyle borderStyle, Size proposedSize, int expectedAdditionalWidth, int expectedHeight)
TextBoxTests.cs (1)
36Assert.Equal(BorderStyle.Fixed3D, control.BorderStyle);
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
912PictureBoxDragSource.BorderStyle = BorderStyle.FixedSingle;
WinFormsControlsTest (9)
DragDrop.Designer.cs (5)
107pictureBox1.BorderStyle = BorderStyle.FixedSingle; 118pictureBox2.BorderStyle = BorderStyle.FixedSingle; 129pictureBox3.BorderStyle = BorderStyle.FixedSingle; 140pictureBox4.BorderStyle = BorderStyle.FixedSingle; 151pictureBox5.BorderStyle = BorderStyle.FixedSingle;
MultipleControls.Designer.cs (1)
138this.tabPage1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
ScrollableControls.Designer.cs (3)
91flowLayoutPanel1.BorderStyle = BorderStyle.FixedSingle; 159panel1.BorderStyle = BorderStyle.FixedSingle; 216splitContainer1.BorderStyle = BorderStyle.FixedSingle;