80 references to SizeType
System.Web.Entity.Design (7)
System\Data\WebControls\Design\Util\WizardForm.cs (7)
110this._wizardButtonsTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); 111this._wizardButtonsTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 3F)); 112this._wizardButtonsTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); 113this._wizardButtonsTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 7F)); 114this._wizardButtonsTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); 115this._wizardButtonsTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 7F)); 116this._wizardButtonsTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
System.Windows.Forms (66)
winforms\Managed\System\WinForms\Layout\TableLayout.cs (23)
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; 1007case SizeType.Absolute: 1012case SizeType.Percent: 1019Debug.Assert(style.SizeType == SizeType.AutoSize, "Unsupported SizeType."); 1071SizeType sizeType = i < styles.Count ? ((TableLayoutStyle)styles[i]).SizeType : SizeType.AutoSize; 1072if (sizeType == SizeType.Percent) { 1093SizeType sizeType = i < styles.Count ? ((TableLayoutStyle)styles[i]).SizeType : SizeType.AutoSize; 1103if (sizeType == SizeType.Percent) { 1133SizeType sizeType = i < styles.Count ? ((TableLayoutStyle)styles[i]).SizeType : SizeType.AutoSize; 1134if (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\MDIWindowDialog.cs (2)
130this.okCancelTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); 131this.okCancelTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (3)
285tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(SizeType.Percent, 100F)); 289tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(SizeType.Percent, 50F)); 290tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(SizeType.Percent, 50F));
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (4)
212this.overarchingTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); 223this.buttonTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); 263this.pictureLabelTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); 270this.pictureLabelTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.AutoSize));
winforms\Managed\System\WinForms\StatusStrip.cs (8)
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\TableLayoutPanel.cs (2)
524if (cs.SizeType == SizeType.Absolute){ 540if (rs.SizeType == SizeType.Absolute) {
winforms\Managed\System\WinForms\TableLayoutSettings.cs (8)
688case SizeType.AutoSize: 692case SizeType.Absolute: 693case SizeType.Percent: 695style.GetType().GetConstructor(new Type[] {typeof(SizeType), typeof(int)}), 731public ColumnStyle(SizeType sizeType) { 737public ColumnStyle(SizeType sizeType, float width) { 759public RowStyle(SizeType sizeType) { 765public RowStyle(SizeType sizeType, float height) {
winforms\Managed\System\WinForms\TableLayoutSettingsTypeConverter.cs (3)
185Type sizeTypeType = typeof(SizeType); 204SizeType type = (SizeType)Enum.Parse(sizeTypeType, styleString.Substring(currentIndex, nextIndex - currentIndex), true);
winforms\Managed\System\WinForms\TableLayoutStyle.cs (5)
23private SizeType _sizeType = SizeType.AutoSize; 27[DefaultValue(SizeType.AutoSize)] 28public SizeType SizeType { 64return SizeType != SizeType.AutoSize;
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (1)
214this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 389F));
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (7)
187this.tableLayoutPanelOuter.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 510F)); 206this.warningTextTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); 231this.tableLayoutPanelQuestion.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); 232this.tableLayoutPanelQuestion.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 58F)); 255this.tableLayoutPanelButtons.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); 256this.tableLayoutPanelButtons.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); 286this.tableLayoutPanelInfo.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
System.Workflow.ComponentModel (7)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (7)
182this.nameLocationTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); 190this.nameLocationTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); 191this.nameLocationTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); 272this.okCancelTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33F)); 273this.okCancelTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33F)); 274this.okCancelTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33F)); 279this.okCancelTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));