308 references to ControlStyles
System.Windows.Forms (282)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (2)
84
=> this.TryGetOwnerAs(out Control? owner) && owner.GetStyle(
ControlStyles
.ContainerControl)
348
if (this.TryGetOwnerAs(out Control? owner) && owner.GetStyle(
ControlStyles
.UseTextForAccessibility))
System\Windows\Forms\ActiveX\AxHost.cs (1)
241
SetStyle(
ControlStyles
.UserPaint, false);
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (1)
330
if (GetStyle(
ControlStyles
.ResizeRedraw))
System\Windows\Forms\Control.cs (77)
275
private
ControlStyles
_controlStyle;
339
ControlStyles
.AllPaintingInWmPaint
340
|
ControlStyles
.UserPaint
341
|
ControlStyles
.StandardClick
342
|
ControlStyles
.StandardDoubleClick
343
|
ControlStyles
.UseTextForAccessibility
344
|
ControlStyles
.Selectable,
501
/// participation in automatic dark mode theming based on its <see cref="
ControlStyles
"/> settings.
511
/// <see cref="
ControlStyles
.ApplyThemingImplicitly"/>, we need to cache this state in this internal property
1083
if (!value.Equals(Color.Empty) && !GetStyle(
ControlStyles
.SupportsTransparentBackColor) && value.A < 255)
1157
SetStyle(
ControlStyles
.ResizeRedraw, true);
1387
return cacheTextCounter > 0 || GetStyle(
ControlStyles
.CacheText);
1392
if (GetStyle(
ControlStyles
.CacheText) || !IsHandleCreated)
1587
if (GetStyle(
ControlStyles
.ContainerControl))
1990
get => GetStyle(
ControlStyles
.OptimizedDoubleBuffer);
1997
SetStyle(
ControlStyles
.OptimizedDoubleBuffer |
ControlStyles
.AllPaintingInWmPaint, value);
2001
SetStyle(
ControlStyles
.OptimizedDoubleBuffer, value);
2007
private bool DoubleBufferingEnabled => GetStyle(
ControlStyles
.DoubleBuffer |
ControlStyles
.UserPaint);
2097
if (IsHandleCreated && !GetStyle(
ControlStyles
.UserPaint))
2658
private bool IsValidBackColor(Color c) => c.IsEmpty || GetStyle(
ControlStyles
.SupportsTransparentBackColor) || c.A == 255;
3042
=> GetStyle(
ControlStyles
.SupportsTransparentBackColor) && BackColor.A < 255;
3045
=> GetStyle(
ControlStyles
.SupportsTransparentBackColor) && c.A < 255;
3095
get => GetStyle(
ControlStyles
.ResizeRedraw);
3096
set => SetStyle(
ControlStyles
.ResizeRedraw, value);
4635
if ((_controlStyle &
ControlStyles
.Selectable) !=
ControlStyles
.Selectable)
5566
return ((ctl._controlStyle &
ControlStyles
.ContainerControl) ==
ControlStyles
.ContainerControl && ctl is IContainerControl);
5638
if ((_controlStyle &
ControlStyles
.FixedWidth) !=
ControlStyles
.FixedWidth && (specified & BoundsSpecified.Width) != 0)
5644
if ((_controlStyle &
ControlStyles
.FixedHeight) !=
ControlStyles
.FixedHeight && (specified & BoundsSpecified.Height) != 0)
6039
protected bool GetStyle(
ControlStyles
flag) => (_controlStyle & flag) == flag;
6093
if (!GetStyle(
ControlStyles
.UserPaint))
6148
!GetStyle(
ControlStyles
.Opaque));
6189
bErase: !_controlStyle.HasFlag(
ControlStyles
.Opaque));
6237
bErase: !_controlStyle.HasFlag(
ControlStyles
.Opaque));
7234
if (GetStyle(
ControlStyles
.UserPaint))
7769
if (GetStyle(
ControlStyles
.UserPaint))
7954
if (!GetStyle(
ControlStyles
.UserPaint))
8581
if (GetStyle(
ControlStyles
.ResizeRedraw))
8655
if ((_controlStyle &
ControlStyles
.ResizeRedraw) ==
ControlStyles
.ResizeRedraw
9089
if (!GetStyle(
ControlStyles
.Opaque))
9290
if (((validationConstraints & ValidationConstraints.Selectable) == ValidationConstraints.Selectable && !c.GetStyle(
ControlStyles
.Selectable))
9584
if (GetStyle(
ControlStyles
.UserPaint))
10449
if (ScaleHelper.IsScalingRequirementMet && !GetStyle(
ControlStyles
.UserPaint) && !IsFontSet())
10630
if ((_controlStyle &
ControlStyles
.FixedWidth) !=
ControlStyles
.FixedWidth)
10636
if ((_controlStyle &
ControlStyles
.FixedHeight) !=
ControlStyles
.FixedHeight)
10660
if (!GetStyle(
ControlStyles
.FixedWidth))
10665
if (!GetStyle(
ControlStyles
.FixedHeight))
11078
protected void SetStyle(
ControlStyles
flag, bool value)
11091
if ((flag &
ControlStyles
.ApplyThemingImplicitly) ==
ControlStyles
.ApplyThemingImplicitly
11294
return GetStyle(
ControlStyles
.ContainerControl);
11998
if (GetStyle(
ControlStyles
.UserPaint))
12002
if (!GetStyle(
ControlStyles
.AllPaintingInWmPaint))
12144
if (!GetStyle(
ControlStyles
.CacheText))
12225
if (!GetStyle(
ControlStyles
.UserMouse))
12239
if (button == MouseButtons.Left && GetStyle(
ControlStyles
.Selectable))
12382
if (!GetStyle(
ControlStyles
.UserMouse))
12401
if (!GetStyle(
ControlStyles
.UserMouse))
12415
bool fireClick = _controlStyle.HasFlag(
ControlStyles
.StandardClick)
12561
bool doubleBuffered = DoubleBuffered || (GetStyle(
ControlStyles
.AllPaintingInWmPaint) && DoubleBufferingEnabled);
12598
bool paintBackground = (usingBeginPaint && GetStyle(
ControlStyles
.AllPaintingInWmPaint)) || doubleBuffered;
13017
if ((_controlStyle &
ControlStyles
.EnableNotifyMessage) ==
ControlStyles
.EnableNotifyMessage)
13069
if (GetStyle(
ControlStyles
.UserPaint))
13081
if (GetStyle(
ControlStyles
.UserPaint))
13201
if (GetStyle(
ControlStyles
.StandardDoubleClick))
13218
if (GetStyle(
ControlStyles
.StandardDoubleClick))
13243
if (GetStyle(
ControlStyles
.StandardDoubleClick))
13294
if (GetStyle(
ControlStyles
.StandardDoubleClick))
System\Windows\Forms\Controls\Buttons\Button.cs (5)
39
SetStyle(
ControlStyles
.StandardClick |
ControlStyles
.StandardDoubleClick, false);
117
if (GetStyle(
ControlStyles
.UserPaint))
232
if (GetStyle(
ControlStyles
.UserPaint))
242
if (GetStyle(
ControlStyles
.UserPaint))
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (14)
70
ControlStyles
.SupportsTransparentBackColor
71
|
ControlStyles
.Opaque
72
|
ControlStyles
.ResizeRedraw
73
|
ControlStyles
.OptimizedDoubleBuffer
74
|
ControlStyles
.CacheText
75
|
ControlStyles
.StandardClick,
84
SetStyle(
ControlStyles
.UserMouse |
ControlStyles
.UserPaint, OwnerDraw);
267
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
952
Debug.Assert(GetStyle(
ControlStyles
.UserPaint), "Shouldn't be in PaintControl when control is not UserPaint style");
1233
if (GetStyle(
ControlStyles
.UserPaint))
1345
if (OwnerDraw != GetStyle(
ControlStyles
.UserPaint))
1347
SetStyle(
ControlStyles
.UserMouse |
ControlStyles
.UserPaint, OwnerDraw);
System\Windows\Forms\Controls\Buttons\CheckBox.cs (4)
49
SetStyle(
ControlStyles
.StandardClick |
ControlStyles
.StandardDoubleClick, false);
139
SetStyle(
ControlStyles
.OptimizedDoubleBuffer |
ControlStyles
.ResizeRedraw, true);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (4)
48
SetStyle(
ControlStyles
.StandardClick, false);
564
SetStyle(
ControlStyles
.OptimizedDoubleBuffer |
ControlStyles
.ResizeRedraw, true);
606
&& GetStyle(
ControlStyles
.UserPaint)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (8)
123
SetStyle(
ControlStyles
.UserPaint |
124
ControlStyles
.UseTextForAccessibility |
125
ControlStyles
.StandardClick, false);
2081
else if (msg == PInvokeCore.WM_CTLCOLORLISTBOX && GetStyle(
ControlStyles
.UserPaint))
3811
if (!Application.RenderWithVisualStyles && !GetStyle(
ControlStyles
.UserPaint)
3961
if (!GetStyle(
ControlStyles
.UserPaint)
4110
if (!GetStyle(
ControlStyles
.UserPaint)
4117
if (!GetStyle(
ControlStyles
.UserPaint)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (5)
384
SetStyle(
ControlStyles
.UserPaint |
385
ControlStyles
.Opaque |
386
ControlStyles
.UserMouse, true);
388
SetStyle(
ControlStyles
.SupportsTransparentBackColor, false);
1496
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (4)
115
SetStyle(
ControlStyles
.FixedHeight, true);
119
SetStyle(
ControlStyles
.UserPaint |
ControlStyles
.StandardClick, false);
123
SetStyle(
ControlStyles
.UseTextForAccessibility, false);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (10)
33
SetStyle(
ControlStyles
.ContainerControl, true);
34
SetStyle(
ControlStyles
.SupportsTransparentBackColor |
ControlStyles
.UserPaint |
35
ControlStyles
.ResizeRedraw, OwnerDraw);
37
SetStyle(
ControlStyles
.Selectable, false);
203
SetStyle(
ControlStyles
.ContainerControl, true);
205
SetStyle(
ControlStyles
.SupportsTransparentBackColor |
206
ControlStyles
.UserPaint |
207
ControlStyles
.ResizeRedraw |
208
ControlStyles
.UserMouse, OwnerDraw);
System\Windows\Forms\Controls\Labels\FocusableLabel.cs (1)
14
SetStyle(
ControlStyles
.Selectable, true);
System\Windows\Forms\Controls\Labels\Label.cs (10)
68
SetStyle(
ControlStyles
.UserPaint |
69
ControlStyles
.SupportsTransparentBackColor |
70
ControlStyles
.OptimizedDoubleBuffer, IsOwnerDraw());
72
SetStyle(
ControlStyles
.FixedHeight |
73
ControlStyles
.Selectable, false);
75
SetStyle(
ControlStyles
.ResizeRedraw, true);
246
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
338
SetStyle(
ControlStyles
.UserPaint
339
|
ControlStyles
.SupportsTransparentBackColor
340
|
ControlStyles
.OptimizedDoubleBuffer, OwnerDraw);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (8)
55
SetStyle(
ControlStyles
.AllPaintingInWmPaint
56
|
ControlStyles
.OptimizedDoubleBuffer
57
|
ControlStyles
.Opaque
58
|
ControlStyles
.UserPaint
59
|
ControlStyles
.StandardClick
60
|
ControlStyles
.ResizeRedraw,
1019
bool optimizeBackgroundRendering = !GetStyle(
ControlStyles
.OptimizedDoubleBuffer);
1728
SetStyle(
ControlStyles
.Selectable, selectable);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
67
SetStyle(
ControlStyles
.ResizeRedraw, true);
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (4)
121
SetStyle(
ControlStyles
.UserPaint |
ControlStyles
.StandardClick |
ControlStyles
.UseTextForAccessibility, false);
267
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\ListView\ListView.cs (4)
225
SetStyle(
ControlStyles
.UserPaint, false);
226
SetStyle(
ControlStyles
.StandardClick, false);
227
SetStyle(
ControlStyles
.UseTextForAccessibility, false);
630
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (3)
138
SetStyle(
ControlStyles
.UserPaint, false);
139
SetStyle(
ControlStyles
.StandardClick, false);
285
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (9)
110
SetStyle(
ControlStyles
.Opaque |
ControlStyles
.Selectable, false);
111
SetStyle(
ControlStyles
.OptimizedDoubleBuffer |
ControlStyles
.SupportsTransparentBackColor, true);
196
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
833
SetStyle(
ControlStyles
.FixedHeight |
ControlStyles
.FixedWidth, true);
839
SetStyle(
ControlStyles
.FixedHeight |
ControlStyles
.FixedWidth, false);
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (4)
40
SetStyle(
ControlStyles
.UserPaint |
ControlStyles
.UseTextForAccessibility |
ControlStyles
.Selectable, false);
48
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.SnappableControl.cs (1)
21
SetStyle(
ControlStyles
.OptimizedDoubleBuffer, true);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.cs (1)
17
SetStyle(
ControlStyles
.Selectable, true);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (1)
16
SetStyle(
ControlStyles
.UserPaint, false);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
57
SetStyle(
ControlStyles
.Selectable, false);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (3)
135
SetStyle(
ControlStyles
.OptimizedDoubleBuffer, true);
136
SetStyle(
ControlStyles
.ResizeRedraw, false);
137
SetStyle(
ControlStyles
.UserMouse, true);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (3)
3631
bool oldStyle = GetStyle(
ControlStyles
.UserMouse);
3632
SetStyle(
ControlStyles
.UserMouse, true);
3634
SetStyle(
ControlStyles
.UserMouse, oldStyle);
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
49
SetStyle(
ControlStyles
.Selectable, false);
206
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\TabControl\TabControl.cs (2)
86
SetStyle(
ControlStyles
.UserPaint, false);
274
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\TabControl\TabPage.cs (2)
37
SetStyle(
ControlStyles
.CacheText, true);
141
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
1006
!GetStyle(
ControlStyles
.UserPaint) &&
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (9)
106
SetStyle(
ControlStyles
.FixedHeight, _textBoxFlags[s_autoSize]);
107
SetStyle(
ControlStyles
.StandardClick
108
|
ControlStyles
.StandardDoubleClick
109
|
ControlStyles
.UseTextForAccessibility
110
|
ControlStyles
.UserPaint, false);
270
SetStyle(
ControlStyles
.FixedHeight, value);
430
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
767
SetStyle(
ControlStyles
.FixedHeight, false);
772
SetStyle(
ControlStyles
.FixedHeight, AutoSize);
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
37
SetStyle(
ControlStyles
.ResizeRedraw, true);
617
SetStyle(
ControlStyles
.SupportsTransparentBackColor, true);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (5)
130
ControlStyles
.OptimizedDoubleBuffer |
ControlStyles
.AllPaintingInWmPaint |
ControlStyles
.SupportsTransparentBackColor,
133
SetStyle(
ControlStyles
.Selectable, false);
3713
SetStyle(
ControlStyles
.Selectable, TabStop);
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.cs (2)
13
SetStyle(
ControlStyles
.ResizeRedraw |
ControlStyles
.OptimizedDoubleBuffer, true);
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (2)
21
SetStyle(
ControlStyles
.ResizeRedraw |
ControlStyles
.SupportsTransparentBackColor, true);
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (3)
27
SetStyle(
ControlStyles
.ResizeRedraw |
ControlStyles
.SupportsTransparentBackColor, true);
335
SetStyle(
ControlStyles
.OptimizedDoubleBuffer, true);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (3)
952
SetStyle(
ControlStyles
.AllPaintingInWmPaint |
ControlStyles
.OptimizedDoubleBuffer, false);
1090
SetStyle(
ControlStyles
.ResizeRedraw, true);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (5)
51
SetStyle(
ControlStyles
.ResizeRedraw |
ControlStyles
.OptimizedDoubleBuffer | /*ControlStyles.AllPaintingInWmPaint |*/
ControlStyles
.SupportsTransparentBackColor, true);
52
SetStyle(
ControlStyles
.Selectable, false);
323
SetStyle(
ControlStyles
.Selectable, value);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.FeedbackRectangle.FeedbackDropDown.cs (3)
20
SetStyle(
ControlStyles
.AllPaintingInWmPaint, false);
21
SetStyle(
ControlStyles
.OptimizedDoubleBuffer, true);
22
SetStyle(
ControlStyles
.CacheText, true);
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (11)
54
SetStyle(
ControlStyles
.UserPaint, false);
55
SetStyle(
ControlStyles
.UseTextForAccessibility, false);
86
SetStyle(
ControlStyles
.FixedHeight, _autoSize);
87
SetStyle(
ControlStyles
.FixedWidth, false);
91
SetStyle(
ControlStyles
.FixedWidth, _autoSize);
92
SetStyle(
ControlStyles
.FixedHeight, false);
147
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
378
SetStyle(
ControlStyles
.FixedHeight, _autoSize);
379
SetStyle(
ControlStyles
.FixedWidth, false);
384
SetStyle(
ControlStyles
.FixedHeight, false);
385
SetStyle(
ControlStyles
.FixedWidth, _autoSize);
System\Windows\Forms\Controls\TreeView\TreeView.cs (5)
196
SetStyle(
ControlStyles
.UserPaint, false);
197
SetStyle(
ControlStyles
.StandardClick, false);
198
SetStyle(
ControlStyles
.UseTextForAccessibility, false);
338
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
1039
SetStyle(
ControlStyles
.ResizeRedraw, true);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (6)
79
SetStyle(
ControlStyles
.Opaque
80
|
ControlStyles
.FixedHeight
81
|
ControlStyles
.ResizeRedraw, true);
83
SetStyle(
ControlStyles
.StandardClick, false);
84
SetStyle(
ControlStyles
.UseTextForAccessibility, false);
233
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (4)
43
SetStyle(
ControlStyles
.Opaque |
ControlStyles
.FixedHeight |
ControlStyles
.FixedWidth, true);
44
SetStyle(
ControlStyles
.Selectable, false);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownEdit.cs (2)
18
SetStyle(
ControlStyles
.FixedHeight |
ControlStyles
.FixedWidth, true);
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
77
SetStyle(
ControlStyles
.UserPaint, false);
System\Windows\Forms\Form.cs (1)
3819
if (!GetStyle(
ControlStyles
.Selectable) || !Enabled || !Visible)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
90
SetStyle(
ControlStyles
.AllPaintingInWmPaint, false);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (2)
102
SetStyle(
ControlStyles
.SupportsTransparentBackColor, true);
103
SetStyle(
ControlStyles
.OptimizedDoubleBuffer, true);
System\Windows\Forms\MDI\MDIClient.cs (2)
31
SetStyle(
ControlStyles
.Selectable, false);
82
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
System\Windows\Forms\Panels\Panel.cs (3)
31
SetStyle(
ControlStyles
.Selectable |
ControlStyles
.AllPaintingInWmPaint, false);
32
SetStyle(
ControlStyles
.SupportsTransparentBackColor, true);
System\Windows\Forms\Panels\SplitterPanel.cs (1)
17
SetStyle(
ControlStyles
.ResizeRedraw, true);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
87
SetStyle(
ControlStyles
.ResizeRedraw, true);
System\Windows\Forms\Printing\PrintPreviewControl.cs (4)
63
SetStyle(
ControlStyles
.ResizeRedraw, false);
64
SetStyle(
ControlStyles
.AllPaintingInWmPaint |
ControlStyles
.UserPaint |
ControlStyles
.OptimizedDoubleBuffer, true);
System\Windows\Forms\Scrolling\ScrollableControl.cs (3)
60
SetStyle(
ControlStyles
.ContainerControl, true);
61
SetStyle(
ControlStyles
.AllPaintingInWmPaint, false);
157
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
System\Windows\Forms\Scrolling\ScrollBar.cs (4)
34
SetStyle(
ControlStyles
.UserPaint, false);
35
SetStyle(
ControlStyles
.StandardClick, false);
36
SetStyle(
ControlStyles
.UseTextForAccessibility, false);
117
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
System\Windows\Forms\UserControl.cs (1)
34
SetStyle(
ControlStyles
.SupportsTransparentBackColor, true);
System.Windows.Forms.Design (23)
System\ComponentModel\Design\ByteViewer.cs (1)
75
SetStyle(
ControlStyles
.ResizeRedraw, true);
System\ComponentModel\Design\DesignerActionPanel.cs (5)
50
SetStyle(
ControlStyles
.AllPaintingInWmPaint, true);
51
SetStyle(
ControlStyles
.Opaque, true);
52
SetStyle(
ControlStyles
.OptimizedDoubleBuffer, true);
53
SetStyle(
ControlStyles
.ResizeRedraw, true);
54
SetStyle(
ControlStyles
.UserPaint, true);
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
324
SetStyle(
ControlStyles
.Selectable, true);
System\Drawing\Design\ColorEditor.ColorPalette.cs (1)
68
SetStyle(
ControlStyles
.Opaque, true);
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (1)
202
SetStyle(
ControlStyles
.Selectable, false);
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
31
SetStyle(
ControlStyles
.Opaque, true);
System\Windows\Forms\Design\ComponentTray.cs (4)
83
SetStyle(
ControlStyles
.ResizeRedraw |
ControlStyles
.OptimizedDoubleBuffer, true);
1907
SetStyle(
ControlStyles
.OptimizedDoubleBuffer, true);
1908
SetStyle(
ControlStyles
.Selectable, false);
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
348
SetStyle(
ControlStyles
.AllPaintingInWmPaint |
ControlStyles
.UserPaint, true);
System\Windows\Forms\Design\SelectionUIService.cs (3)
62
SetStyle(
ControlStyles
.StandardClick |
ControlStyles
.Opaque |
ControlStyles
.OptimizedDoubleBuffer, true);
System\Windows\Forms\Design\TabOrder.cs (1)
68
SetStyle(
ControlStyles
.Opaque, true);
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
168
SetStyle(
ControlStyles
.Opaque, true);
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
113
SetStyle(
ControlStyles
.ResizeRedraw, true);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1590
SetStyle(
ControlStyles
.Selectable, true);
WindowsFormsIntegration (3)
System\Windows\Integration\ElementHost.cs (3)
70
SetStyle(SWF.
ControlStyles
.SupportsTransparentBackColor, true);
71
SetStyle(SWF.
ControlStyles
.UserPaint, true);
72
SetStyle(SWF.
ControlStyles
.AllPaintingInWmPaint, true);