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