23 references to Inset
System.Windows.Forms (13)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (1)
753
(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)
535
case ButtonBorderStyle.
Inset
:
745
case ButtonBorderStyle.
Inset
:
754
topStyle == ButtonBorderStyle.
Inset
804
case ButtonBorderStyle.
Inset
:
813
leftStyle == ButtonBorderStyle.
Inset
873
case ButtonBorderStyle.
Inset
:
882
bottomStyle != ButtonBorderStyle.
Inset
947
case ButtonBorderStyle.
Inset
:
956
rightStyle != ButtonBorderStyle.
Inset
1059
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)
540
foreach (ButtonBorderStyle style in new ButtonBorderStyle[] { ButtonBorderStyle.Dashed, ButtonBorderStyle.Dotted, ButtonBorderStyle.
Inset
, ButtonBorderStyle.None, ButtonBorderStyle.Outset, ButtonBorderStyle.Solid, ButtonBorderStyle.None - 1, ButtonBorderStyle.Outset + 1 })
584
foreach (ButtonBorderStyle style in new ButtonBorderStyle[] { ButtonBorderStyle.Dashed, ButtonBorderStyle.Dotted, ButtonBorderStyle.
Inset
, ButtonBorderStyle.None, ButtonBorderStyle.Outset, ButtonBorderStyle.Solid, ButtonBorderStyle.None - 1, ButtonBorderStyle.Outset + 1 })
630
foreach (ButtonBorderStyle style in new ButtonBorderStyle[] { ButtonBorderStyle.Dashed, ButtonBorderStyle.Dotted, ButtonBorderStyle.
Inset
, ButtonBorderStyle.None, ButtonBorderStyle.Outset, ButtonBorderStyle.Solid, ButtonBorderStyle.None - 1, ButtonBorderStyle.Outset + 1 })
670
[InlineData(ButtonBorderStyle.
Inset
)]
System\Windows\Forms\ControlPaintTests.Rendering.cs (2)
41
ControlPaint.DrawBorder(graphics, bounds, Color.Gray, ButtonBorderStyle.
Inset
);
101
ControlPaint.DrawBorder(graphics, bounds, SystemColors.Control, ButtonBorderStyle.
Inset
);