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