33 references to GetStyle
System.Windows.Forms.Tests (33)
TextBoxBaseTests.cs (33)
218
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
227
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
236
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
256
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
266
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
276
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
303
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
313
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
323
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
813
Assert.Equal(value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
819
Assert.Equal(value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
825
Assert.Equal(!value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
844
Assert.Equal(value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
853
Assert.Equal(value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
862
Assert.Equal(!value, control.
GetStyle
(ControlStyles.OptimizedDoubleBuffer));
969
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
1006
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
1053
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
1092
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
1950
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
1958
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
1966
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
1982
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
1990
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
1998
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2030
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
2040
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
2050
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
2082
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2092
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2102
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
5166
Assert.Equal(expected, control.
GetStyle
(flag));
5169
Assert.Equal(expected, control.
GetStyle
(flag));