22 references to GetStyle
System.Windows.Forms.Tests (22)
System\Windows\Forms\ControlTests.Handlers.cs (3)
462
Assert.True(control.
GetStyle
(ControlStyles.UserPaint));
1437
Assert.True(control.
GetStyle
(ControlStyles.UserPaint));
1471
Assert.False(control.
GetStyle
(ControlStyles.UserPaint));
System\Windows\Forms\ControlTests.Methods.cs (7)
418
Assert.True(control.
GetStyle
(ControlStyles.UserPaint));
440
Assert.False(control.
GetStyle
(ControlStyles.UserPaint));
2878
Assert.Equal(expected, control.
GetStyle
(flag));
2881
Assert.Equal(expected, control.
GetStyle
(flag));
9995
Assert.Equal(expected, control.
GetStyle
(flag));
10000
Assert.Equal(expected, control.
GetStyle
(flag));
10017
Assert.Equal(expected, control.
GetStyle
(flag));
System\Windows\Forms\ControlTests.Properties.cs (12)
4444
Assert.Equal(value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
4450
Assert.Equal(value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
4456
Assert.Equal(!value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
4475
Assert.Equal(value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
4484
Assert.Equal(value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
4493
Assert.Equal(!value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
4538
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
4946
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
4992
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
10040
Assert.Equal(value, control.
GetStyle
(ControlStyles.ResizeRedraw));
10045
Assert.Equal(value, control.
GetStyle
(ControlStyles.ResizeRedraw));
10050
Assert.Equal(!value, control.
GetStyle
(ControlStyles.ResizeRedraw));