156 references to None
PresentationUI (25)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (22)
209
this._language.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
219
this._title.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
236
this._identifier.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
293
this._version.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
310
this._category.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
319
this._status.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
328
this._content.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
346
this._author.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
355
this._subject.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
364
this._description.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
375
this._keywords.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
472
this._size.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
491
this._filename.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
501
this._documentType.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
559
this._documentPrintedDate.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
568
this._documentModifiedDate.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
577
this._documentCreatedDate.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
586
this._revision.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
635
this._lastSaved.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
675
this._fileModifiedDate.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
684
this._fileAccessedDate.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
709
this._fileCreatedDate.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (2)
161
this.textBoxUnrestrictedText.BorderStyle = System.Windows.Forms.BorderStyle.
None
;
263
this.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 (30)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
19285
if (BorderStyle == BorderStyle.
None
)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
516
textBox.BorderStyle = BorderStyle.
None
;
System\Windows\Forms\Controls\Labels\Label.cs (3)
85
_labelState[s_stateBorderStyle] = (int)BorderStyle.
None
;
209
[DefaultValue(BorderStyle.
None
)]
1007
if (BorderStyle != BorderStyle.
None
)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
748
if (_borderStyle != BorderStyle.
None
)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (2)
35
private BorderStyle _borderStyle = BorderStyle.
None
;
133
[DefaultValue(BorderStyle.
None
)]
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
278
BorderStyle = BorderStyle.
None
,
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
28
private BorderStyle _borderStyle = BorderStyle.
None
;
177
[DefaultValue(BorderStyle.
None
)]
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
801
if (_borderStyle != BorderStyle.
None
)
823
if (BorderStyle != BorderStyle.
None
)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (6)
52
BorderStyle = BorderStyle.
None
,
342
if (_borderStyle != BorderStyle.
None
)
523
if (_borderStyle != BorderStyle.
None
)
578
if (!Enabled && BorderStyle != BorderStyle.
None
&& !_upDownEdit.ShouldSerializeBackColor())
843
int borderWidth = (borderStyle == BorderStyle.
None
) ? 0 : 2;
857
if (borderStyle == BorderStyle.
None
)
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (1)
37
BorderStyle = BorderStyle.
None
;
System\Windows\Forms\Layout\Containers\SplitContainer.cs (4)
34
private BorderStyle _borderStyle = BorderStyle.
None
;
233
[DefaultValue(BorderStyle.
None
)]
258
case BorderStyle.
None
:
2041
panel.BorderStyle = BorderStyle.
None
;
System\Windows\Forms\Panels\Panel.cs (3)
21
private BorderStyle _borderStyle = BorderStyle.
None
;
99
[DefaultValue(BorderStyle.
None
)]
220
if (DesignMode && _borderStyle == BorderStyle.
None
)
System\Windows\Forms\Rendering\ControlPaint.cs (1)
406
case BorderStyle.
None
:
System\Windows\Forms\UserControl.cs (2)
22
private BorderStyle _borderStyle = BorderStyle.
None
;
123
[DefaultValue(BorderStyle.
None
)]
System.Windows.Forms.Design (17)
System\ComponentModel\Design\ByteViewer.cs (1)
456
BorderStyle = BorderStyle.
None
,
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
53
BorderStyle = BorderStyle.
None
,
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
49
BorderStyle = BorderStyle.
None
,
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
45
BorderStyle = BorderStyle.
None
;
System\ComponentModel\Design\ObjectSelectorEditor.Selector.cs (1)
25
BorderStyle = BorderStyle.
None
;
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
25
BorderStyle = BorderStyle.
None
;
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
239
BorderStyle = BorderStyle.
None
System\Windows\Forms\Design\LabelDesigner.cs (4)
53
BorderStyle borderStyle = BorderStyle.
None
;
66
if (label is not null && label.BorderStyle == BorderStyle.
None
)
104
if (borderStyle == BorderStyle.
None
)
120
if (borderStyle == BorderStyle.
None
)
System\Windows\Forms\Design\PanelDesigner.cs (1)
55
if (panel.BorderStyle == BorderStyle.
None
)
System\Windows\Forms\Design\PictureBoxDesigner.cs (1)
69
if (pictureBox.BorderStyle == BorderStyle.
None
)
System\Windows\Forms\Design\SplitterDesigner.cs (1)
46
if (((Splitter)Component).BorderStyle == BorderStyle.
None
)
System\Windows\Forms\Design\SplitterPanelDesigner.cs (1)
201
if (_splitterPanel!.BorderStyle == BorderStyle.
None
)
System\Windows\Forms\Design\TextBoxBaseDesigner.cs (1)
37
if (borderStyle == BorderStyle.
None
)
System\Windows\Forms\Design\UpDownBaseDesigner.cs (1)
53
baseline += borderStyle == BorderStyle.
None
? -1 : 2;
System.Windows.Forms.Design.Tests (4)
System\ComponentModel\Design\ByteViewerTests.cs (1)
33
Assert.Equal(BorderStyle.
None
, control.BorderStyle);
System\Windows\Forms\Design\TextBoxBaseDesignerTests.cs (1)
45
[InlineData(BorderStyle.
None
, 0)]
System\Windows\Forms\Design\UpDownBaseDesignerTests.cs (2)
42
InitializeDesigner(BorderStyle.
None
);
49
[InlineData(BorderStyle.
None
, -1)]
System.Windows.Forms.Tests (80)
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
34
Assert.Equal(BorderStyle.
None
, control.BorderStyle);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
33
Assert.Equal(BorderStyle.
None
, control.BorderStyle);
System\Windows\Forms\LabelTests.cs (4)
30
Assert.Equal(BorderStyle.
None
, control.BorderStyle);
339
if (style != BorderStyle.
None
)
341
control.BorderStyle = BorderStyle.
None
;
342
Assert.Equal(BorderStyle.
None
, control.BorderStyle);
System\Windows\Forms\ListBoxTests.cs (13)
237
[InlineData(BorderStyle.
None
, 0x562100C1, 0)]
613
[InlineData(BorderStyle.
None
, 1)]
2053
yield return new object[] { DrawMode.Normal, BorderStyle.
None
, Control.DefaultFont.Height };
2057
yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.
None
, Control.DefaultFont.Height };
2061
yield return new object[] { DrawMode.OwnerDrawVariable, BorderStyle.
None
, 0 };
2082
yield return new object[] { DrawMode.Normal, BorderStyle.
None
, (Control.DefaultFont.Height * 2) };
2086
yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.
None
, (Control.DefaultFont.Height * 2) };
2090
yield return new object[] { DrawMode.OwnerDrawVariable, BorderStyle.
None
, (Control.DefaultFont.Height * 2) };
2112
yield return new object[] { DrawMode.Normal, BorderStyle.
None
};
2116
yield return new object[] { DrawMode.OwnerDrawFixed, BorderStyle.
None
};
2120
yield return new object[] { DrawMode.OwnerDrawVariable, BorderStyle.
None
};
6356
BorderStyle = BorderStyle.
None
,
6380
BorderStyle = BorderStyle.
None
,
System\Windows\Forms\ListViewTests.cs (1)
757
[InlineData(BorderStyle.
None
, 1)]
System\Windows\Forms\PanelTests.cs (7)
34
Assert.Equal(BorderStyle.
None
, control.BorderStyle);
140
[InlineData(BorderStyle.
None
, 0x56000000, 0x10000)]
572
[InlineData(BorderStyle.
None
, 0)]
1056
yield return new object[] { true, BorderStyle.
None
, null, 2 };
1057
yield return new object[] { true, BorderStyle.
None
, new EventArgs(), 2 };
1063
yield return new object[] { false, BorderStyle.
None
, null, 1 };
1064
yield return new object[] { false, BorderStyle.
None
, new EventArgs(), 1 };
System\Windows\Forms\PictureBoxTests.cs (2)
33
Assert.Equal(BorderStyle.
None
, control.BorderStyle);
115
[InlineData(BorderStyle.
None
, 0x56000000, 0)]
System\Windows\Forms\RichTextBoxTests.cs (3)
161
[InlineData(BorderStyle.
None
, 0x56210044, 0)]
10324
yield return new object[] { BorderStyle.
None
, Rectangle.Empty, Rectangle.Empty };
10328
yield return new object[] { BorderStyle.
None
, new Rectangle(1, 2, 3, 4), new Rectangle(1, 2, 3, 4) };
System\Windows\Forms\SplitterPanelTests.cs (2)
40
Assert.Equal(BorderStyle.
None
, control.BorderStyle);
346
[InlineData(BorderStyle.
None
, 0)]
System\Windows\Forms\SplitterTests.cs (3)
29
Assert.Equal(BorderStyle.
None
, control.BorderStyle);
127
[InlineData(BorderStyle.
None
, 0x56000000, 0)]
334
[InlineData(BorderStyle.
None
, 0)]
System\Windows\Forms\TableLayoutPanelTests.cs (2)
35
Assert.Equal(BorderStyle.
None
, control.BorderStyle);
170
[InlineData(BorderStyle.
None
, 0)]
System\Windows\Forms\TabPageTests.cs (2)
38
Assert.Equal(BorderStyle.
None
, control.BorderStyle);
147
Assert.Equal(BorderStyle.
None
, control.BorderStyle);
System\Windows\Forms\ToolStripContentPanelTests.cs (2)
36
Assert.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)]
948
treeView.BorderStyle = BorderStyle.
None
;
949
Assert.Equal(BorderStyle.
None
, treeView.BorderStyle);
954
treeView.BorderStyle = BorderStyle.
None
;
955
Assert.Equal(BorderStyle.
None
, treeView.BorderStyle);
1000
treeView.BorderStyle = BorderStyle.
None
;
1001
Assert.Equal(BorderStyle.
None
, treeView.BorderStyle);
1006
treeView.BorderStyle = BorderStyle.
None
;
1007
Assert.Equal(BorderStyle.
None
, treeView.BorderStyle);
System\Windows\Forms\UpDownBaseTests.cs (5)
170
[InlineData(BorderStyle.
None
, 0x56010000, 0x10000)]
721
yield return new object[] { BorderStyle.
None
, new Size(122, Control.DefaultFont.Height + 3) };
727
yield return new object[] { BorderStyle.
None
, new Size(119, Control.DefaultFont.Height + 3) };
758
yield return new object[] { BorderStyle.
None
, 1, 1, new Size(123, Control.DefaultFont.Height + 3) };
764
yield 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)]
2277
yield return new object[] { BorderStyle.
None
, Control.DefaultFont.Height };
5008
yield return new object[] { multiline, wordWrap, BorderStyle.
None
, Size.Empty, new Size(0, Control.DefaultFont.Height) };
5009
yield return new object[] { multiline, wordWrap, BorderStyle.
None
, new Size(-1, -2), new Size(0, Control.DefaultFont.Height) };
5010
yield return new object[] { multiline, wordWrap, BorderStyle.
None
, new Size(10, 20), new Size(0, Control.DefaultFont.Height) };
5011
yield return new object[] { multiline, wordWrap, BorderStyle.
None
, new Size(30, 40), new Size(0, Control.DefaultFont.Height) };
5012
yield return new object[] { multiline, wordWrap, BorderStyle.
None
, new Size(int.MaxValue, int.MaxValue), new Size(0, Control.DefaultFont.Height) };
5069
yield return new object[] { BorderStyle.
None
, Size.Empty, 0, Control.DefaultFont.Height };
5070
yield return new object[] { BorderStyle.
None
, new Size(-1, -2), 0, Control.DefaultFont.Height };
5071
yield return new object[] { BorderStyle.
None
, new Size(10, 20), 0, Control.DefaultFont.Height };
5072
yield return new object[] { BorderStyle.
None
, new Size(30, 40), 0, Control.DefaultFont.Height };
5073
yield return new object[] { BorderStyle.
None
, new Size(int.MaxValue, int.MaxValue), 0, Control.DefaultFont.Height };