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