75 references to s_preferredHeight
System.Windows.Forms.Tests (75)
TextBoxBaseTests.cs (75)
215
Assert.Equal(
s_preferredHeight
, control.Height);
224
Assert.Equal(
s_preferredHeight
, control.Height);
233
Assert.Equal(
s_preferredHeight
, control.Height);
253
Assert.Equal(
s_preferredHeight
, control.Height);
263
Assert.Equal(
s_preferredHeight
, control.Height);
273
Assert.Equal(
s_preferredHeight
, control.Height);
300
Assert.Equal(
s_preferredHeight
, control.Height);
310
Assert.Equal(
s_preferredHeight
, control.Height);
320
Assert.Equal(
s_preferredHeight
, control.Height);
1947
Assert.Equal(
s_preferredHeight
, control.Height);
1955
Assert.Equal(
s_preferredHeight
, control.Height);
1963
Assert.Equal(
s_preferredHeight
, control.Height);
1979
Assert.Equal(
s_preferredHeight
, control.Height);
1987
Assert.Equal(
s_preferredHeight
, control.Height);
1995
Assert.Equal(
s_preferredHeight
, control.Height);
2027
Assert.Equal(
s_preferredHeight
, control.Height);
2037
Assert.Equal(
s_preferredHeight
, control.Height);
2047
Assert.Equal(
s_preferredHeight
, control.Height);
2079
Assert.Equal(
s_preferredHeight
, control.Height);
2089
Assert.Equal(
s_preferredHeight
, control.Height);
2099
Assert.Equal(
s_preferredHeight
, control.Height);
2197
Assert.Equal(
s_preferredHeight
, control.PreferredHeight);
2203
Assert.Equal(
s_preferredHeight
, control.PreferredHeight);
2222
Assert.Equal(
s_preferredHeight
, control.PreferredHeight);
2231
Assert.Equal(
s_preferredHeight
, control.PreferredHeight);
2278
yield return new object[] { BorderStyle.Fixed3D,
s_preferredHeight
};
2279
yield return new object[] { BorderStyle.FixedSingle,
s_preferredHeight
};
4996
yield return new object[] { multiline, wordWrap, BorderStyle.Fixed3D, Size.Empty, new Size(4,
s_preferredHeight
) };
4997
yield return new object[] { multiline, wordWrap, BorderStyle.Fixed3D, new Size(-1, -2), new Size(4,
s_preferredHeight
) };
4998
yield return new object[] { multiline, wordWrap, BorderStyle.Fixed3D, new Size(10, 20), new Size(4,
s_preferredHeight
) };
4999
yield return new object[] { multiline, wordWrap, BorderStyle.Fixed3D, new Size(30, 40), new Size(4,
s_preferredHeight
) };
5000
yield return new object[] { multiline, wordWrap, BorderStyle.Fixed3D, new Size(int.MaxValue, int.MaxValue), new Size(4,
s_preferredHeight
) };
5002
yield return new object[] { multiline, wordWrap, BorderStyle.FixedSingle, Size.Empty, new Size(4,
s_preferredHeight
) };
5003
yield return new object[] { multiline, wordWrap, BorderStyle.FixedSingle, new Size(-1, -2), new Size(4,
s_preferredHeight
) };
5004
yield return new object[] { multiline, wordWrap, BorderStyle.FixedSingle, new Size(10, 20), new Size(4,
s_preferredHeight
) };
5005
yield return new object[] { multiline, wordWrap, BorderStyle.FixedSingle, new Size(30, 40), new Size(4,
s_preferredHeight
) };
5006
yield return new object[] { multiline, wordWrap, BorderStyle.FixedSingle, new Size(int.MaxValue, int.MaxValue), new Size(4,
s_preferredHeight
) };
5057
yield return new object[] { BorderStyle.Fixed3D, Size.Empty, 4,
s_preferredHeight
};
5058
yield return new object[] { BorderStyle.Fixed3D, new Size(-1, -2), 4,
s_preferredHeight
};
5059
yield return new object[] { BorderStyle.Fixed3D, new Size(10, 20), 4,
s_preferredHeight
};
5060
yield return new object[] { BorderStyle.Fixed3D, new Size(30, 40), 4,
s_preferredHeight
};
5061
yield return new object[] { BorderStyle.Fixed3D, new Size(int.MaxValue, int.MaxValue), 4,
s_preferredHeight
};
5063
yield return new object[] { BorderStyle.FixedSingle, Size.Empty, 4,
s_preferredHeight
};
5064
yield return new object[] { BorderStyle.FixedSingle, new Size(-1, -2), 4,
s_preferredHeight
};
5065
yield return new object[] { BorderStyle.FixedSingle, new Size(10, 20), 4,
s_preferredHeight
};
5066
yield return new object[] { BorderStyle.FixedSingle, new Size(30, 40), 4,
s_preferredHeight
};
5067
yield return new object[] { BorderStyle.FixedSingle, new Size(int.MaxValue, int.MaxValue), 4,
s_preferredHeight
};
5356
Assert.Equal(
s_preferredHeight
, control.Height);
5362
Assert.Equal(
s_preferredHeight
, control.Height);
5382
Assert.Equal(
s_preferredHeight
, control.Height);
5389
Assert.Equal(
s_preferredHeight
, control.Height);
5411
Assert.Equal(
s_preferredHeight
, control.Height);
5418
Assert.Equal(
s_preferredHeight
, control.Height);
5487
Assert.Equal(
s_preferredHeight
, control.Height);
5500
Assert.Equal(
s_preferredHeight
, control.Height);
5719
Assert.Equal(
s_preferredHeight
, control.Height);
5725
Assert.Equal(
s_preferredHeight
, control.Height);
6459
yield return new object[] { 0, 0, 100,
s_preferredHeight
, specified, 0, 0 };
6460
yield return new object[] { 1, 2, 100,
s_preferredHeight
, specified, 1, 0 };
6536
Assert.Equal(new Size(width - 4,
s_preferredHeight
- 4), control.ClientSize);
6537
Assert.Equal(new Rectangle(0, 0, width - 4,
s_preferredHeight
- 4), control.ClientRectangle);
6538
Assert.Equal(new Rectangle(0, 0, width - 4,
s_preferredHeight
- 4), control.DisplayRectangle);
6539
Assert.Equal(new Size(width,
s_preferredHeight
), control.Size);
6543
Assert.Equal(y +
s_preferredHeight
, control.Bottom);
6545
Assert.Equal(
s_preferredHeight
, control.Height);
6546
Assert.Equal(new Rectangle(x, y, width,
s_preferredHeight
), control.Bounds);
6557
Assert.Equal(new Size(width - 4,
s_preferredHeight
- 4), control.ClientSize);
6558
Assert.Equal(new Rectangle(0, 0, width - 4,
s_preferredHeight
- 4), control.ClientRectangle);
6559
Assert.Equal(new Rectangle(0, 0, width - 4,
s_preferredHeight
- 4), control.DisplayRectangle);
6560
Assert.Equal(new Size(width,
s_preferredHeight
), control.Size);
6564
Assert.Equal(y +
s_preferredHeight
, control.Bottom);
6566
Assert.Equal(
s_preferredHeight
, control.Height);
6567
Assert.Equal(new Rectangle(x, y, width,
s_preferredHeight
), control.Bounds);
6590
yield return new object[] { 0, 0, 100,
s_preferredHeight
, specified, 0, 0 };
6591
yield return new object[] { 1, 2, 100,
s_preferredHeight
, specified, 1, 0 };