47 references to TableLayoutPanelCellBorderStyle
System.Windows.Forms (26)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (7)
73[DefaultValue(TableLayoutPanelCellBorderStyle.None)] 77public TableLayoutPanelCellBorderStyle CellBorderStyle 85if (value != TableLayoutPanelCellBorderStyle.None) 340TableLayoutPanelCellBorderStyle cellBorderStyle = CellBorderStyle; 428if (!HScroll && !VScroll && cellBorderStyle != TableLayoutPanelCellBorderStyle.None) 440if (cellBorderStyle == TableLayoutPanelCellBorderStyle.Inset) 456else if (cellBorderStyle == TableLayoutPanelCellBorderStyle.Outset)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (3)
28private TableLayoutPanelCellBorderStyle _borderStyle; 63[DefaultValue(TableLayoutPanelCellBorderStyle.None)] 66internal TableLayoutPanelCellBorderStyle CellBorderStyle
System\Windows\Forms\Rendering\ControlPaint.cs (16)
2320TableLayoutPanelCellBorderStyle borderStyle, 2332case TableLayoutPanelCellBorderStyle.None: 2333case TableLayoutPanelCellBorderStyle.Single: 2336case TableLayoutPanelCellBorderStyle.Inset: 2337case TableLayoutPanelCellBorderStyle.InsetDouble: 2344case TableLayoutPanelCellBorderStyle.Outset: 2345case TableLayoutPanelCellBorderStyle.OutsetDouble: 2346case TableLayoutPanelCellBorderStyle.OutsetPartial: 2355internal static void PaintTableCellBorder(TableLayoutPanelCellBorderStyle borderStyle, Graphics g, Rectangle bound) 2360case TableLayoutPanelCellBorderStyle.None: 2363case TableLayoutPanelCellBorderStyle.Single: 2367case TableLayoutPanelCellBorderStyle.Inset: 2374case TableLayoutPanelCellBorderStyle.InsetDouble: 2386case TableLayoutPanelCellBorderStyle.Outset: 2393case TableLayoutPanelCellBorderStyle.OutsetDouble: 2394case TableLayoutPanelCellBorderStyle.OutsetPartial:
System.Windows.Forms.Design (2)
System\ComponentModel\Design\ByteViewer.cs (1)
60CellBorderStyle = TableLayoutPanelCellBorderStyle.Inset;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
840if (Table.CellBorderStyle != TableLayoutPanelCellBorderStyle.None)
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
42Assert.Equal(TableLayoutPanelCellBorderStyle.Inset, control.CellBorderStyle);
System.Windows.Forms.Tests (18)
SerializableTypesTests.cs (2)
274CellBorderStyle = TableLayoutPanelCellBorderStyle.OutsetDouble, 308Assert.Equal(TableLayoutPanelCellBorderStyle.None, result.CellBorderStyle); // This property is not serialized.
System\Windows\Forms\TableLayoutPanelTests.cs (16)
44Assert.Equal(TableLayoutPanelCellBorderStyle.None, control.CellBorderStyle); 210yield return new object[] { resizeRedraw, TableLayoutPanelCellBorderStyle.Inset, true, 1 }; 211yield return new object[] { resizeRedraw, TableLayoutPanelCellBorderStyle.InsetDouble, true, 1 }; 212yield return new object[] { resizeRedraw, TableLayoutPanelCellBorderStyle.None, resizeRedraw, 1 }; 213yield return new object[] { resizeRedraw, TableLayoutPanelCellBorderStyle.Outset, true, 1 }; 214yield return new object[] { resizeRedraw, TableLayoutPanelCellBorderStyle.OutsetDouble, true, 1 }; 215yield return new object[] { resizeRedraw, TableLayoutPanelCellBorderStyle.OutsetPartial, true, 1 }; 216yield return new object[] { resizeRedraw, TableLayoutPanelCellBorderStyle.Single, true, 1 }; 222public void TableLayoutPanel_CellBorderStyle_Set_GetReturnsExpected(bool resizeRedraw, TableLayoutPanelCellBorderStyle value, bool expectedResizeRedraw, int expectedLayoutCallCount) 251public void TableLayoutPanel_CellBorderStyle_SetWithHandle_GetReturnsExpected(bool resizeRedraw, TableLayoutPanelCellBorderStyle value, bool expectedResizeRedraw, int expectedLayoutCallCount) 292[InvalidEnumData<TableLayoutPanelCellBorderStyle>] 293public void TableLayoutPanel_CellBorderStyle_SetInvalid_ThrowsArgumentOutOfRangeException(TableLayoutPanelCellBorderStyle value) 1412foreach (TableLayoutPanelCellBorderStyle cellBorderStyle in Enum.GetValues(typeof(TableLayoutPanelCellBorderStyle))) 1427public void TableLayoutPanel_OnPaintBackground_InvokeEmpty_Success(RightToLeft rightToLeft, TableLayoutPanelCellBorderStyle cellBorderStyle, bool hScroll, bool vScroll) 1467public void TableLayoutPanel_OnPaintBackground_InvokeNotEmpty_Success(RightToLeft rightToLeft, TableLayoutPanelCellBorderStyle cellBorderStyle, bool hScroll, bool vScroll)