304 references to ControlStyles
System.Windows.Forms (278)
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)
264
private
ControlStyles
_controlStyle;
329
ControlStyles
.AllPaintingInWmPaint
330
|
ControlStyles
.UserPaint
331
|
ControlStyles
.StandardClick
332
|
ControlStyles
.StandardDoubleClick
333
|
ControlStyles
.UseTextForAccessibility
334
|
ControlStyles
.Selectable,
491
/// participation in automatic dark mode theming based on its <see cref="
ControlStyles
"/> settings.
501
/// <see cref="
ControlStyles
.ApplyThemingImplicitly"/>, we need to cache this state in this internal property
904
if (!value.Equals(Color.Empty) && !GetStyle(
ControlStyles
.SupportsTransparentBackColor) && value.A < 255)
978
SetStyle(
ControlStyles
.ResizeRedraw, true);
1208
return cacheTextCounter > 0 || GetStyle(
ControlStyles
.CacheText);
1213
if (GetStyle(
ControlStyles
.CacheText) || !IsHandleCreated)
1408
if (GetStyle(
ControlStyles
.ContainerControl))
1811
get => GetStyle(
ControlStyles
.OptimizedDoubleBuffer);
1818
SetStyle(
ControlStyles
.OptimizedDoubleBuffer |
ControlStyles
.AllPaintingInWmPaint, value);
1822
SetStyle(
ControlStyles
.OptimizedDoubleBuffer, value);
1828
private bool DoubleBufferingEnabled => GetStyle(
ControlStyles
.DoubleBuffer |
ControlStyles
.UserPaint);
1918
if (IsHandleCreated && !GetStyle(
ControlStyles
.UserPaint))
2479
private bool IsValidBackColor(Color c) => c.IsEmpty || GetStyle(
ControlStyles
.SupportsTransparentBackColor) || c.A == 255;
2863
=> GetStyle(
ControlStyles
.SupportsTransparentBackColor) && BackColor.A < 255;
2866
=> GetStyle(
ControlStyles
.SupportsTransparentBackColor) && c.A < 255;
2916
get => GetStyle(
ControlStyles
.ResizeRedraw);
2917
set => SetStyle(
ControlStyles
.ResizeRedraw, value);
4420
if ((_controlStyle &
ControlStyles
.Selectable) !=
ControlStyles
.Selectable)
5343
return ((ctl._controlStyle &
ControlStyles
.ContainerControl) ==
ControlStyles
.ContainerControl && ctl is IContainerControl);
5414
if ((_controlStyle &
ControlStyles
.FixedWidth) !=
ControlStyles
.FixedWidth && (specified & BoundsSpecified.Width) != 0)
5420
if ((_controlStyle &
ControlStyles
.FixedHeight) !=
ControlStyles
.FixedHeight && (specified & BoundsSpecified.Height) != 0)
5815
protected bool GetStyle(
ControlStyles
flag) => (_controlStyle & flag) == flag;
5869
if (!GetStyle(
ControlStyles
.UserPaint))
5924
!GetStyle(
ControlStyles
.Opaque));
5965
bErase: !_controlStyle.HasFlag(
ControlStyles
.Opaque));
6013
bErase: !_controlStyle.HasFlag(
ControlStyles
.Opaque));
6860
if (GetStyle(
ControlStyles
.UserPaint))
7170
if (GetStyle(
ControlStyles
.UserPaint))
7353
if (!GetStyle(
ControlStyles
.UserPaint))
7973
if (GetStyle(
ControlStyles
.ResizeRedraw))
8047
if ((_controlStyle &
ControlStyles
.ResizeRedraw) ==
ControlStyles
.ResizeRedraw
8360
if (!GetStyle(
ControlStyles
.Opaque))
8561
if (((validationConstraints & ValidationConstraints.Selectable) == ValidationConstraints.Selectable && !c.GetStyle(
ControlStyles
.Selectable))
8855
if (GetStyle(
ControlStyles
.UserPaint))
9720
if (ScaleHelper.IsScalingRequirementMet && !GetStyle(
ControlStyles
.UserPaint) && !IsFontSet())
9901
if ((_controlStyle &
ControlStyles
.FixedWidth) !=
ControlStyles
.FixedWidth)
9907
if ((_controlStyle &
ControlStyles
.FixedHeight) !=
ControlStyles
.FixedHeight)
9931
if (!GetStyle(
ControlStyles
.FixedWidth))
9936
if (!GetStyle(
ControlStyles
.FixedHeight))
10349
protected void SetStyle(
ControlStyles
flag, bool value)
10362
if ((flag &
ControlStyles
.ApplyThemingImplicitly) ==
ControlStyles
.ApplyThemingImplicitly
10565
return GetStyle(
ControlStyles
.ContainerControl);
11269
if (GetStyle(
ControlStyles
.UserPaint))
11273
if (!GetStyle(
ControlStyles
.AllPaintingInWmPaint))
11415
if (!GetStyle(
ControlStyles
.CacheText))
11496
if (!GetStyle(
ControlStyles
.UserMouse))
11510
if (button == MouseButtons.Left && GetStyle(
ControlStyles
.Selectable))
11653
if (!GetStyle(
ControlStyles
.UserMouse))
11672
if (!GetStyle(
ControlStyles
.UserMouse))
11686
bool fireClick = _controlStyle.HasFlag(
ControlStyles
.StandardClick)
11832
bool doubleBuffered = DoubleBuffered || (GetStyle(
ControlStyles
.AllPaintingInWmPaint) && DoubleBufferingEnabled);
11869
bool paintBackground = (usingBeginPaint && GetStyle(
ControlStyles
.AllPaintingInWmPaint)) || doubleBuffered;
12288
if ((_controlStyle &
ControlStyles
.EnableNotifyMessage) ==
ControlStyles
.EnableNotifyMessage)
12340
if (GetStyle(
ControlStyles
.UserPaint))
12352
if (GetStyle(
ControlStyles
.UserPaint))
12472
if (GetStyle(
ControlStyles
.StandardDoubleClick))
12489
if (GetStyle(
ControlStyles
.StandardDoubleClick))
12514
if (GetStyle(
ControlStyles
.StandardDoubleClick))
12565
if (GetStyle(
ControlStyles
.StandardDoubleClick))
System\Windows\Forms\Controls\Buttons\Button.cs (5)
39
SetStyle(
ControlStyles
.StandardClick |
ControlStyles
.StandardDoubleClick, false);
117
if (GetStyle(
ControlStyles
.UserPaint))
260
if (GetStyle(
ControlStyles
.UserPaint))
270
if (GetStyle(
ControlStyles
.UserPaint))
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (14)
67
ControlStyles
.SupportsTransparentBackColor
68
|
ControlStyles
.Opaque
69
|
ControlStyles
.ResizeRedraw
70
|
ControlStyles
.OptimizedDoubleBuffer
71
|
ControlStyles
.CacheText
72
|
ControlStyles
.StandardClick,
81
SetStyle(
ControlStyles
.UserMouse |
ControlStyles
.UserPaint, OwnerDraw);
264
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
990
Debug.Assert(GetStyle(
ControlStyles
.UserPaint), "Shouldn't be in PaintControl when control is not UserPaint style");
1248
if (GetStyle(
ControlStyles
.UserPaint))
1302
if (OwnerDraw != GetStyle(
ControlStyles
.UserPaint))
1304
SetStyle(
ControlStyles
.UserMouse |
ControlStyles
.UserPaint, OwnerDraw);
System\Windows\Forms\Controls\Buttons\CheckBox.cs (2)
45
SetStyle(
ControlStyles
.StandardClick |
ControlStyles
.StandardDoubleClick, false);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (2)
46
SetStyle(
ControlStyles
.StandardClick, false);
487
&& GetStyle(
ControlStyles
.UserPaint)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (8)
118
SetStyle(
ControlStyles
.UserPaint |
119
ControlStyles
.UseTextForAccessibility |
120
ControlStyles
.StandardClick, false);
1997
else if (msg == PInvokeCore.WM_CTLCOLORLISTBOX && GetStyle(
ControlStyles
.UserPaint))
3649
if (!Application.RenderWithVisualStyles && !GetStyle(
ControlStyles
.UserPaint)
3758
if (!GetStyle(
ControlStyles
.UserPaint)
3825
if (!GetStyle(
ControlStyles
.UserPaint) && (FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.Popup))
3831
if (!GetStyle(
ControlStyles
.UserPaint) && (FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.Popup))
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);
197
SetStyle(
ControlStyles
.ContainerControl, true);
199
SetStyle(
ControlStyles
.SupportsTransparentBackColor |
200
ControlStyles
.UserPaint |
201
ControlStyles
.ResizeRedraw |
202
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,
1007
bool optimizeBackgroundRendering = !GetStyle(
ControlStyles
.OptimizedDoubleBuffer);
1716
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)
3528
bool oldStyle = GetStyle(
ControlStyles
.UserMouse);
3529
SetStyle(
ControlStyles
.UserMouse, true);
3531
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)
960
!GetStyle(
ControlStyles
.UserPaint) &&
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (9)
95
SetStyle(
ControlStyles
.FixedHeight, _textBoxFlags[s_autoSize]);
96
SetStyle(
ControlStyles
.StandardClick
97
|
ControlStyles
.StandardDoubleClick
98
|
ControlStyles
.UseTextForAccessibility
99
|
ControlStyles
.UserPaint, false);
263
SetStyle(
ControlStyles
.FixedHeight, value);
403
SetStyle(
ControlStyles
.ApplyThemingImplicitly, true);
734
SetStyle(
ControlStyles
.FixedHeight, false);
739
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)
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)
67
SetStyle(
ControlStyles
.Opaque |
ControlStyles
.FixedHeight |
ControlStyles
.ResizeRedraw, true);
68
SetStyle(
ControlStyles
.StandardClick, false);
69
SetStyle(
ControlStyles
.UseTextForAccessibility, false);
218
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)
17
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)
3810
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)
61
SetStyle(
ControlStyles
.ResizeRedraw, false);
62
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);