156 references to None
PresentationUI (25)
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\RMPublishingDialog.Designer.cs (2)
161this.textBoxUnrestrictedText.BorderStyle = System.Windows.Forms.BorderStyle.None; 263this.textBoxPermissionsContact.BorderStyle = System.Windows.Forms.BorderStyle.None;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
148_listBoxSummary.BorderStyle = System.Windows.Forms.BorderStyle.None;
System.Windows.Forms (31)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
19266if (BorderStyle == BorderStyle.None)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
516textBox.BorderStyle = BorderStyle.None;
System\Windows\Forms\Controls\Labels\Label.cs (3)
85_labelState[s_stateBorderStyle] = (int)BorderStyle.None; 209[DefaultValue(BorderStyle.None)] 1007if (BorderStyle != BorderStyle.None)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
748if (_borderStyle != BorderStyle.None)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
35private BorderStyle _borderStyle = BorderStyle.None; 133[DefaultValue(BorderStyle.None)]
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
278BorderStyle = BorderStyle.None,
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
28private BorderStyle _borderStyle = BorderStyle.None; 177[DefaultValue(BorderStyle.None)]
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
801if (_borderStyle != BorderStyle.None) 823if (BorderStyle != BorderStyle.None)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (6)
52BorderStyle = BorderStyle.None, 342if (_borderStyle != BorderStyle.None) 523if (_borderStyle != BorderStyle.None) 578if (!Enabled && BorderStyle != BorderStyle.None && !_upDownEdit.ShouldSerializeBackColor()) 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 (4)
34private BorderStyle _borderStyle = BorderStyle.None; 233[DefaultValue(BorderStyle.None)] 258case BorderStyle.None: 2041panel.BorderStyle = BorderStyle.None;
System\Windows\Forms\Panels\Panel.cs (3)
21private BorderStyle _borderStyle = BorderStyle.None; 99[DefaultValue(BorderStyle.None)] 220if (DesignMode && _borderStyle == BorderStyle.None)
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (1)
41BorderStyle = BorderStyle.None,
System\Windows\Forms\Rendering\ControlPaint.cs (1)
406case BorderStyle.None:
System\Windows\Forms\UserControl.cs (2)
22private BorderStyle _borderStyle = BorderStyle.None; 123[DefaultValue(BorderStyle.None)]
System.Windows.Forms.Design (17)
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\CursorEditor.CursorUI.cs (1)
25BorderStyle = BorderStyle.None;
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
239BorderStyle = BorderStyle.None
System\Windows\Forms\Design\LabelDesigner.cs (4)
53BorderStyle borderStyle = BorderStyle.None; 66if (label is not null && label.BorderStyle == BorderStyle.None) 104if (borderStyle == BorderStyle.None) 120if (borderStyle == BorderStyle.None)
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 (1)
37if (borderStyle == BorderStyle.None)
System\Windows\Forms\Design\UpDownBaseDesigner.cs (1)
53baseline += borderStyle == BorderStyle.None ? -1 : 2;
System.Windows.Forms.Design.Tests (3)
System\ComponentModel\Design\ByteViewerTests.cs (1)
33Assert.Equal(BorderStyle.None, control.BorderStyle);
System\Windows\Forms\Design\UpDownBaseDesignerTests.cs (2)
42InitializeDesigner(BorderStyle.None); 49[InlineData(BorderStyle.None, -1)]
System.Windows.Forms.Tests (80)
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
34Assert.Equal(BorderStyle.None, control.BorderStyle);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
33Assert.Equal(BorderStyle.None, control.BorderStyle);
System\Windows\Forms\LabelTests.cs (4)
30Assert.Equal(BorderStyle.None, control.BorderStyle); 339if (style != BorderStyle.None) 341control.BorderStyle = BorderStyle.None; 342Assert.Equal(BorderStyle.None, control.BorderStyle);
System\Windows\Forms\ListBoxTests.cs (13)
237[InlineData(BorderStyle.None, 0x562100C1, 0)] 613[InlineData(BorderStyle.None, 1)] 2053yield return new object[] { DrawMode.Normal, BorderStyle.None, Control.DefaultFont.Height }; 2057yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.None, Control.DefaultFont.Height }; 2061yield return new object[] { DrawMode.OwnerDrawVariable, BorderStyle.None, 0 }; 2082yield return new object[] { DrawMode.Normal, BorderStyle.None, (Control.DefaultFont.Height * 2) }; 2086yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.None, (Control.DefaultFont.Height * 2) }; 2090yield return new object[] { DrawMode.OwnerDrawVariable, BorderStyle.None, (Control.DefaultFont.Height * 2) }; 2112yield return new object[] { DrawMode.Normal, BorderStyle.None }; 2116yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.None }; 2120yield return new object[] { DrawMode.OwnerDrawVariable, BorderStyle.None }; 6356BorderStyle = BorderStyle.None, 6380BorderStyle = BorderStyle.None,
System\Windows\Forms\ListViewTests.cs (1)
757[InlineData(BorderStyle.None, 1)]
System\Windows\Forms\PanelTests.cs (7)
34Assert.Equal(BorderStyle.None, control.BorderStyle); 140[InlineData(BorderStyle.None, 0x56000000, 0x10000)] 572[InlineData(BorderStyle.None, 0)] 1056yield return new object[] { true, BorderStyle.None, null, 2 }; 1057yield return new object[] { true, BorderStyle.None, new EventArgs(), 2 }; 1063yield return new object[] { false, BorderStyle.None, null, 1 }; 1064yield return new object[] { false, BorderStyle.None, new EventArgs(), 1 };
System\Windows\Forms\PictureBoxTests.cs (2)
33Assert.Equal(BorderStyle.None, control.BorderStyle); 115[InlineData(BorderStyle.None, 0x56000000, 0)]
System\Windows\Forms\RichTextBoxTests.cs (3)
161[InlineData(BorderStyle.None, 0x56210044, 0)] 10324yield return new object[] { BorderStyle.None, Rectangle.Empty, Rectangle.Empty }; 10328yield return new object[] { BorderStyle.None, new Rectangle(1, 2, 3, 4), new Rectangle(1, 2, 3, 4) };
System\Windows\Forms\SplitterPanelTests.cs (2)
40Assert.Equal(BorderStyle.None, control.BorderStyle); 346[InlineData(BorderStyle.None, 0)]
System\Windows\Forms\SplitterTests.cs (3)
29Assert.Equal(BorderStyle.None, control.BorderStyle); 127[InlineData(BorderStyle.None, 0x56000000, 0)] 334[InlineData(BorderStyle.None, 0)]
System\Windows\Forms\TableLayoutPanelTests.cs (2)
35Assert.Equal(BorderStyle.None, control.BorderStyle); 170[InlineData(BorderStyle.None, 0)]
System\Windows\Forms\TabPageTests.cs (2)
38Assert.Equal(BorderStyle.None, control.BorderStyle); 147Assert.Equal(BorderStyle.None, control.BorderStyle);
System\Windows\Forms\ToolStripContentPanelTests.cs (2)
36Assert.Equal(BorderStyle.None, control.BorderStyle); 740[InlineData(BorderStyle.None, 0)]
System\Windows\Forms\ToolStripTextBoxTests.cs (6)
405_toolStripTextBox.BorderStyle = BorderStyle.None; 407_toolStripTextBox.BorderStyle.Should().Be(BorderStyle.None); 424_toolStripTextBox.BorderStyle = BorderStyle.None; 427_toolStripTextBox.BorderStyle.Should().Be(BorderStyle.None); 436_toolStripTextBox.BorderStyle = BorderStyle.None; 439_toolStripTextBox.BorderStyle.Should().Be(BorderStyle.None);
System\Windows\Forms\TreeViewTests.cs (9)
185[InlineData(BorderStyle.None, 0x56010007, 0)] 948treeView.BorderStyle = BorderStyle.None; 949Assert.Equal(BorderStyle.None, treeView.BorderStyle); 954treeView.BorderStyle = BorderStyle.None; 955Assert.Equal(BorderStyle.None, treeView.BorderStyle); 1000treeView.BorderStyle = BorderStyle.None; 1001Assert.Equal(BorderStyle.None, treeView.BorderStyle); 1006treeView.BorderStyle = BorderStyle.None; 1007Assert.Equal(BorderStyle.None, treeView.BorderStyle);
System\Windows\Forms\UpDownBaseTests.cs (5)
170[InlineData(BorderStyle.None, 0x56010000, 0x10000)] 721yield return new object[] { BorderStyle.None, new Size(122, Control.DefaultFont.Height + 3) }; 727yield return new object[] { BorderStyle.None, new Size(119, Control.DefaultFont.Height + 3) }; 758yield return new object[] { BorderStyle.None, 1, 1, new Size(123, Control.DefaultFont.Height + 3) }; 764yield return new object[] { BorderStyle.None, 2, 1, new Size(123, Control.DefaultFont.Height + 3) };
System\Windows\Forms\UserControlTests.cs (2)
147[InlineData(BorderStyle.None, 0x56010000, 0x10000)] 755[InlineData(BorderStyle.None, 0)]
TextBoxBaseTests.cs (15)
91[InlineData(BorderStyle.None, 0x560100C0, 0)] 573[InlineData(true, BorderStyle.None, 1)] 576[InlineData(false, BorderStyle.None, 0)] 620[InlineData(BorderStyle.None, 1)] 2277yield return new object[] { BorderStyle.None, Control.DefaultFont.Height }; 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) }; 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 };