22 references to GetStyle
System.Windows.Forms.Tests (22)
System\Windows\Forms\ControlTests.Handlers.cs (3)
464Assert.True(control.GetStyle(ControlStyles.UserPaint)); 1439Assert.True(control.GetStyle(ControlStyles.UserPaint)); 1473Assert.False(control.GetStyle(ControlStyles.UserPaint));
System\Windows\Forms\ControlTests.Methods.cs (7)
419Assert.True(control.GetStyle(ControlStyles.UserPaint)); 441Assert.False(control.GetStyle(ControlStyles.UserPaint)); 2847Assert.Equal(expected, control.GetStyle(flag)); 2850Assert.Equal(expected, control.GetStyle(flag)); 9964Assert.Equal(expected, control.GetStyle(flag)); 9969Assert.Equal(expected, control.GetStyle(flag)); 9986Assert.Equal(expected, control.GetStyle(flag));
System\Windows\Forms\ControlTests.Properties.cs (12)
4446Assert.Equal(value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4452Assert.Equal(value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4458Assert.Equal(!value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4477Assert.Equal(value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4486Assert.Equal(value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4495Assert.Equal(!value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4540Assert.Equal(userPaint, control.GetStyle(ControlStyles.UserPaint)); 4948Assert.Equal(userPaint, control.GetStyle(ControlStyles.UserPaint)); 4994Assert.Equal(userPaint, control.GetStyle(ControlStyles.UserPaint)); 10042Assert.Equal(value, control.GetStyle(ControlStyles.ResizeRedraw)); 10047Assert.Equal(value, control.GetStyle(ControlStyles.ResizeRedraw)); 10052Assert.Equal(!value, control.GetStyle(ControlStyles.ResizeRedraw));