138 references to SetStyle
System.Windows.Forms.Tests (138)
System\Windows\Forms\ControlTests.cs (1)
526control.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)
440control.SetStyle(ControlStyles.UserPaint, false); 625control.SetStyle(ControlStyles.UserPaint, resizeRedraw); 2185grandparent.SetStyle(ControlStyles.ContainerControl, true); 2696control.SetStyle(ControlStyles.FixedWidth, true); 2746control.SetStyle(ControlStyles.FixedHeight, true); 2796control.SetStyle(ControlStyles.FixedWidth, true); 2797control.SetStyle(ControlStyles.FixedHeight, true); 2975control.SetStyle(ControlStyles.Opaque, opaque); 2996control.SetStyle(ControlStyles.Opaque, opaque); 3036control.SetStyle(ControlStyles.Opaque, opaque); 3087control.SetStyle(ControlStyles.Opaque, opaque); 3111control.SetStyle(ControlStyles.Opaque, opaque); 3154control.SetStyle(ControlStyles.Opaque, opaque); 3215control.SetStyle(ControlStyles.Opaque, opaque); 3249control.SetStyle(ControlStyles.Opaque, opaque); 3289control.SetStyle(ControlStyles.Opaque, opaque); 3353control.SetStyle(ControlStyles.Opaque, opaque); 3390control.SetStyle(ControlStyles.Opaque, opaque); 3430control.SetStyle(ControlStyles.Opaque, opaque); 3492control.SetStyle(ControlStyles.Opaque, opaque); 3527control.SetStyle(ControlStyles.Opaque, opaque); 3567control.SetStyle(ControlStyles.Opaque, opaque); 3632control.SetStyle(ControlStyles.Opaque, opaque); 3670control.SetStyle(ControlStyles.Opaque, opaque); 3710control.SetStyle(ControlStyles.Opaque, opaque); 4282otherControl.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 4566child1.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 4568child2.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 4666child1.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 4668child2.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 7784control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 7910control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 8641control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 8767control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 9473control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 9605control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 9854control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 9963control.SetStyle(flag, value); 9968control.SetStyle(flag, value); 9985control.SetStyle(flag, value); 9993control.SetStyle(flag, value); 11345control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 11448control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 11843control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 11946control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 12820control.SetStyle(ControlStyles.UserPaint, userPaint); 12821control.SetStyle(ControlStyles.AllPaintingInWmPaint, allPaintingInWmPaint); 12822control.SetStyle(ControlStyles.Opaque, opaque); 12856control.SetStyle(ControlStyles.UserPaint, userPaint); 12857control.SetStyle(ControlStyles.AllPaintingInWmPaint, allPaintingInWmPaint); 12858control.SetStyle(ControlStyles.Opaque, opaque); 12901control.SetStyle(ControlStyles.UserPaint, userPaint); 12902control.SetStyle(ControlStyles.AllPaintingInWmPaint, allPaintingInWmPaint); 12903control.SetStyle(ControlStyles.Opaque, opaque); 12944control.SetStyle(ControlStyles.UserPaint, userPaint); 12945control.SetStyle(ControlStyles.AllPaintingInWmPaint, allPaintingInWmPaint); 12946control.SetStyle(ControlStyles.Opaque, opaque); 13144control.SetStyle(ControlStyles.UserPaint, userPaint); 13145control.SetStyle(ControlStyles.Opaque, opaque); 13167control.SetStyle(ControlStyles.UserPaint, true); 13168control.SetStyle(ControlStyles.Opaque, false); 13199control.SetStyle(ControlStyles.UserPaint, userPaint); 13200control.SetStyle(ControlStyles.Opaque, opaque); 13239control.SetStyle(ControlStyles.UserPaint, userPaint); 13240control.SetStyle(ControlStyles.Opaque, opaque); 13269control.SetStyle(ControlStyles.UserPaint, true); 13270control.SetStyle(ControlStyles.Opaque, false); 13309control.SetStyle(ControlStyles.UserPaint, userPaint); 13310control.SetStyle(ControlStyles.Opaque, opaque); 13440control.SetStyle(ControlStyles.UserMouse, userMouse); 13475control.SetStyle(ControlStyles.UserMouse, userMouse); 13476control.SetStyle(ControlStyles.Selectable, false); 13542control.SetStyle(ControlStyles.UserMouse, userMouse); 13585control.SetStyle(ControlStyles.UserMouse, userMouse); 13586control.SetStyle(ControlStyles.Selectable, false); 13775control.SetStyle(ControlStyles.UserMouse, userMouse); 13810control.SetStyle(ControlStyles.UserMouse, userMouse); 13811control.SetStyle(ControlStyles.Selectable, false); 13873control.SetStyle(ControlStyles.UserMouse, userMouse); 13916control.SetStyle(ControlStyles.UserMouse, userMouse); 13917control.SetStyle(ControlStyles.Selectable, false);
System\Windows\Forms\ControlTests.Properties.cs (30)
1275control.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 2808control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 2911control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 3434control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 4433control.SetStyle(ControlStyles.OptimizedDoubleBuffer, value); 4532control.SetStyle(ControlStyles.UserPaint, userPaint); 4946control.SetStyle(ControlStyles.UserPaint, userPaint); 4992control.SetStyle(ControlStyles.UserPaint, userPaint); 6097control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 6212control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 6848control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 6941control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 7062control.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 7064control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 7331control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 7424control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 7547control.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 7549control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 9500control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 9544control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 10029control.SetStyle(ControlStyles.ResizeRedraw, value); 11501control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 11621control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 12282control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 12373control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 12494control.SetStyle(ControlStyles.SupportsTransparentBackColor, true); 12496control.SetStyle(ControlStyles.SupportsTransparentBackColor, supportsTransparentBackgroundColor); 12776control.SetStyle(ControlStyles.UserPaint, userPaint); 13516control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw); 13631control.SetStyle(ControlStyles.ResizeRedraw, resizeRedraw);