33 references to GetStyle
System.Windows.Forms.Tests (33)
TextBoxBaseTests.cs (33)
216
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
225
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
234
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
254
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
264
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
274
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
301
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
311
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
321
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
811
Assert.Equal(value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
817
Assert.Equal(value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
823
Assert.Equal(!value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
842
Assert.Equal(value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
851
Assert.Equal(value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
860
Assert.Equal(!value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
967
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
1004
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
1051
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
1090
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
1948
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
1956
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
1964
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
1980
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
1988
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
1996
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2028
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
2038
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
2048
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
2080
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2090
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2100
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
5164
Assert.Equal(expected, control.
GetStyle
(flag));
5167
Assert.Equal(expected, control.
GetStyle
(flag));