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