138 references to SetStyle
System.Windows.Forms.Tests (138)
System\Windows\Forms\ControlTests.cs (1)
527control.SetStyle(ControlStyles.ContainerControl, containerControl);
System\Windows\Forms\ControlTests.Handlers.cs (26)
934control.SetStyle(ControlStyles.ResizeRedraw, true); 1471control.SetStyle(ControlStyles.UserPaint, false); 1697control.SetStyle(ControlStyles.UserPaint, userPaint); 2154control.SetStyle(ControlStyles.UserPaint, userPaint); 2808child1.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 2810child2.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 2908child1.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 2910child2.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 2985child1.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 3277control.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 3279control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 3708control.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 3710control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 3777control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 3861control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackColor); 3987control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackColor); 4033control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackColor); 4118control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackColor); 4633control.SetStyle(ControlStyles.UserPaint, userPaint); 4634control.SetStyle(ControlStyles.Opaque, opaque); 4684control.SetStyle(ControlStyles.UserPaint, userPaint); 4685control.SetStyle(ControlStyles.Opaque, opaque); 4884control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 5217control.SetStyle(ControlStyles.ResizeRedraw, true); 5627control.SetStyle(ControlStyles.UserPaint, userPaint); 5673control.SetStyle(ControlStyles.UserPaint, userPaint);
System\Windows\Forms\ControlTests.Methods.cs (81)
453control.SetStyle(ControlStyles.UserPaint, false); 638control.SetStyle(ControlStyles.UserPaint, resizeRedraw); 2198grandparent.SetStyle(ControlStyles.ContainerControl, true); 2709control.SetStyle(ControlStyles.FixedWidth, true); 2759control.SetStyle(ControlStyles.FixedHeight, true); 2809control.SetStyle(ControlStyles.FixedWidth, true); 2810control.SetStyle(ControlStyles.FixedHeight, true); 2988control.SetStyle(ControlStyles.Opaque, opaque); 3009control.SetStyle(ControlStyles.Opaque, opaque); 3049control.SetStyle(ControlStyles.Opaque, opaque); 3100control.SetStyle(ControlStyles.Opaque, opaque); 3124control.SetStyle(ControlStyles.Opaque, opaque); 3167control.SetStyle(ControlStyles.Opaque, opaque); 3228control.SetStyle(ControlStyles.Opaque, opaque); 3262control.SetStyle(ControlStyles.Opaque, opaque); 3302control.SetStyle(ControlStyles.Opaque, opaque); 3366control.SetStyle(ControlStyles.Opaque, opaque); 3403control.SetStyle(ControlStyles.Opaque, opaque); 3443control.SetStyle(ControlStyles.Opaque, opaque); 3505control.SetStyle(ControlStyles.Opaque, opaque); 3540control.SetStyle(ControlStyles.Opaque, opaque); 3580control.SetStyle(ControlStyles.Opaque, opaque); 3645control.SetStyle(ControlStyles.Opaque, opaque); 3683control.SetStyle(ControlStyles.Opaque, opaque); 3723control.SetStyle(ControlStyles.Opaque, opaque); 4295otherControl.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 4579child1.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 4581child2.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 4679child1.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 4681child2.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 7797control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 7923control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 8654control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 8780control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 9486control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 9618control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 9867control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 9976control.SetStyle(flag, value); 9981control.SetStyle(flag, value); 9998control.SetStyle(flag, value); 10006control.SetStyle(flag, value); 11358control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 11461control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 11856control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 11959control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 12833control.SetStyle(ControlStyles.UserPaint, userPaint); 12834control.SetStyle(ControlStyles.AllPaintingInWmPaint, allPaintingInWmPaint); 12835control.SetStyle(ControlStyles.Opaque, opaque); 12869control.SetStyle(ControlStyles.UserPaint, userPaint); 12870control.SetStyle(ControlStyles.AllPaintingInWmPaint, allPaintingInWmPaint); 12871control.SetStyle(ControlStyles.Opaque, opaque); 12914control.SetStyle(ControlStyles.UserPaint, userPaint); 12915control.SetStyle(ControlStyles.AllPaintingInWmPaint, allPaintingInWmPaint); 12916control.SetStyle(ControlStyles.Opaque, opaque); 12957control.SetStyle(ControlStyles.UserPaint, userPaint); 12958control.SetStyle(ControlStyles.AllPaintingInWmPaint, allPaintingInWmPaint); 12959control.SetStyle(ControlStyles.Opaque, opaque); 13157control.SetStyle(ControlStyles.UserPaint, userPaint); 13158control.SetStyle(ControlStyles.Opaque, opaque); 13180control.SetStyle(ControlStyles.UserPaint, true); 13181control.SetStyle(ControlStyles.Opaque, false); 13212control.SetStyle(ControlStyles.UserPaint, userPaint); 13213control.SetStyle(ControlStyles.Opaque, opaque); 13252control.SetStyle(ControlStyles.UserPaint, userPaint); 13253control.SetStyle(ControlStyles.Opaque, opaque); 13282control.SetStyle(ControlStyles.UserPaint, true); 13283control.SetStyle(ControlStyles.Opaque, false); 13322control.SetStyle(ControlStyles.UserPaint, userPaint); 13323control.SetStyle(ControlStyles.Opaque, opaque); 13453control.SetStyle(ControlStyles.UserMouse, userMouse); 13488control.SetStyle(ControlStyles.UserMouse, userMouse); 13489control.SetStyle(ControlStyles.Selectable, false); 13555control.SetStyle(ControlStyles.UserMouse, userMouse); 13598control.SetStyle(ControlStyles.UserMouse, userMouse); 13599control.SetStyle(ControlStyles.Selectable, false); 13788control.SetStyle(ControlStyles.UserMouse, userMouse); 13823control.SetStyle(ControlStyles.UserMouse, userMouse); 13824control.SetStyle(ControlStyles.Selectable, false); 13886control.SetStyle(ControlStyles.UserMouse, userMouse); 13929control.SetStyle(ControlStyles.UserMouse, userMouse); 13930control.SetStyle(ControlStyles.Selectable, false);
System\Windows\Forms\ControlTests.Properties.cs (30)
1277control.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 2810control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 2913control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 3436control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 4435control.SetStyle(ControlStyles.OptimizedDoubleBuffer, value); 4534control.SetStyle(ControlStyles.UserPaint, userPaint); 4948control.SetStyle(ControlStyles.UserPaint, userPaint); 4994control.SetStyle(ControlStyles.UserPaint, userPaint); 6099control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 6214control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 6850control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 6943control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 7064control.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 7066control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 7333control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 7426control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 7549control.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 7551control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 9502control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 9546control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 10031control.SetStyle(ControlStyles.ResizeRedraw, value); 11503control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 11623control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 12284control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 12375control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 12496control.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 12498control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 12778control.SetStyle(ControlStyles.UserPaint, userPaint); 13518control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 13633control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw);