141 references to SetStyle
System.Web.Mobile (1)
UI\MobileControls\Design\Util\GroupLabel.cs (1)
27
SetStyle
(ControlStyles.UserPaint, true);
System.Windows.Forms (129)
winforms\Managed\System\WinForms\AxHost.cs (1)
341
SetStyle
(ControlStyles.UserPaint, false);
winforms\Managed\System\WinForms\Button.cs (1)
64
SetStyle
(ControlStyles.StandardClick |
winforms\Managed\System\WinForms\ButtonBase.cs (3)
74
SetStyle
( ControlStyles.SupportsTransparentBackColor |
84
SetStyle
(ControlStyles.UserMouse |
1191
SetStyle
(ControlStyles.UserMouse | ControlStyles.UserPaint, OwnerDraw);
winforms\Managed\System\WinForms\CheckBox.cs (1)
79
SetStyle
(ControlStyles.StandardClick |
winforms\Managed\System\WinForms\CheckedListBox.cs (1)
123
SetStyle
(ControlStyles.ResizeRedraw, true);
winforms\Managed\System\WinForms\ComboBox.cs (1)
166
SetStyle
(ControlStyles.UserPaint |
winforms\Managed\System\WinForms\ContainerControl.cs (1)
63
SetStyle
(ControlStyles.AllPaintingInWmPaint, false);
winforms\Managed\System\WinForms\Control.cs (5)
503
SetStyle
(ControlStyles.AllPaintingInWmPaint |
1207
SetStyle
(ControlStyles.ResizeRedraw, true);
2401
SetStyle
(ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, value);
2404
SetStyle
(ControlStyles.OptimizedDoubleBuffer, value);
3709
SetStyle
( ControlStyles.ResizeRedraw, value );
winforms\Managed\System\WinForms\DataGrid.cs (4)
330
SetStyle
(ControlStyles.UserPaint, true);
331
SetStyle
(ControlStyles.Opaque, false);
332
SetStyle
(ControlStyles.SupportsTransparentBackColor, false);
333
SetStyle
(ControlStyles.UserMouse, true);
winforms\Managed\System\WinForms\DataGridView.cs (2)
427
SetStyle
(ControlStyles.UserPaint |
431
SetStyle
(ControlStyles.SupportsTransparentBackColor, false);
winforms\Managed\System\WinForms\DateTimePicker.cs (3)
135
SetStyle
(ControlStyles.FixedHeight, true);
141
SetStyle
(ControlStyles.UserPaint |
149
SetStyle
(ControlStyles.UseTextForAccessibility, false);
winforms\Managed\System\WinForms\GroupBox.cs (5)
56
SetStyle
(ControlStyles.ContainerControl, true);
57
SetStyle
(ControlStyles.SupportsTransparentBackColor |
61
SetStyle
(ControlStyles.Selectable, false);
250
SetStyle
(ControlStyles.ContainerControl, true);
252
SetStyle
(ControlStyles.SupportsTransparentBackColor |
winforms\Managed\System\WinForms\Label.cs (4)
102
SetStyle
(ControlStyles.UserPaint |
106
SetStyle
(ControlStyles.FixedHeight |
109
SetStyle
(ControlStyles.ResizeRedraw, true);
425
SetStyle
(ControlStyles.UserPaint
winforms\Managed\System\WinForms\LinkLabel.cs (2)
86
SetStyle
(ControlStyles.AllPaintingInWmPaint
1882
SetStyle
(ControlStyles.Selectable, selectable);
winforms\Managed\System\WinForms\ListBox.cs (1)
156
SetStyle
(ControlStyles.UserPaint |
winforms\Managed\System\WinForms\ListView.cs (3)
244
SetStyle
(ControlStyles.UserPaint, false);
245
SetStyle
(ControlStyles.StandardClick, false);
246
SetStyle
(ControlStyles.UseTextForAccessibility, false);
winforms\Managed\System\WinForms\MDIClient.cs (1)
51
SetStyle
(ControlStyles.Selectable, false);
winforms\Managed\System\WinForms\MonthCalendar.cs (2)
184
SetStyle
(ControlStyles.UserPaint, false);
185
SetStyle
(ControlStyles.StandardClick, false);
winforms\Managed\System\WinForms\Panel.cs (2)
50
SetStyle
(ControlStyles.Selectable |
52
SetStyle
(ControlStyles.SupportsTransparentBackColor, true);
winforms\Managed\System\WinForms\PictureBox.cs (4)
127
SetStyle
(ControlStyles.Opaque |ControlStyles.Selectable , false);
128
SetStyle
(ControlStyles.OptimizedDoubleBuffer|ControlStyles.SupportsTransparentBackColor, true);
974
SetStyle
(ControlStyles.FixedHeight | ControlStyles.FixedWidth, true);
978
SetStyle
(ControlStyles.FixedHeight | ControlStyles.FixedWidth, false);
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (2)
73
SetStyle
(ControlStyles.ResizeRedraw, false);
74
SetStyle
(ControlStyles.Opaque | ControlStyles.OptimizedDoubleBuffer, true);
winforms\Managed\System\WinForms\ProgressBar.cs (1)
74
SetStyle
(ControlStyles.UserPaint |
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
5030
SetStyle
(ControlStyles.OptimizedDoubleBuffer, true);
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (1)
63
SetStyle
(ControlStyles.Selectable, false);
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (1)
26
SetStyle
(ControlStyles.Selectable, true);
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (1)
38
SetStyle
(ControlStyles.UserPaint, false);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (3)
198
SetStyle
(ControlStyles.OptimizedDoubleBuffer, true);
199
SetStyle
(ControlStyles.ResizeRedraw, false);
200
SetStyle
(ControlStyles.UserMouse, true);
winforms\Managed\System\WinForms\RadioButton.cs (1)
78
SetStyle
(ControlStyles.StandardClick, false);
winforms\Managed\System\WinForms\RichTextBox.cs (2)
3733
SetStyle
(ControlStyles.UserMouse, true);
3735
SetStyle
(ControlStyles.UserMouse, oldStyle);
winforms\Managed\System\WinForms\ScrollableControl.cs (2)
112
SetStyle
(ControlStyles.ContainerControl, true);
113
SetStyle
(ControlStyles.AllPaintingInWmPaint, false);
winforms\Managed\System\WinForms\ScrollBar.cs (3)
60
SetStyle
(ControlStyles.UserPaint, false);
61
SetStyle
(ControlStyles.StandardClick, false);
62
SetStyle
(ControlStyles.UseTextForAccessibility, false);
winforms\Managed\System\WinForms\SplitContainer.cs (2)
157
SetStyle
(ControlStyles.SupportsTransparentBackColor, true);
158
SetStyle
(ControlStyles.OptimizedDoubleBuffer, true);
winforms\Managed\System\WinForms\Splitter.cs (1)
67
SetStyle
(ControlStyles.Selectable, false);
winforms\Managed\System\WinForms\SplitterPanel.cs (1)
45
SetStyle
(ControlStyles.ResizeRedraw, true);
winforms\Managed\System\WinForms\StatusBar.cs (1)
66
base.
SetStyle
(ControlStyles.UserPaint | ControlStyles.Selectable, false);
winforms\Managed\System\WinForms\StatusStrip.cs (2)
50
SetStyle
(ControlStyles.ResizeRedraw, true);
604
SetStyle
(ControlStyles.SupportsTransparentBackColor, true);
winforms\Managed\System\WinForms\TabControl.cs (1)
122
SetStyle
(ControlStyles.UserPaint, false);
winforms\Managed\System\WinForms\TableLayoutPanel.cs (1)
104
SetStyle
(ControlStyles.ResizeRedraw, true);
winforms\Managed\System\WinForms\TabPage.cs (1)
53
SetStyle
(ControlStyles.CacheText, true);
winforms\Managed\System\WinForms\TextBoxBase.cs (5)
120
SetStyle
(ControlStyles.FixedHeight, textBoxFlags[autoSize]);
121
SetStyle
(ControlStyles.StandardClick
272
SetStyle
(ControlStyles.FixedHeight, value);
851
SetStyle
(ControlStyles.FixedHeight, false);
855
SetStyle
(ControlStyles.FixedHeight, AutoSize);
winforms\Managed\System\WinForms\ToolBar.cs (11)
140
SetStyle
(ControlStyles.UserPaint, false);
141
SetStyle
(ControlStyles.FixedHeight, AutoSize);
142
SetStyle
(ControlStyles.FixedWidth, false);
205
SetStyle
(ControlStyles.FixedWidth, AutoSize);
206
SetStyle
(ControlStyles.FixedHeight, false);
209
SetStyle
(ControlStyles.FixedHeight, AutoSize);
210
SetStyle
(ControlStyles.FixedWidth, false);
531
SetStyle
(ControlStyles.FixedWidth, AutoSize);
532
SetStyle
(ControlStyles.FixedHeight, false);
535
SetStyle
(ControlStyles.FixedHeight, AutoSize);
536
SetStyle
(ControlStyles.FixedWidth, false);
winforms\Managed\System\WinForms\ToolStrip.cs (3)
205
SetStyle
(ControlStyles.OptimizedDoubleBuffer |
209
SetStyle
(ControlStyles.Selectable, false);
3882
SetStyle
(ControlStyles.Selectable, TabStop);
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
608
SetStyle
(ControlStyles.ResizeRedraw | ControlStyles.OptimizedDoubleBuffer, true);
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
36
SetStyle
(ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor, true);
winforms\Managed\System\WinForms\ToolStripContentPanel.cs (2)
38
SetStyle
(ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor, true);
386
SetStyle
(ControlStyles.OptimizedDoubleBuffer, true);
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
1160
SetStyle
(ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, false);
1314
SetStyle
(ControlStyles.ResizeRedraw, true);
winforms\Managed\System\WinForms\ToolStripPanel.cs (6)
93
SetStyle
(ControlStyles.ResizeRedraw | ControlStyles.OptimizedDoubleBuffer | /*ControlStyles.AllPaintingInWmPaint |*/ControlStyles.SupportsTransparentBackColor, true);
94
SetStyle
(ControlStyles.Selectable, false);
384
SetStyle
(ControlStyles.Selectable, value);
823
SetStyle
(ControlStyles.AllPaintingInWmPaint, false);
824
SetStyle
(ControlStyles.OptimizedDoubleBuffer, true);
825
SetStyle
(ControlStyles.CacheText, true);
winforms\Managed\System\WinForms\TrackBar.cs (10)
76
SetStyle
(ControlStyles.UserPaint, false);
77
SetStyle
(ControlStyles.UseTextForAccessibility, false);
109
SetStyle
(ControlStyles.FixedHeight, autoSize);
110
SetStyle
(ControlStyles.FixedWidth, false);
113
SetStyle
(ControlStyles.FixedWidth, autoSize);
114
SetStyle
(ControlStyles.FixedHeight, false);
449
SetStyle
(ControlStyles.FixedHeight, autoSize);
450
SetStyle
(ControlStyles.FixedWidth, false);
454
SetStyle
(ControlStyles.FixedHeight, false);
455
SetStyle
(ControlStyles.FixedWidth, autoSize);
winforms\Managed\System\WinForms\TreeView.cs (4)
188
SetStyle
(ControlStyles.UserPaint, false);
189
SetStyle
(ControlStyles.StandardClick, false);
190
SetStyle
(ControlStyles.UseTextForAccessibility, false);
932
SetStyle
(ControlStyles.ResizeRedraw, true);
winforms\Managed\System\WinForms\UpDownBase.cs (7)
107
SetStyle
(ControlStyles.Opaque | ControlStyles.FixedHeight | ControlStyles.ResizeRedraw, true);
108
SetStyle
(ControlStyles.StandardClick, false);
109
SetStyle
(ControlStyles.UseTextForAccessibility, false);
1266
SetStyle
(ControlStyles.FixedHeight |
1269
SetStyle
(ControlStyles.Selectable, false);
1435
SetStyle
(ControlStyles.Opaque | ControlStyles.FixedHeight |
1438
SetStyle
(ControlStyles.Selectable, false);
winforms\Managed\System\WinForms\UserControl.cs (1)
52
SetStyle
(ControlStyles.SupportsTransparentBackColor, true);
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
112
this.
SetStyle
(ControlStyles.UserPaint, false);
System.Windows.Forms.DataVisualization (7)
WinForm\ChartWinControl.cs (7)
207
this.
SetStyle
(ControlStyles.ResizeRedraw, true);
209
this.
SetStyle
(ControlStyles.UserPaint, true);
210
this.
SetStyle
(ControlStyles.AllPaintingInWmPaint, true);
211
this.
SetStyle
(ControlStyles.SupportsTransparentBackColor, true);
212
this.
SetStyle
(ControlStyles.Selectable, true);
215
this.
SetStyle
(ControlStyles.DoubleBuffer, true);
220
this.
SetStyle
(ControlStyles.UserMouse, true);
System.Workflow.ComponentModel (4)
AuthoringOM\Design\DesignerWidgets.cs (3)
1083
SetStyle
(ControlStyles.OptimizedDoubleBuffer |
1399
SetStyle
(ControlStyles.OptimizedDoubleBuffer |
1714
SetStyle
(ControlStyles.OptimizedDoubleBuffer |
AuthoringOM\Design\WorkflowView.cs (1)
160
SetStyle
(ControlStyles.OptimizedDoubleBuffer | ControlStyles.UserPaint | ControlStyles.Opaque | ControlStyles.AllPaintingInWmPaint | ControlStyles.Selectable | ControlStyles.EnableNotifyMessage, true);