48 references to GetStyle
System.Windows.Forms.Tests (48)
TrackBarTests.cs (48)
229Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 230Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 238Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 239Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 247Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 248Assert.Equal(!value, control.GetStyle(ControlStyles.FixedHeight)); 267Assert.Equal(value, control.GetStyle(ControlStyles.FixedWidth)); 268Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 276Assert.Equal(value, control.GetStyle(ControlStyles.FixedWidth)); 277Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 285Assert.Equal(!value, control.GetStyle(ControlStyles.FixedWidth)); 286Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 309Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 310Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 321Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 322Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 333Assert.False(control.GetStyle(ControlStyles.FixedWidth)); 334Assert.Equal(!value, control.GetStyle(ControlStyles.FixedHeight)); 363Assert.Equal(value, control.GetStyle(ControlStyles.FixedWidth)); 364Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 375Assert.Equal(value, control.GetStyle(ControlStyles.FixedWidth)); 376Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 387Assert.Equal(!value, control.GetStyle(ControlStyles.FixedWidth)); 388Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 565Assert.Equal(value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 571Assert.Equal(value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 577Assert.Equal(!value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 596Assert.Equal(value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 605Assert.Equal(value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 614Assert.Equal(!value, control.GetStyle(ControlStyles.OptimizedDoubleBuffer)); 1316Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.FixedWidth)); 1317Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 1324Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.FixedWidth)); 1325Assert.False(control.GetStyle(ControlStyles.FixedHeight)); 1350Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.FixedWidth)); 1351Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.FixedHeight)); 1358Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.FixedWidth)); 1359Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.FixedHeight)); 1390Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.FixedWidth)); 1391Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.FixedHeight)); 1401Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.FixedWidth)); 1402Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.FixedHeight)); 1437Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.FixedWidth)); 1438Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.FixedHeight)); 1448Assert.Equal(expectedFixedWidth, control.GetStyle(ControlStyles.FixedWidth)); 1449Assert.Equal(expectedFixedHeight, control.GetStyle(ControlStyles.FixedHeight)); 2295Assert.Equal(expected, control.GetStyle(flag)); 2298Assert.Equal(expected, control.GetStyle(flag));