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