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