10 writes to SizeType
System.Windows.Forms (10)
winforms\Managed\System\WinForms\StatusStrip.cs (6)
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\TableLayoutSettings.cs (4)
732
this.
SizeType
= sizeType;
738
this.
SizeType
= sizeType;
760
this.
SizeType
= sizeType;
766
this.
SizeType
= sizeType;
23 references to SizeType
System.Windows.Forms (23)
winforms\Managed\System\WinForms\Layout\TableLayout.cs (16)
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;
1006
switch(style.
SizeType
) {
1019
Debug.Assert(style.
SizeType
== SizeType.AutoSize, "Unsupported SizeType.");
1071
SizeType sizeType = i < styles.Count ? ((TableLayoutStyle)styles[i]).
SizeType
: SizeType.AutoSize;
1093
SizeType sizeType = i < styles.Count ? ((TableLayoutStyle)styles[i]).
SizeType
: SizeType.AutoSize;
1133
SizeType sizeType = i < styles.Count ? ((TableLayoutStyle)styles[i]).
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\TableLayoutPanel.cs (2)
524
if (cs.
SizeType
== SizeType.Absolute){
540
if (rs.
SizeType
== SizeType.Absolute) {
winforms\Managed\System\WinForms\TableLayoutSettings.cs (2)
687
switch(style.
SizeType
) {
696
new object[] {style.
SizeType
, style.Size});
winforms\Managed\System\WinForms\TableLayoutSettingsTypeConverter.cs (2)
105
columnStyles.AppendFormat("{0},{1},", colStyle.
SizeType
, colStyle.Width);
119
rowStyles.AppendFormat("{0},{1},", rowStyle.
SizeType
, rowStyle.Height);
winforms\Managed\System\WinForms\TableLayoutStyle.cs (1)
64
return
SizeType
!= SizeType.AutoSize;