62 references to GetStyle
System.Windows.Forms.Tests (62)
System\Windows\Forms\GroupBoxTests.cs (62)
629Assert.Equal(containerControl, control.GetStyle(ControlStyles.ContainerControl)); 630Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.SupportsTransparentBackColor)); 631Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.UserPaint)); 632Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.ResizeRedraw)); 633Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 639Assert.Equal(containerControl, control.GetStyle(ControlStyles.ContainerControl)); 640Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.SupportsTransparentBackColor)); 641Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.UserPaint)); 642Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.ResizeRedraw)); 643Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 674Assert.Equal(containerControl, control.GetStyle(ControlStyles.ContainerControl)); 675Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.SupportsTransparentBackColor)); 676Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.UserPaint)); 677Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.ResizeRedraw)); 678Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 683Assert.Equal(containerControl, control.GetStyle(ControlStyles.ContainerControl)); 684Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.SupportsTransparentBackColor)); 685Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.UserPaint)); 686Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.ResizeRedraw)); 687Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 716Assert.Equal(containerControl, control.GetStyle(ControlStyles.ContainerControl)); 717Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.SupportsTransparentBackColor)); 718Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.UserPaint)); 719Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.ResizeRedraw)); 720Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 729Assert.Equal(containerControl, control.GetStyle(ControlStyles.ContainerControl)); 730Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.SupportsTransparentBackColor)); 731Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.UserPaint)); 732Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.ResizeRedraw)); 733Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 770Assert.Equal(containerControl, control.GetStyle(ControlStyles.ContainerControl)); 771Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.SupportsTransparentBackColor)); 772Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.UserPaint)); 773Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.ResizeRedraw)); 774Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 783Assert.Equal(containerControl, control.GetStyle(ControlStyles.ContainerControl)); 784Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.SupportsTransparentBackColor)); 785Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.UserPaint)); 786Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.ResizeRedraw)); 787Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 833Assert.Equal(containerControl, control.GetStyle(ControlStyles.ContainerControl)); 834Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.SupportsTransparentBackColor)); 835Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.UserPaint)); 836Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.ResizeRedraw)); 837Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 846Assert.Equal(containerControl, control.GetStyle(ControlStyles.ContainerControl)); 847Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.SupportsTransparentBackColor)); 848Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.UserPaint)); 849Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.ResizeRedraw)); 850Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 897Assert.Equal(containerControl, control.GetStyle(ControlStyles.ContainerControl)); 898Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.SupportsTransparentBackColor)); 899Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.UserPaint)); 900Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.ResizeRedraw)); 901Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 910Assert.Equal(containerControl, control.GetStyle(ControlStyles.ContainerControl)); 911Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.SupportsTransparentBackColor)); 912Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.UserPaint)); 913Assert.Equal(ownerDraw, control.GetStyle(ControlStyles.ResizeRedraw)); 914Assert.Equal(userMouse, control.GetStyle(ControlStyles.UserMouse)); 1436Assert.Equal(expected, control.GetStyle(flag)); 1439Assert.Equal(expected, control.GetStyle(flag));