27 references to GetStyle
System.Windows.Forms.Tests (27)
System\Windows\Forms\RichTextBoxTests.cs (27)
390
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
399
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
408
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
434
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
443
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
452
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
478
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
488
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
498
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
1431
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
1468
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
1515
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
1554
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
2070
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2078
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2086
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2108
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
2116
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
2124
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
2147
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2157
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2167
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2211
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
2221
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
2231
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
8995
Assert.Equal(expected, control.
GetStyle
(flag));
8998
Assert.Equal(expected, control.
GetStyle
(flag));