28 references to TableLayoutPanelCellBorderStyle
System.Windows.Forms (28)
winforms\Managed\System\WinForms\ControlPaint.cs (16)
2411
internal static void PaintTableControlBorder(
TableLayoutPanelCellBorderStyle
borderStyle, Graphics g, Rectangle bound) {
2418
case
TableLayoutPanelCellBorderStyle
.None:
2419
case
TableLayoutPanelCellBorderStyle
.Single:
2422
case
TableLayoutPanelCellBorderStyle
.Inset:
2423
case
TableLayoutPanelCellBorderStyle
.InsetDouble:
2432
case
TableLayoutPanelCellBorderStyle
.Outset:
2433
case
TableLayoutPanelCellBorderStyle
.OutsetDouble:
2434
case
TableLayoutPanelCellBorderStyle
.OutsetPartial:
2446
internal static void PaintTableCellBorder(
TableLayoutPanelCellBorderStyle
borderStyle, Graphics g, Rectangle bound) {
2450
case
TableLayoutPanelCellBorderStyle
.None :
2453
case
TableLayoutPanelCellBorderStyle
.Single :
2457
case
TableLayoutPanelCellBorderStyle
.Inset :
2467
case
TableLayoutPanelCellBorderStyle
.InsetDouble :
2481
case
TableLayoutPanelCellBorderStyle
.Outset :
2491
case
TableLayoutPanelCellBorderStyle
.OutsetDouble :
2492
case
TableLayoutPanelCellBorderStyle
.OutsetPartial :
winforms\Managed\System\WinForms\TableLayoutPanel.cs (7)
92
DefaultValue(
TableLayoutPanelCellBorderStyle
.None),
97
public
TableLayoutPanelCellBorderStyle
CellBorderStyle {
103
if (value !=
TableLayoutPanelCellBorderStyle
.None) {
403
TableLayoutPanelCellBorderStyle
cellBorderStyle = this.CellBorderStyle;
463
if (!HScroll && !VScroll && cellBorderStyle !=
TableLayoutPanelCellBorderStyle
.None) {
467
if (cellBorderStyle ==
TableLayoutPanelCellBorderStyle
.Inset) {
471
else if (cellBorderStyle ==
TableLayoutPanelCellBorderStyle
.Outset) {
winforms\Managed\System\WinForms\TableLayoutSettings.cs (5)
41
private
TableLayoutPanelCellBorderStyle
_borderStyle;
76
[DefaultValue(
TableLayoutPanelCellBorderStyle
.None), SRCategory(SR.CatAppearance), SRDescription(SR.TableLayoutPanelCellBorderStyleDescr)]
77
internal
TableLayoutPanelCellBorderStyle
CellBorderStyle {
81
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
TableLayoutPanelCellBorderStyle
.None, (int)
TableLayoutPanelCellBorderStyle
.OutsetPartial)){