10 writes to SizeType
System.Windows.Forms (10)
winforms\Managed\System\WinForms\StatusStrip.cs (6)
484colStyle.SizeType = (spring) ? SizeType.Percent : SizeType.AutoSize; 493TableLayoutSettings.RowStyles[0].SizeType = SizeType.Absolute; 499this.TableLayoutSettings.ColumnStyles[i].SizeType = SizeType.AutoSize; 526rowStyle.SizeType = (spring) ? SizeType.Percent : SizeType.AutoSize; 536TableLayoutSettings.ColumnStyles[0].SizeType = SizeType.Absolute; 543this.TableLayoutSettings.RowStyles[i].SizeType = SizeType.AutoSize;
winforms\Managed\System\WinForms\TableLayoutSettings.cs (4)
732this.SizeType = sizeType; 738this.SizeType = sizeType; 760this.SizeType = sizeType; 766this.SizeType = sizeType;
23 references to SizeType
System.Windows.Forms (23)
winforms\Managed\System\WinForms\Layout\TableLayout.cs (16)
250if (containerInfo.MaxColumns == 1 && containerInfo.ColumnStyles.Count > 0 && containerInfo.ColumnStyles[0].SizeType == SizeType.Absolute) { 676if (style != null && style.SizeType == SizeType.Absolute) { 769if (style.SizeType == SizeType.Percent) { 785if (style.SizeType == SizeType.Percent) { 912if (lastPercent < styles.Count && ((TableLayoutStyle) styles[lastPercent]).SizeType == SizeType.Percent) { 979return (index < styles.Count) && ((TableLayoutStyle)styles[index]).SizeType == SizeType.Absolute; 1006switch(style.SizeType) { 1019Debug.Assert(style.SizeType == SizeType.AutoSize, "Unsupported SizeType."); 1071SizeType sizeType = i < styles.Count ? ((TableLayoutStyle)styles[i]).SizeType : SizeType.AutoSize; 1093SizeType sizeType = i < styles.Count ? ((TableLayoutStyle)styles[i]).SizeType : SizeType.AutoSize; 1133SizeType sizeType = i < styles.Count ? ((TableLayoutStyle)styles[i]).SizeType : SizeType.AutoSize; 1753if (style.SizeType == SizeType.Percent) { 2096Debug.Assert(containerInfo.ColumnStyles[k].SizeType == SizeType.Absolute, "column " + k + " is not absolutely sized"); 2099Debug.Assert(containerInfo.ColumnStyles[k].SizeType == SizeType.Absolute, "column " + k + " is not absolutely sized"); 2109Debug.Assert(containerInfo.RowStyles[k].SizeType == SizeType.Absolute, "column " + k + " is not absolutely sized"); 2112Debug.Assert(containerInfo.RowStyles[k].SizeType == SizeType.Absolute, "column " + k + " is not absolutely sized");
winforms\Managed\System\WinForms\TableLayoutPanel.cs (2)
524if (cs.SizeType == SizeType.Absolute){ 540if (rs.SizeType == SizeType.Absolute) {
winforms\Managed\System\WinForms\TableLayoutSettings.cs (2)
687switch(style.SizeType) { 696new object[] {style.SizeType, style.Size});
winforms\Managed\System\WinForms\TableLayoutSettingsTypeConverter.cs (2)
105columnStyles.AppendFormat("{0},{1},", colStyle.SizeType, colStyle.Width); 119rowStyles.AppendFormat("{0},{1},", rowStyle.SizeType, rowStyle.Height);
winforms\Managed\System\WinForms\TableLayoutStyle.cs (1)
64return SizeType != SizeType.AutoSize;