138 references to SetStyle
System.Windows.Forms.Tests (138)
System\Windows\Forms\ControlTests.cs (1)
524control.SetStyle(ControlStyles.ContainerControl, containerControl);
System\Windows\Forms\ControlTests.Handlers.cs (26)
932control.SetStyle(ControlStyles.ResizeRedraw, true); 1469control.SetStyle(ControlStyles.UserPaint, false); 1695control.SetStyle(ControlStyles.UserPaint, userPaint); 2152control.SetStyle(ControlStyles.UserPaint, userPaint); 2806child1.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 2808child2.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 2906child1.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 2908child2.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 2983child1.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 3275control.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 3277control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 3706control.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 3708control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 3775control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 3859control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackColor); 3985control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackColor); 4031control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackColor); 4116control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackColor); 4631control.SetStyle(ControlStyles.UserPaint, userPaint); 4632control.SetStyle(ControlStyles.Opaque, opaque); 4682control.SetStyle(ControlStyles.UserPaint, userPaint); 4683control.SetStyle(ControlStyles.Opaque, opaque); 4882control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 5215control.SetStyle(ControlStyles.ResizeRedraw, true); 5625control.SetStyle(ControlStyles.UserPaint, userPaint); 5671control.SetStyle(ControlStyles.UserPaint, userPaint);
System\Windows\Forms\ControlTests.Methods.cs (81)
438control.SetStyle(ControlStyles.UserPaint, false); 623control.SetStyle(ControlStyles.UserPaint, resizeRedraw); 2183grandparent.SetStyle(ControlStyles.ContainerControl, true); 2694control.SetStyle(ControlStyles.FixedWidth, true); 2744control.SetStyle(ControlStyles.FixedHeight, true); 2794control.SetStyle(ControlStyles.FixedWidth, true); 2795control.SetStyle(ControlStyles.FixedHeight, true); 2973control.SetStyle(ControlStyles.Opaque, opaque); 2994control.SetStyle(ControlStyles.Opaque, opaque); 3034control.SetStyle(ControlStyles.Opaque, opaque); 3085control.SetStyle(ControlStyles.Opaque, opaque); 3109control.SetStyle(ControlStyles.Opaque, opaque); 3152control.SetStyle(ControlStyles.Opaque, opaque); 3213control.SetStyle(ControlStyles.Opaque, opaque); 3247control.SetStyle(ControlStyles.Opaque, opaque); 3287control.SetStyle(ControlStyles.Opaque, opaque); 3351control.SetStyle(ControlStyles.Opaque, opaque); 3388control.SetStyle(ControlStyles.Opaque, opaque); 3428control.SetStyle(ControlStyles.Opaque, opaque); 3490control.SetStyle(ControlStyles.Opaque, opaque); 3525control.SetStyle(ControlStyles.Opaque, opaque); 3565control.SetStyle(ControlStyles.Opaque, opaque); 3630control.SetStyle(ControlStyles.Opaque, opaque); 3668control.SetStyle(ControlStyles.Opaque, opaque); 3708control.SetStyle(ControlStyles.Opaque, opaque); 4280otherControl.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 4564child1.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 4566child2.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 4664child1.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 4666child2.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 7782control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 7908control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 8639control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 8765control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 9471control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 9603control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 9852control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 9961control.SetStyle(flag, value); 9966control.SetStyle(flag, value); 9983control.SetStyle(flag, value); 9991control.SetStyle(flag, value); 11343control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 11446control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 11841control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 11944control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 12818control.SetStyle(ControlStyles.UserPaint, userPaint); 12819control.SetStyle(ControlStyles.AllPaintingInWmPaint, allPaintingInWmPaint); 12820control.SetStyle(ControlStyles.Opaque, opaque); 12854control.SetStyle(ControlStyles.UserPaint, userPaint); 12855control.SetStyle(ControlStyles.AllPaintingInWmPaint, allPaintingInWmPaint); 12856control.SetStyle(ControlStyles.Opaque, opaque); 12899control.SetStyle(ControlStyles.UserPaint, userPaint); 12900control.SetStyle(ControlStyles.AllPaintingInWmPaint, allPaintingInWmPaint); 12901control.SetStyle(ControlStyles.Opaque, opaque); 12942control.SetStyle(ControlStyles.UserPaint, userPaint); 12943control.SetStyle(ControlStyles.AllPaintingInWmPaint, allPaintingInWmPaint); 12944control.SetStyle(ControlStyles.Opaque, opaque); 13142control.SetStyle(ControlStyles.UserPaint, userPaint); 13143control.SetStyle(ControlStyles.Opaque, opaque); 13165control.SetStyle(ControlStyles.UserPaint, true); 13166control.SetStyle(ControlStyles.Opaque, false); 13197control.SetStyle(ControlStyles.UserPaint, userPaint); 13198control.SetStyle(ControlStyles.Opaque, opaque); 13237control.SetStyle(ControlStyles.UserPaint, userPaint); 13238control.SetStyle(ControlStyles.Opaque, opaque); 13267control.SetStyle(ControlStyles.UserPaint, true); 13268control.SetStyle(ControlStyles.Opaque, false); 13307control.SetStyle(ControlStyles.UserPaint, userPaint); 13308control.SetStyle(ControlStyles.Opaque, opaque); 13438control.SetStyle(ControlStyles.UserMouse, userMouse); 13473control.SetStyle(ControlStyles.UserMouse, userMouse); 13474control.SetStyle(ControlStyles.Selectable, false); 13540control.SetStyle(ControlStyles.UserMouse, userMouse); 13583control.SetStyle(ControlStyles.UserMouse, userMouse); 13584control.SetStyle(ControlStyles.Selectable, false); 13773control.SetStyle(ControlStyles.UserMouse, userMouse); 13808control.SetStyle(ControlStyles.UserMouse, userMouse); 13809control.SetStyle(ControlStyles.Selectable, false); 13871control.SetStyle(ControlStyles.UserMouse, userMouse); 13914control.SetStyle(ControlStyles.UserMouse, userMouse); 13915control.SetStyle(ControlStyles.Selectable, false);
System\Windows\Forms\ControlTests.Properties.cs (30)
1273control.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 2806control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 2909control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 3432control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 4431control.SetStyle(ControlStyles.OptimizedDoubleBuffer, value); 4530control.SetStyle(ControlStyles.UserPaint, userPaint); 4944control.SetStyle(ControlStyles.UserPaint, userPaint); 4990control.SetStyle(ControlStyles.UserPaint, userPaint); 6095control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 6210control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 6846control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 6939control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 7060control.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 7062control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 7329control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 7422control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 7545control.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 7547control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 9498control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 9542control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 10027control.SetStyle(ControlStyles.ResizeRedraw, value); 11499control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 11619control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 12280control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 12371control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 12492control.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 12494control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 12774control.SetStyle(ControlStyles.UserPaint, userPaint); 13514control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 13629control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw);