22 references to GetStyle
System.Windows.Forms.Tests (22)
System\Windows\Forms\ControlTests.Handlers.cs (3)
464Assert.True(control.GetStyle(ControlStyles.UserPaint)); 1439Assert.True(control.GetStyle(ControlStyles.UserPaint)); 1473Assert.False(control.GetStyle(ControlStyles.UserPaint));
System\Windows\Forms\ControlTests.Methods.cs (7)
432Assert.True(control.GetStyle(ControlStyles.UserPaint)); 454Assert.False(control.GetStyle(ControlStyles.UserPaint)); 2860Assert.Equal(expected, control.GetStyle(flag)); 2863Assert.Equal(expected, control.GetStyle(flag)); 9977Assert.Equal(expected, control.GetStyle(flag)); 9982Assert.Equal(expected, control.GetStyle(flag)); 9999Assert.Equal(expected, control.GetStyle(flag));
System\Windows\Forms\ControlTests.Properties.cs (12)
4448Assert.Equal(value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4454Assert.Equal(value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4460Assert.Equal(!value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4479Assert.Equal(value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4488Assert.Equal(value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4497Assert.Equal(!value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4542Assert.Equal(userPaint, control.GetStyle(ControlStyles.UserPaint)); 4950Assert.Equal(userPaint, control.GetStyle(ControlStyles.UserPaint)); 4996Assert.Equal(userPaint, control.GetStyle(ControlStyles.UserPaint)); 10044Assert.Equal(value, control.GetStyle(ControlStyles.ResizeRedraw)); 10049Assert.Equal(value, control.GetStyle(ControlStyles.ResizeRedraw)); 10054Assert.Equal(!value, control.GetStyle(ControlStyles.ResizeRedraw));