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
1092
if (!value.Equals(Color.Empty) && !GetStyle(
ControlStyles
.SupportsTransparentBackColor) && value.A < 255)
1166
SetStyle(
ControlStyles
.ResizeRedraw, true);
1396
return cacheTextCounter > 0 || GetStyle(
ControlStyles
.CacheText);
1401
if (GetStyle(
ControlStyles
.CacheText) || !IsHandleCreated)
1596
if (GetStyle(
ControlStyles
.ContainerControl))
1999
get => GetStyle(
ControlStyles
.OptimizedDoubleBuffer);
2006
SetStyle(
ControlStyles
.OptimizedDoubleBuffer |
ControlStyles
.AllPaintingInWmPaint, value);
2010
SetStyle(
ControlStyles
.OptimizedDoubleBuffer, value);
2016
private bool DoubleBufferingEnabled => GetStyle(
ControlStyles
.DoubleBuffer |
ControlStyles
.UserPaint);
2106
if (IsHandleCreated && !GetStyle(
ControlStyles
.UserPaint))
2667
private bool IsValidBackColor(Color c) => c.IsEmpty || GetStyle(
ControlStyles
.SupportsTransparentBackColor) || c.A == 255;
3051
=> GetStyle(
ControlStyles
.SupportsTransparentBackColor) && BackColor.A < 255;
3054
=> GetStyle(
ControlStyles
.SupportsTransparentBackColor) && c.A < 255;
3104
get => GetStyle(
ControlStyles
.ResizeRedraw);
3105
set => SetStyle(
ControlStyles
.ResizeRedraw, value);
4644
if ((_controlStyle &
ControlStyles
.Selectable) !=
ControlStyles
.Selectable)
5575
return ((ctl._controlStyle &
ControlStyles
.ContainerControl) ==
ControlStyles
.ContainerControl && ctl is IContainerControl);
5647
if ((_controlStyle &
ControlStyles
.FixedWidth) !=
ControlStyles
.FixedWidth && (specified & BoundsSpecified.Width) != 0)
5653
if ((_controlStyle &
ControlStyles
.FixedHeight) !=
ControlStyles
.FixedHeight && (specified & BoundsSpecified.Height) != 0)
6048
protected bool GetStyle(
ControlStyles
flag) => (_controlStyle & flag) == flag;
6102
if (!GetStyle(
ControlStyles
.UserPaint))
6157
!GetStyle(
ControlStyles
.Opaque));
6198
bErase: !_controlStyle.HasFlag(
ControlStyles
.Opaque));
6246
bErase: !_controlStyle.HasFlag(
ControlStyles
.Opaque));
7243
if (GetStyle(
ControlStyles
.UserPaint))
7827
if (GetStyle(
ControlStyles
.UserPaint))
8012
if (!GetStyle(
ControlStyles
.UserPaint))
8639
if (GetStyle(
ControlStyles
.ResizeRedraw))
8713
if ((_controlStyle &
ControlStyles
.ResizeRedraw) ==
ControlStyles
.ResizeRedraw
9147
if (!GetStyle(
ControlStyles
.Opaque))
9348
if (((validationConstraints & ValidationConstraints.Selectable) == ValidationConstraints.Selectable && !c.GetStyle(
ControlStyles
.Selectable))
9642
if (GetStyle(
ControlStyles
.UserPaint))
10507
if (ScaleHelper.IsScalingRequirementMet && !GetStyle(
ControlStyles
.UserPaint) && !IsFontSet())
10688
if ((_controlStyle &
ControlStyles
.FixedWidth) !=
ControlStyles
.FixedWidth)
10694
if ((_controlStyle &
ControlStyles
.FixedHeight) !=
ControlStyles
.FixedHeight)
10718
if (!GetStyle(
ControlStyles
.FixedWidth))
10723
if (!GetStyle(
ControlStyles
.FixedHeight))
11136
protected void SetStyle(
ControlStyles
flag, bool value)
11149
if ((flag &
ControlStyles
.ApplyThemingImplicitly) ==
ControlStyles
.ApplyThemingImplicitly
11352
return GetStyle(
ControlStyles
.ContainerControl);
12056
if (GetStyle(
ControlStyles
.UserPaint))
12060
if (!GetStyle(
ControlStyles
.AllPaintingInWmPaint))
12202
if (!GetStyle(
ControlStyles
.CacheText))
12283
if (!GetStyle(
ControlStyles
.UserMouse))
12297
if (button == MouseButtons.Left && GetStyle(
ControlStyles
.Selectable))
12440
if (!GetStyle(
ControlStyles
.UserMouse))
12459
if (!GetStyle(
ControlStyles
.UserMouse))
12473
bool fireClick = _controlStyle.HasFlag(
ControlStyles
.StandardClick)
12619
bool doubleBuffered = DoubleBuffered || (GetStyle(
ControlStyles
.AllPaintingInWmPaint) && DoubleBufferingEnabled);
12656
bool paintBackground = (usingBeginPaint && GetStyle(
ControlStyles
.AllPaintingInWmPaint)) || doubleBuffered;
13075
if ((_controlStyle &
ControlStyles
.EnableNotifyMessage) ==
ControlStyles
.EnableNotifyMessage)
13127
if (GetStyle(
ControlStyles
.UserPaint))
13139
if (GetStyle(
ControlStyles
.UserPaint))
13259
if (GetStyle(
ControlStyles
.StandardDoubleClick))
13276
if (GetStyle(
ControlStyles
.StandardDoubleClick))
13301
if (GetStyle(
ControlStyles
.StandardDoubleClick))
13352
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);
585
SetStyle(
ControlStyles
.OptimizedDoubleBuffer |
ControlStyles
.ResizeRedraw, true);
627
&& GetStyle(
ControlStyles
.UserPaint)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (8)
123
SetStyle(
ControlStyles
.UserPaint |
124
ControlStyles
.UseTextForAccessibility |
125
ControlStyles
.StandardClick, false);
2085
else if (msg == PInvokeCore.WM_CTLCOLORLISTBOX && GetStyle(
ControlStyles
.UserPaint))
3821
if (!Application.RenderWithVisualStyles && !GetStyle(
ControlStyles
.UserPaint)
3971
if (!GetStyle(
ControlStyles
.UserPaint)
4120
if (!GetStyle(
ControlStyles
.UserPaint)
4127
if (!GetStyle(
ControlStyles
.UserPaint)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (5)
389
SetStyle(
ControlStyles
.UserPaint |
390
ControlStyles
.Opaque |
391
ControlStyles
.UserMouse, true);
393
SetStyle(
ControlStyles
.SupportsTransparentBackColor, false);
1501
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)
3637
bool oldStyle = GetStyle(
ControlStyles
.UserMouse);
3638
SetStyle(
ControlStyles
.UserMouse, true);
3640
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)
135
ControlStyles
.OptimizedDoubleBuffer |
ControlStyles
.AllPaintingInWmPaint |
ControlStyles
.SupportsTransparentBackColor,
138
SetStyle(
ControlStyles
.Selectable, false);
3718
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)
170
SetStyle(
ControlStyles
.UserPaint, false);
171
SetStyle(
ControlStyles
.StandardClick, false);
172
SetStyle(
ControlStyles
.UseTextForAccessibility, false);
307
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
916
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)
44
SetStyle(
ControlStyles
.Opaque |
ControlStyles
.FixedHeight |
ControlStyles
.FixedWidth, true);
45
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)
62
SetStyle(
ControlStyles
.ResizeRedraw, false);
63
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)
210
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);