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"];
514
_componentChangeService.OnComponentChanging(
_tableLayoutPanel
, _rowStyleProp);
519
_componentChangeService.OnComponentChanging(
_tableLayoutPanel
, _colStyleProp);
525
int[] columnWidths =
_tableLayoutPanel
.GetColumnWidths();
526
int[] rowHeights =
_tableLayoutPanel
.GetRowHeights();
530
if (
_tableLayoutPanel
.ColumnStyles.Count > columnWidths.Length)
532
int diff =
_tableLayoutPanel
.ColumnStyles.Count - columnWidths.Length;
535
_tableLayoutPanel
.ColumnStyles.RemoveAt(
_tableLayoutPanel
.ColumnStyles.Count - 1);
539
if (
_tableLayoutPanel
.RowStyles.Count > rowHeights.Length)
541
int diff =
_tableLayoutPanel
.RowStyles.Count - rowHeights.Length;
544
_tableLayoutPanel
.RowStyles.RemoveAt(
_tableLayoutPanel
.RowStyles.Count - 1);
579
int styleCount = _isRowCollection ?
_tableLayoutPanel
.RowStyles.Count :
_tableLayoutPanel
.ColumnStyles.Count;
588
RowStyle rowStyle =
_tableLayoutPanel
.RowStyles[i];
594
ColumnStyle colStyle =
_tableLayoutPanel
.ColumnStyles[i];