195 references to BorderStyle
System.Web.Mobile (1)
UI\MobileControls\Design\Util\HeaderLabel.cs (1)
26
BorderStyle =
BorderStyle
.None;
System.Windows.Forms (181)
winforms\Managed\System\WinForms\ControlPaint.cs (4)
428
internal static void PrintBorder(Graphics graphics, Rectangle bounds,
BorderStyle
style, Border3DStyle b3dStyle) {
433
case
BorderStyle
.FixedSingle:
436
case
BorderStyle
.Fixed3D:
439
case
BorderStyle
.None:
winforms\Managed\System\WinForms\DataGrid.cs (12)
85
private const
BorderStyle
defaultBorderStyle =
BorderStyle
.Fixed3D;
195
private
BorderStyle
borderStyle;
550
public
BorderStyle
BorderStyle {
556
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
BorderStyle
.None, (int)
BorderStyle
.Fixed3D)){
557
throw new InvalidEnumArgumentException("value", (int)value, typeof(
BorderStyle
));
586
if (BorderStyle ==
BorderStyle
.Fixed3D) {
589
else if (BorderStyle ==
BorderStyle
.FixedSingle) {
7290
if (BorderStyle ==
BorderStyle
.None)
7292
if (BorderStyle ==
BorderStyle
.Fixed3D) {
7296
else if (BorderStyle ==
BorderStyle
.FixedSingle) {
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (1)
91
edit.BorderStyle =
BorderStyle
.None;
winforms\Managed\System\WinForms\DataGridView.cs (10)
273
private const
BorderStyle
defaultBorderStyle =
BorderStyle
.FixedSingle;
325
private
BorderStyle
borderStyle;
1402
DefaultValue(
BorderStyle
.FixedSingle),
1406
public
BorderStyle
BorderStyle
1415
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
BorderStyle
.None, (int)
BorderStyle
.Fixed3D)){
1416
throw new InvalidEnumArgumentException("value", (int)value, typeof(
BorderStyle
));
1455
if (this.BorderStyle ==
BorderStyle
.Fixed3D)
1459
else if (this.BorderStyle ==
BorderStyle
.FixedSingle)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (3)
19832
if (this.BorderStyle ==
BorderStyle
.None)
19864
if (this.BorderStyle ==
BorderStyle
.Fixed3D)
19876
else if (this.BorderStyle ==
BorderStyle
.FixedSingle)
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
540
textBox.BorderStyle =
BorderStyle
.None;
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (1)
662
this.BorderStyle =
BorderStyle
.None;
winforms\Managed\System\WinForms\Label.cs (12)
54
private static readonly BitVector32.Section StateBorderStyle = BitVector32.CreateSection((int)
BorderStyle
.Fixed3D, StateFlatStyle);
115
labelState[StateBorderStyle] = (int)
BorderStyle
.None;
277
DefaultValue(
BorderStyle
.None),
281
public virtual
BorderStyle
BorderStyle {
283
return (
BorderStyle
)labelState[StateBorderStyle];
287
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
BorderStyle
.None, (int)
BorderStyle
.Fixed3D)){
288
throw new InvalidEnumArgumentException("value", (int)value, typeof(
BorderStyle
));
363
case
BorderStyle
.FixedSingle:
366
case
BorderStyle
.Fixed3D:
1245
if (BorderStyle !=
BorderStyle
.None) {
1257
if (BorderStyle ==
BorderStyle
.Fixed3D) {
winforms\Managed\System\WinForms\ListBox.cs (11)
113
BorderStyle
borderStyle = System.Windows.Forms.
BorderStyle
.Fixed3D;
261
DefaultValue(
BorderStyle
.Fixed3D),
265
public
BorderStyle
BorderStyle {
272
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
BorderStyle
.None, (int)
BorderStyle
.Fixed3D)){
273
throw new InvalidEnumArgumentException("value", (int)value, typeof(
BorderStyle
));
345
case
BorderStyle
.Fixed3D:
348
case
BorderStyle
.FixedSingle:
759
if (borderStyle !=
BorderStyle
.None) {
2276
if ((NativeMethods.PRF_NONCLIENT & (int)m.LParam) != 0 && Application.RenderWithVisualStyles && this.BorderStyle ==
BorderStyle
.Fixed3D) {
winforms\Managed\System\WinForms\ListView.cs (10)
69
private
BorderStyle
borderStyle = System.Windows.Forms.
BorderStyle
.Fixed3D;
458
DefaultValue(
BorderStyle
.Fixed3D),
462
public
BorderStyle
BorderStyle {
469
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
BorderStyle
.None, (int)
BorderStyle
.Fixed3D))
471
throw new InvalidEnumArgumentException("value", (int)value, typeof(
BorderStyle
));
707
case
BorderStyle
.Fixed3D:
710
case
BorderStyle
.FixedSingle:
6227
if ((NativeMethods.PRF_NONCLIENT & (int)m.LParam) != 0 && Application.RenderWithVisualStyles && this.BorderStyle ==
BorderStyle
.Fixed3D) {
winforms\Managed\System\WinForms\MaskedTextBox.cs (2)
2005
if (Application.RenderWithVisualStyles && this.IsHandleCreated && this.BorderStyle ==
BorderStyle
.Fixed3D)
3177
if ((NativeMethods.PRF_NONCLIENT & unchecked( (int) (long)m.LParam)) != 0 && Application.RenderWithVisualStyles && this.BorderStyle ==
BorderStyle
.Fixed3D) {
winforms\Managed\System\WinForms\Panel.cs (14)
39
private
BorderStyle
borderStyle = System.Windows.Forms.
BorderStyle
.None;
128
DefaultValue(
BorderStyle
.None),
132
public
BorderStyle
BorderStyle {
140
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
BorderStyle
.None, (int)
BorderStyle
.Fixed3D))
142
throw new InvalidEnumArgumentException("value", (int)value, typeof(
BorderStyle
));
169
case
BorderStyle
.Fixed3D:
172
case
BorderStyle
.FixedSingle:
284
if (DesignMode && borderStyle ==
BorderStyle
.None) {
305
private static string StringFromBorderStyle(
BorderStyle
value) {
306
Type borderStyleType = typeof(
BorderStyle
);
307
return (ClientUtils.IsEnumValid(value, (int)value, (int)
BorderStyle
.None, (int)
BorderStyle
.Fixed3D)) ? (borderStyleType.ToString() + "." + value.ToString()) : "[Invalid BorderStyle]";
winforms\Managed\System\WinForms\PictureBox.cs (9)
46
private
BorderStyle
borderStyle = System.Windows.Forms.
BorderStyle
.None;
155
DefaultValue(
BorderStyle
.None),
160
public
BorderStyle
BorderStyle {
167
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
BorderStyle
.None, (int)
BorderStyle
.Fixed3D)){
168
throw new InvalidEnumArgumentException("value", (int)value, typeof(
BorderStyle
));
247
case
BorderStyle
.Fixed3D:
250
case
BorderStyle
.FixedSingle:
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
351
edit.BorderStyle =
BorderStyle
.None;
winforms\Managed\System\WinForms\RichTextBox.cs (2)
422
if (
BorderStyle
.FixedSingle == BorderStyle && ((cp.Style & NativeMethods.WS_BORDER) != 0)) {
3472
if (BorderStyle == System.Windows.Forms.
BorderStyle
.Fixed3D) {
winforms\Managed\System\WinForms\SplitContainer.cs (11)
64
private
BorderStyle
borderStyle = System.Windows.Forms.
BorderStyle
.None;
352
DefaultValue(
BorderStyle
.None),
357
public
BorderStyle
BorderStyle {
364
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
BorderStyle
.None, (int)
BorderStyle
.Fixed3D)){
365
throw new InvalidEnumArgumentException("value", (int)value, typeof(
BorderStyle
));
382
case
BorderStyle
.None:
385
case
BorderStyle
.FixedSingle:
388
case
BorderStyle
.Fixed3D:
2117
((SplitterPanel)ctl).BorderStyle =
BorderStyle
.None;
winforms\Managed\System\WinForms\Splitter.cs (9)
45
private
BorderStyle
borderStyle = System.Windows.Forms.
BorderStyle
.None;
242
DefaultValue(
BorderStyle
.None),
247
public
BorderStyle
BorderStyle {
254
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
BorderStyle
.None, (int)
BorderStyle
.Fixed3D)){
255
throw new InvalidEnumArgumentException("value", (int)value, typeof(
BorderStyle
));
280
case
BorderStyle
.Fixed3D:
283
case
BorderStyle
.FixedSingle:
winforms\Managed\System\WinForms\SplitterPanel.cs (1)
133
public new
BorderStyle
BorderStyle {
winforms\Managed\System\WinForms\TableLayoutPanel.cs (1)
81
public new
BorderStyle
BorderStyle {
winforms\Managed\System\WinForms\TextBox.cs (2)
607
if (Application.RenderWithVisualStyles && this.IsHandleCreated && this.BorderStyle ==
BorderStyle
.Fixed3D) {
845
if ((NativeMethods.PRF_NONCLIENT & (int)m.LParam) != 0 && Application.RenderWithVisualStyles && this.BorderStyle ==
BorderStyle
.Fixed3D) {
winforms\Managed\System\WinForms\TextBoxBase.cs (12)
75
private
BorderStyle
borderStyle = System.Windows.Forms.
BorderStyle
.Fixed3D;
384
DefaultValue(
BorderStyle
.Fixed3D),
388
public
BorderStyle
BorderStyle {
398
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
BorderStyle
.None, (int)
BorderStyle
.Fixed3D)){
399
throw new InvalidEnumArgumentException("value", (int)value, typeof(
BorderStyle
));
499
case
BorderStyle
.Fixed3D:
502
case
BorderStyle
.FixedSingle:
946
if (borderStyle !=
BorderStyle
.None) {
966
if (BorderStyle !=
BorderStyle
.None) {
970
if (BorderStyle ==
BorderStyle
.FixedSingle) {
winforms\Managed\System\WinForms\ToolBar.cs (12)
68
private
BorderStyle
borderStyle = System.Windows.Forms.
BorderStyle
.None;
319
DefaultValue(
BorderStyle
.None),
323
public
BorderStyle
BorderStyle {
330
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
BorderStyle
.None, (int)
BorderStyle
.Fixed3D)){
331
throw new InvalidEnumArgumentException("value", (int)value, typeof(
BorderStyle
));
438
case
BorderStyle
.Fixed3D:
441
case
BorderStyle
.FixedSingle:
736
case
BorderStyle
.FixedSingle:
739
case
BorderStyle
.Fixed3D:
787
if (borderStyle !=
BorderStyle
.None) {
winforms\Managed\System\WinForms\ToolStripTextBox.cs (4)
158
textBox.BorderStyle =
BorderStyle
.Fixed3D;
322
DefaultValue(
BorderStyle
.Fixed3D),
326
public
BorderStyle
BorderStyle {
680
return ((BorderStyle ==
BorderStyle
.Fixed3D) &&
winforms\Managed\System\WinForms\TreeView.cs (10)
144
private
BorderStyle
borderStyle = System.Windows.Forms.
BorderStyle
.Fixed3D;
283
DefaultValue(
BorderStyle
.Fixed3D),
287
public
BorderStyle
BorderStyle {
297
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
BorderStyle
.None, (int)
BorderStyle
.Fixed3D))
299
throw new InvalidEnumArgumentException("value", (int)value, typeof(
BorderStyle
));
362
case
BorderStyle
.Fixed3D:
365
case
BorderStyle
.FixedSingle:
3133
if ((NativeMethods.PRF_NONCLIENT & (int)m.LParam) != 0 && Application.RenderWithVisualStyles && this.BorderStyle ==
BorderStyle
.Fixed3D) {
winforms\Managed\System\WinForms\UpDownBase.cs (17)
37
private const
BorderStyle
DefaultBorderStyle =
BorderStyle
.Fixed3D;
67
private
BorderStyle
borderStyle = DefaultBorderStyle;
94
upDownEdit.BorderStyle =
BorderStyle
.None;
278
DefaultValue(
BorderStyle
.Fixed3D),
282
public
BorderStyle
BorderStyle {
289
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
BorderStyle
.None, (int)
BorderStyle
.Fixed3D))
291
throw new InvalidEnumArgumentException("value", (int)value, typeof(
BorderStyle
));
361
case
BorderStyle
.Fixed3D:
364
case
BorderStyle
.FixedSingle:
535
if (borderStyle !=
BorderStyle
.None) {
804
if (borderStyle !=
BorderStyle
.None) {
850
if (!Enabled && BorderStyle !=
BorderStyle
.None && !upDownEdit.ShouldSerializeBackColor()) {
1096
BorderStyle
borderStyle = BorderStyle;
1100
int borderWidth = (borderStyle ==
BorderStyle
.None) ? 0 : 2;
1114
if (borderStyle ==
BorderStyle
.None) {
winforms\Managed\System\WinForms\UserControl.cs (9)
40
private
BorderStyle
borderStyle = System.Windows.Forms.
BorderStyle
.None;
164
DefaultValue(
BorderStyle
.None),
168
public
BorderStyle
BorderStyle {
176
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
BorderStyle
.None, (int)
BorderStyle
.Fixed3D))
178
throw new InvalidEnumArgumentException("value", (int)value, typeof(
BorderStyle
));
206
case
BorderStyle
.Fixed3D:
209
case
BorderStyle
.FixedSingle:
System.Workflow.Activities (2)
Designers\SetStateDesigner.cs (1)
250
dropDownList.BorderStyle =
BorderStyle
.None;
Rules\Design\Dialogs\BasicBrowserDialog.Designer.cs (1)
177
this.previewRichTextBox.BorderStyle = System.Windows.Forms.
BorderStyle
.None;
System.Workflow.ComponentModel (5)
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
163
this.dummyPanel.BorderStyle =
BorderStyle
.None;
AuthoringOM\Design\Dialogs\ActivityBindForm.Designer.cs (1)
57
this.dummyPanel.BorderStyle = System.Windows.Forms.
BorderStyle
.FixedSingle;
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (3)
170
this.helpTextHolder.BorderStyle = System.Windows.Forms.
BorderStyle
.FixedSingle;
288
this.artifactLabel.BorderStyle = System.Windows.Forms.
BorderStyle
.None;
1198
this.BorderStyle =
BorderStyle
.None;
System.WorkflowServices (3)
System\Workflow\Activities\Design\EditableLabelControl.cs (1)
88
TextBox.BorderStyle =
BorderStyle
.Fixed3D;
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (1)
121
this.operationsListBox.BorderStyle = System.Windows.Forms.
BorderStyle
.None;
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.designer.cs (1)
75
this.parametersGrid.BorderStyle = System.Windows.Forms.
BorderStyle
.None;
WsatUI (3)
MMCUI\WSATControl.designer.cs (3)
65
this.textBoxNetworkDtcAccess.BorderStyle = System.Windows.Forms.
BorderStyle
.None;
81
this.textBox1.BorderStyle = System.Windows.Forms.
BorderStyle
.None;
172
this.textBoxEndpointCert.BorderStyle = System.Windows.Forms.
BorderStyle
.FixedSingle;