27 references to GetStyle
System.Windows.Forms.Tests (27)
System\Windows\Forms\RichTextBoxTests.cs (27)
388
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
397
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
406
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
432
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
441
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
450
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
476
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
486
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
496
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
1429
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
1466
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
1513
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
1552
Assert.Equal(userPaint, control.
GetStyle
(ControlStyles.UserPaint));
2068
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2076
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2084
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2106
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
2114
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
2122
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
2145
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2155
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2165
Assert.False(control.
GetStyle
(ControlStyles.FixedHeight));
2209
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
2219
Assert.Equal(!value, control.
GetStyle
(ControlStyles.FixedHeight));
2229
Assert.Equal(value, control.
GetStyle
(ControlStyles.FixedHeight));
8993
Assert.Equal(expected, control.
GetStyle
(flag));
8996
Assert.Equal(expected, control.
GetStyle
(flag));