7 references to GetStyle
System.Windows.Forms.Tests (7)
System\Windows\Forms\PictureBoxTests.cs (7)
1296Assert.Equal(expectedAutoSize, pictureBox.GetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth)); 1302Assert.Equal(expectedAutoSize, pictureBox.GetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth)); 1315Assert.Equal(expectedAutoSize, pictureBox.GetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth)); 1321Assert.Equal(expectedAutoSize, pictureBox.GetStyle(ControlStyles.FixedHeight | ControlStyles.FixedWidth)); 1891Assert.Equal(expected, control.GetStyle(flag)); 1894Assert.Equal(expected, control.GetStyle(flag)); 2218Assert.True(control.GetStyle(ControlStyles.UserPaint));