22 references to GetStyle
System.Windows.Forms.Tests (22)
System\Windows\Forms\ControlTests.Handlers.cs (3)
462Assert.True(control.GetStyle(ControlStyles.UserPaint)); 1437Assert.True(control.GetStyle(ControlStyles.UserPaint)); 1471Assert.False(control.GetStyle(ControlStyles.UserPaint));
System\Windows\Forms\ControlTests.Methods.cs (7)
418Assert.True(control.GetStyle(ControlStyles.UserPaint)); 440Assert.False(control.GetStyle(ControlStyles.UserPaint)); 2878Assert.Equal(expected, control.GetStyle(flag)); 2881Assert.Equal(expected, control.GetStyle(flag)); 9995Assert.Equal(expected, control.GetStyle(flag)); 10000Assert.Equal(expected, control.GetStyle(flag)); 10017Assert.Equal(expected, control.GetStyle(flag));
System\Windows\Forms\ControlTests.Properties.cs (12)
4444Assert.Equal(value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4450Assert.Equal(value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4456Assert.Equal(!value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4475Assert.Equal(value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4484Assert.Equal(value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4493Assert.Equal(!value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 4538Assert.Equal(userPaint, control.GetStyle(ControlStyles.UserPaint)); 4946Assert.Equal(userPaint, control.GetStyle(ControlStyles.UserPaint)); 4992Assert.Equal(userPaint, control.GetStyle(ControlStyles.UserPaint)); 10040Assert.Equal(value, control.GetStyle(ControlStyles.ResizeRedraw)); 10045Assert.Equal(value, control.GetStyle(ControlStyles.ResizeRedraw)); 10050Assert.Equal(!value, control.GetStyle(ControlStyles.ResizeRedraw));