1 write to _tableLayoutPanel
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\StyleEditorForm.cs (1)
96
_tableLayoutPanel
= Context.Instance as TableLayoutPanel;
21 references to _tableLayoutPanel
System.Windows.Forms.Design (21)
System\Windows\Forms\Design\StyleEditorForm.cs (21)
97
_tableLayoutPanel
.SuspendLayout();
102
var host =
_tableLayoutPanel
.Site.GetService<IDesignerHost>();
105
_tableLayoutPanelDesigner = host.GetDesigner(
_tableLayoutPanel
) as TableLayoutPanelDesigner;
109
_rowStyleProp = TypeDescriptor.GetProperties(
_tableLayoutPanel
)["RowStyles"];
110
_colStyleProp = TypeDescriptor.GetProperties(
_tableLayoutPanel
)["ColumnStyles"];
525
_componentChangeService.OnComponentChanging(
_tableLayoutPanel
, _rowStyleProp);
530
_componentChangeService.OnComponentChanging(
_tableLayoutPanel
, _colStyleProp);
536
int[] columnWidths =
_tableLayoutPanel
.GetColumnWidths();
537
int[] rowHeights =
_tableLayoutPanel
.GetRowHeights();
541
if (
_tableLayoutPanel
.ColumnStyles.Count > columnWidths.Length)
543
int diff =
_tableLayoutPanel
.ColumnStyles.Count - columnWidths.Length;
546
_tableLayoutPanel
.ColumnStyles.RemoveAt(
_tableLayoutPanel
.ColumnStyles.Count - 1);
550
if (
_tableLayoutPanel
.RowStyles.Count > rowHeights.Length)
552
int diff =
_tableLayoutPanel
.RowStyles.Count - rowHeights.Length;
555
_tableLayoutPanel
.RowStyles.RemoveAt(
_tableLayoutPanel
.RowStyles.Count - 1);
590
int styleCount = _isRowCollection ?
_tableLayoutPanel
.RowStyles.Count :
_tableLayoutPanel
.ColumnStyles.Count;
599
RowStyle rowStyle =
_tableLayoutPanel
.RowStyles[i];
605
ColumnStyle colStyle =
_tableLayoutPanel
.ColumnStyles[i];