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"]; 525_componentChangeService.OnComponentChanging(_tableLayoutPanel, _rowStyleProp); 530_componentChangeService.OnComponentChanging(_tableLayoutPanel, _colStyleProp); 536int[] columnWidths = _tableLayoutPanel.GetColumnWidths(); 537int[] rowHeights = _tableLayoutPanel.GetRowHeights(); 541if (_tableLayoutPanel.ColumnStyles.Count > columnWidths.Length) 543int diff = _tableLayoutPanel.ColumnStyles.Count - columnWidths.Length; 546_tableLayoutPanel.ColumnStyles.RemoveAt(_tableLayoutPanel.ColumnStyles.Count - 1); 550if (_tableLayoutPanel.RowStyles.Count > rowHeights.Length) 552int diff = _tableLayoutPanel.RowStyles.Count - rowHeights.Length; 555_tableLayoutPanel.RowStyles.RemoveAt(_tableLayoutPanel.RowStyles.Count - 1); 590int styleCount = _isRowCollection ? _tableLayoutPanel.RowStyles.Count : _tableLayoutPanel.ColumnStyles.Count; 599RowStyle rowStyle = _tableLayoutPanel.RowStyles[i]; 605ColumnStyle colStyle = _tableLayoutPanel.ColumnStyles[i];