75 references to s_preferredHeight
System.Windows.Forms.Tests (75)
TextBoxBaseTests.cs (75)
217
Assert.Equal(
s_preferredHeight
, control.Height);
226
Assert.Equal(
s_preferredHeight
, control.Height);
235
Assert.Equal(
s_preferredHeight
, control.Height);
255
Assert.Equal(
s_preferredHeight
, control.Height);
265
Assert.Equal(
s_preferredHeight
, control.Height);
275
Assert.Equal(
s_preferredHeight
, control.Height);
302
Assert.Equal(
s_preferredHeight
, control.Height);
312
Assert.Equal(
s_preferredHeight
, control.Height);
322
Assert.Equal(
s_preferredHeight
, control.Height);
1949
Assert.Equal(
s_preferredHeight
, control.Height);
1957
Assert.Equal(
s_preferredHeight
, control.Height);
1965
Assert.Equal(
s_preferredHeight
, control.Height);
1981
Assert.Equal(
s_preferredHeight
, control.Height);
1989
Assert.Equal(
s_preferredHeight
, control.Height);
1997
Assert.Equal(
s_preferredHeight
, control.Height);
2029
Assert.Equal(
s_preferredHeight
, control.Height);
2039
Assert.Equal(
s_preferredHeight
, control.Height);
2049
Assert.Equal(
s_preferredHeight
, control.Height);
2081
Assert.Equal(
s_preferredHeight
, control.Height);
2091
Assert.Equal(
s_preferredHeight
, control.Height);
2101
Assert.Equal(
s_preferredHeight
, control.Height);
2199
Assert.Equal(
s_preferredHeight
, control.PreferredHeight);
2205
Assert.Equal(
s_preferredHeight
, control.PreferredHeight);
2224
Assert.Equal(
s_preferredHeight
, control.PreferredHeight);
2233
Assert.Equal(
s_preferredHeight
, control.PreferredHeight);
2280
yield return new object[] { BorderStyle.Fixed3D,
s_preferredHeight
};
2281
yield return new object[] { BorderStyle.FixedSingle,
s_preferredHeight
};
4998
yield return new object[] { multiline, wordWrap, BorderStyle.Fixed3D, Size.Empty, new Size(4,
s_preferredHeight
) };
4999
yield return new object[] { multiline, wordWrap, BorderStyle.Fixed3D, new Size(-1, -2), new Size(4,
s_preferredHeight
) };
5000
yield return new object[] { multiline, wordWrap, BorderStyle.Fixed3D, new Size(10, 20), new Size(4,
s_preferredHeight
) };
5001
yield return new object[] { multiline, wordWrap, BorderStyle.Fixed3D, new Size(30, 40), new Size(4,
s_preferredHeight
) };
5002
yield return new object[] { multiline, wordWrap, BorderStyle.Fixed3D, new Size(int.MaxValue, int.MaxValue), new Size(4,
s_preferredHeight
) };
5004
yield return new object[] { multiline, wordWrap, BorderStyle.FixedSingle, Size.Empty, new Size(4,
s_preferredHeight
) };
5005
yield return new object[] { multiline, wordWrap, BorderStyle.FixedSingle, new Size(-1, -2), new Size(4,
s_preferredHeight
) };
5006
yield return new object[] { multiline, wordWrap, BorderStyle.FixedSingle, new Size(10, 20), new Size(4,
s_preferredHeight
) };
5007
yield return new object[] { multiline, wordWrap, BorderStyle.FixedSingle, new Size(30, 40), new Size(4,
s_preferredHeight
) };
5008
yield return new object[] { multiline, wordWrap, BorderStyle.FixedSingle, new Size(int.MaxValue, int.MaxValue), new Size(4,
s_preferredHeight
) };
5059
yield return new object[] { BorderStyle.Fixed3D, Size.Empty, 4,
s_preferredHeight
};
5060
yield return new object[] { BorderStyle.Fixed3D, new Size(-1, -2), 4,
s_preferredHeight
};
5061
yield return new object[] { BorderStyle.Fixed3D, new Size(10, 20), 4,
s_preferredHeight
};
5062
yield return new object[] { BorderStyle.Fixed3D, new Size(30, 40), 4,
s_preferredHeight
};
5063
yield return new object[] { BorderStyle.Fixed3D, new Size(int.MaxValue, int.MaxValue), 4,
s_preferredHeight
};
5065
yield return new object[] { BorderStyle.FixedSingle, Size.Empty, 4,
s_preferredHeight
};
5066
yield return new object[] { BorderStyle.FixedSingle, new Size(-1, -2), 4,
s_preferredHeight
};
5067
yield return new object[] { BorderStyle.FixedSingle, new Size(10, 20), 4,
s_preferredHeight
};
5068
yield return new object[] { BorderStyle.FixedSingle, new Size(30, 40), 4,
s_preferredHeight
};
5069
yield return new object[] { BorderStyle.FixedSingle, new Size(int.MaxValue, int.MaxValue), 4,
s_preferredHeight
};
5358
Assert.Equal(
s_preferredHeight
, control.Height);
5364
Assert.Equal(
s_preferredHeight
, control.Height);
5384
Assert.Equal(
s_preferredHeight
, control.Height);
5391
Assert.Equal(
s_preferredHeight
, control.Height);
5413
Assert.Equal(
s_preferredHeight
, control.Height);
5420
Assert.Equal(
s_preferredHeight
, control.Height);
5489
Assert.Equal(
s_preferredHeight
, control.Height);
5502
Assert.Equal(
s_preferredHeight
, control.Height);
5721
Assert.Equal(
s_preferredHeight
, control.Height);
5727
Assert.Equal(
s_preferredHeight
, control.Height);
6461
yield return new object[] { 0, 0, 100,
s_preferredHeight
, specified, 0, 0 };
6462
yield return new object[] { 1, 2, 100,
s_preferredHeight
, specified, 1, 0 };
6538
Assert.Equal(new Size(width - 4,
s_preferredHeight
- 4), control.ClientSize);
6539
Assert.Equal(new Rectangle(0, 0, width - 4,
s_preferredHeight
- 4), control.ClientRectangle);
6540
Assert.Equal(new Rectangle(0, 0, width - 4,
s_preferredHeight
- 4), control.DisplayRectangle);
6541
Assert.Equal(new Size(width,
s_preferredHeight
), control.Size);
6545
Assert.Equal(y +
s_preferredHeight
, control.Bottom);
6547
Assert.Equal(
s_preferredHeight
, control.Height);
6548
Assert.Equal(new Rectangle(x, y, width,
s_preferredHeight
), control.Bounds);
6559
Assert.Equal(new Size(width - 4,
s_preferredHeight
- 4), control.ClientSize);
6560
Assert.Equal(new Rectangle(0, 0, width - 4,
s_preferredHeight
- 4), control.ClientRectangle);
6561
Assert.Equal(new Rectangle(0, 0, width - 4,
s_preferredHeight
- 4), control.DisplayRectangle);
6562
Assert.Equal(new Size(width,
s_preferredHeight
), control.Size);
6566
Assert.Equal(y +
s_preferredHeight
, control.Bottom);
6568
Assert.Equal(
s_preferredHeight
, control.Height);
6569
Assert.Equal(new Rectangle(x, y, width,
s_preferredHeight
), control.Bounds);
6592
yield return new object[] { 0, 0, 100,
s_preferredHeight
, specified, 0, 0 };
6593
yield return new object[] { 1, 2, 100,
s_preferredHeight
, specified, 1, 0 };