23 references to Inset
System.Windows.Forms (13)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (1)
750
(ButtonState == ButtonState.Normal) ? ButtonBorderStyle.Outset : ButtonBorderStyle.
Inset
);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAdapter.cs (2)
27
c, 2, ButtonBorderStyle.
Inset
,
28
c, 2, ButtonBorderStyle.
Inset
);
System\Windows\Forms\Rendering\ControlPaint.cs (10)
567
case ButtonBorderStyle.
Inset
:
777
case ButtonBorderStyle.
Inset
:
786
topStyle == ButtonBorderStyle.
Inset
836
case ButtonBorderStyle.
Inset
:
845
leftStyle == ButtonBorderStyle.
Inset
905
case ButtonBorderStyle.
Inset
:
914
bottomStyle != ButtonBorderStyle.
Inset
979
case ButtonBorderStyle.
Inset
:
988
rightStyle != ButtonBorderStyle.
Inset
1091
if (style == ButtonBorderStyle.
Inset
)
System.Windows.Forms.Design (4)
System\Drawing\Design\ColorEditor.ColorPalette.cs (4)
404
SystemColors.Control, 2, ButtonBorderStyle.
Inset
,
405
SystemColors.Control, 2, ButtonBorderStyle.
Inset
,
406
SystemColors.Control, 2, ButtonBorderStyle.
Inset
,
407
SystemColors.Control, 2, ButtonBorderStyle.
Inset
);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ControlPaintTests.cs (4)
542
foreach (ButtonBorderStyle style in new ButtonBorderStyle[] { ButtonBorderStyle.Dashed, ButtonBorderStyle.Dotted, ButtonBorderStyle.
Inset
, ButtonBorderStyle.None, ButtonBorderStyle.Outset, ButtonBorderStyle.Solid, ButtonBorderStyle.None - 1, ButtonBorderStyle.Outset + 1 })
586
foreach (ButtonBorderStyle style in new ButtonBorderStyle[] { ButtonBorderStyle.Dashed, ButtonBorderStyle.Dotted, ButtonBorderStyle.
Inset
, ButtonBorderStyle.None, ButtonBorderStyle.Outset, ButtonBorderStyle.Solid, ButtonBorderStyle.None - 1, ButtonBorderStyle.Outset + 1 })
632
foreach (ButtonBorderStyle style in new ButtonBorderStyle[] { ButtonBorderStyle.Dashed, ButtonBorderStyle.Dotted, ButtonBorderStyle.
Inset
, ButtonBorderStyle.None, ButtonBorderStyle.Outset, ButtonBorderStyle.Solid, ButtonBorderStyle.None - 1, ButtonBorderStyle.Outset + 1 })
672
[InlineData(ButtonBorderStyle.
Inset
)]
System\Windows\Forms\ControlPaintTests.Rendering.cs (2)
43
ControlPaint.DrawBorder(graphics, bounds, Color.Gray, ButtonBorderStyle.
Inset
);
103
ControlPaint.DrawBorder(graphics, bounds, SystemColors.Control, ButtonBorderStyle.
Inset
);