201 writes to Style
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\Internal\ProgressDialog.vb (1)
57
cp.
Style
= cp.Style Or WS_THICKFRAME
System.Windows.Forms (190)
System\Windows\Forms\ActiveX\AxHost.cs (1)
228
cp.
Style
&= ~(int)WINDOW_STYLE.WS_VISIBLE;
System\Windows\Forms\Control.cs (7)
1309
cp.
Style
= 0;
1319
cp.
Style
= (int)WINDOW_STYLE.WS_CLIPCHILDREN;
1332
cp.
Style
|= (int)(WINDOW_STYLE.WS_CHILD | WINDOW_STYLE.WS_CLIPSIBLINGS);
1341
cp.
Style
|= (int)WINDOW_STYLE.WS_TABSTOP;
1346
cp.
Style
|= (int)WINDOW_STYLE.WS_VISIBLE;
1353
cp.
Style
|= (int)WINDOW_STYLE.WS_DISABLED;
10954
cp.
Style
|= (int)WINDOW_STYLE.WS_VISIBLE;
System\Windows\Forms\Controls\Buttons\Button.cs (3)
118
cp.
Style
|= PInvoke.BS_OWNERDRAW;
122
cp.
Style
|= PInvoke.BS_PUSHBUTTON;
125
cp.
Style
|= PInvoke.BS_DEFPUSHBUTTON;
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (8)
267
cp.
Style
|= PInvoke.BS_MULTILINE;
271
cp.
Style
|= PInvoke.BS_DEFPUSHBUTTON;
278
cp.
Style
|= PInvoke.BS_LEFT;
282
cp.
Style
|= PInvoke.BS_RIGHT;
286
cp.
Style
|= PInvoke.BS_CENTER;
291
cp.
Style
|= PInvoke.BS_TOP;
295
cp.
Style
|= PInvoke.BS_BOTTOM;
299
cp.
Style
|= PInvoke.BS_VCENTER;
System\Windows\Forms\Controls\Buttons\CheckBox.cs (4)
229
cp.
Style
|= PInvoke.BS_OWNERDRAW;
233
cp.
Style
|= PInvoke.BS_3STATE;
236
cp.
Style
|= PInvoke.BS_PUSHLIKE;
243
cp.
Style
|= PInvoke.BS_RIGHTBUTTON;
System\Windows\Forms\Controls\Buttons\RadioButton.cs (4)
197
cp.
Style
|= PInvoke.BS_OWNERDRAW;
201
cp.
Style
|= PInvoke.BS_RADIOBUTTON;
204
cp.
Style
|= PInvoke.BS_PUSHLIKE;
211
cp.
Style
|= PInvoke.BS_RIGHTBUTTON;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (7)
335
cp.
Style
|= (int)WINDOW_STYLE.WS_VSCROLL | PInvoke.CBS_HASSTRINGS | PInvoke.CBS_AUTOHSCROLL;
339
cp.
Style
|= PInvoke.CBS_NOINTEGRALHEIGHT;
345
cp.
Style
|= PInvoke.CBS_SIMPLE;
348
cp.
Style
|= PInvoke.CBS_DROPDOWN;
353
cp.
Style
|= PInvoke.CBS_DROPDOWNLIST;
362
cp.
Style
|= PInvoke.CBS_OWNERDRAWFIXED;
365
cp.
Style
|= PInvoke.CBS_OWNERDRAWVARIABLE;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (3)
393
cp.
Style
|= (int)_style;
398
cp.
Style
|= (int)PInvoke.DTS_LONGDATEFORMAT;
403
cp.
Style
|= (int)TIMEFORMAT_NOUPDOWN;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (2)
119
cp.
Style
|= PInvoke.BS_GROUPBOX;
125
cp.
Style
&= ~PInvoke.BS_GROUPBOX;
System\Windows\Forms\Controls\Labels\Label.cs (8)
258
cp.
Style
|= (int)STATIC_STYLES.SS_OWNERDRAW;
272
cp.
Style
|= (int)STATIC_STYLES.SS_LEFT;
277
cp.
Style
|= (int)STATIC_STYLES.SS_RIGHT;
282
cp.
Style
|= (int)STATIC_STYLES.SS_CENTER;
288
cp.
Style
|= (int)STATIC_STYLES.SS_LEFT;
294
cp.
Style
|= (int)WINDOW_STYLE.WS_BORDER;
297
cp.
Style
|= (int)STATIC_STYLES.SS_SUNKEN;
303
cp.
Style
|= (int)STATIC_STYLES.SS_NOPREFIX;
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
100
cp.
Style
|= PInvoke.LBS_OWNERDRAWFIXED | PInvoke.LBS_WANTKEYBOARDINPUT;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (12)
274
cp.
Style
|= (int)WINDOW_STYLE.WS_VSCROLL | PInvoke.LBS_NOTIFY | PInvoke.LBS_HASSTRINGS;
277
cp.
Style
|= PInvoke.LBS_DISABLENOSCROLL;
282
cp.
Style
|= PInvoke.LBS_NOINTEGRALHEIGHT;
287
cp.
Style
|= PInvoke.LBS_USETABSTOPS;
296
cp.
Style
|= (int)WINDOW_STYLE.WS_BORDER;
302
cp.
Style
|= PInvoke.LBS_MULTICOLUMN | (int)WINDOW_STYLE.WS_HSCROLL;
306
cp.
Style
|= (int)WINDOW_STYLE.WS_HSCROLL;
312
cp.
Style
|= PInvoke.LBS_NOSEL;
315
cp.
Style
|= PInvoke.LBS_MULTIPLESEL;
318
cp.
Style
|= PInvoke.LBS_EXTENDEDSEL;
329
cp.
Style
|= PInvoke.LBS_OWNERDRAWFIXED;
332
cp.
Style
|= PInvoke.LBS_OWNERDRAWVARIABLE;
System\Windows\Forms\Controls\ListView\ListView.cs (16)
638
cp.
Style
|= currentStyle & (int)(WINDOW_STYLE.WS_HSCROLL | WINDOW_STYLE.WS_VSCROLL);
641
cp.
Style
|= (int)PInvoke.LVS_SHAREIMAGELISTS;
646
cp.
Style
|= (int)PInvoke.LVS_ALIGNTOP;
649
cp.
Style
|= (int)PInvoke.LVS_ALIGNLEFT;
655
cp.
Style
|= (int)PInvoke.LVS_AUTOARRANGE;
664
cp.
Style
|= (int)WINDOW_STYLE.WS_BORDER;
671
cp.
Style
|= (int)PInvoke.LVS_NOCOLUMNHEADER;
674
cp.
Style
|= (int)PInvoke.LVS_NOSORTHEADER;
680
cp.
Style
|= (int)PInvoke.LVS_EDITLABELS;
685
cp.
Style
|= (int)PInvoke.LVS_NOLABELWRAP;
690
cp.
Style
|= (int)PInvoke.LVS_SHOWSELALWAYS;
695
cp.
Style
|= (int)PInvoke.LVS_SINGLESEL;
703
cp.
Style
|= (int)PInvoke.LVS_SORTASCENDING;
706
cp.
Style
|= (int)PInvoke.LVS_SORTDESCENDING;
713
cp.
Style
|= (int)PInvoke.LVS_OWNERDATA;
721
cp.
Style
|= (int)_viewStyle;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (4)
292
cp.
Style
|= (int)PInvoke.MCS_MULTISELECT | (int)PInvoke.MCS_DAYSTATE;
295
cp.
Style
|= (int)PInvoke.MCS_NOTODAY;
300
cp.
Style
|= (int)PInvoke.MCS_NOTODAYCIRCLE;
305
cp.
Style
|= (int)PInvoke.MCS_WEEKNUMBERS;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
209
cp.
Style
|= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (2)
56
cp.
Style
|= (int)PInvoke.PBS_SMOOTH;
60
cp.
Style
|= (int)PInvoke.PBS_MARQUEE;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (1)
89
Style
= (int)(PInvoke.TTS_ALWAYSTIP | PInvoke.TTS_NOPREFIX),
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
72
cp.
Style
|= unchecked((int)(WINDOW_STYLE.WS_POPUP | WINDOW_STYLE.WS_BORDER));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBox.cs (1)
27
cp.
Style
&= ~(int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (5)
293
cp.
Style
|= (int)WINDOW_STYLE.WS_HSCROLL;
296
cp.
Style
|= (int)PInvoke.ES_DISABLENOSCROLL;
302
cp.
Style
|= (int)WINDOW_STYLE.WS_VSCROLL;
305
cp.
Style
|= (int)PInvoke.ES_DISABLENOSCROLL;
314
cp.
Style
&= ~(int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
210
cp.
Style
&= ~(int)WINDOW_STYLE.WS_BORDER;
219
cp.
Style
|= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Controls\TabControl\TabControl.cs (12)
280
cp.
Style
|= (int)PInvoke.TCS_MULTILINE;
285
cp.
Style
|= (int)PInvoke.TCS_OWNERDRAWFIXED;
290
cp.
Style
|= (int)PInvoke.TCS_TOOLTIPS;
296
cp.
Style
|= (int)PInvoke.TCS_BOTTOM;
302
cp.
Style
|= (int)PInvoke.TCS_VERTICAL | (int)PInvoke.TCS_MULTILINE;
307
cp.
Style
|= (int)PInvoke.TCS_HOTTRACK;
312
cp.
Style
|= (int)PInvoke.TCS_TABS;
316
cp.
Style
|= (int)PInvoke.TCS_BUTTONS;
319
cp.
Style
|= (int)PInvoke.TCS_FLATBUTTONS;
326
cp.
Style
|= (int)PInvoke.TCS_RAGGEDRIGHT;
329
cp.
Style
|= (int)PInvoke.TCS_RIGHTJUSTIFY;
332
cp.
Style
|= (int)PInvoke.TCS_FIXEDWIDTH;
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (3)
321
cp.
Style
|= PInvoke.ES_LEFT;
324
cp.
Style
|= PInvoke.ES_CENTER;
327
cp.
Style
|= PInvoke.ES_RIGHT;
System\Windows\Forms\Controls\TextBox\TextBox.cs (8)
278
cp.
Style
|= PInvoke.ES_LOWERCASE;
281
cp.
Style
|= PInvoke.ES_UPPERCASE;
294
cp.
Style
|= PInvoke.ES_LEFT;
297
cp.
Style
|= PInvoke.ES_CENTER;
300
cp.
Style
|= PInvoke.ES_RIGHT;
311
cp.
Style
|= (int)WINDOW_STYLE.WS_HSCROLL;
316
cp.
Style
|= (int)WINDOW_STYLE.WS_VSCROLL;
322
cp.
Style
|= PInvoke.ES_PASSWORD;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (7)
406
cp.
Style
|= PInvoke.ES_AUTOHSCROLL | PInvoke.ES_AUTOVSCROLL;
409
cp.
Style
|= PInvoke.ES_NOHIDESEL;
414
cp.
Style
|= PInvoke.ES_READONLY;
417
cp.
Style
&= ~(int)WINDOW_STYLE.WS_BORDER;
426
cp.
Style
|= (int)WINDOW_STYLE.WS_BORDER;
432
cp.
Style
|= PInvoke.ES_MULTILINE;
435
cp.
Style
&= ~PInvoke.ES_AUTOHSCROLL;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (3)
220
cp.
Style
&= ~(int)(WINDOW_STYLE.WS_CAPTION | WINDOW_STYLE.WS_CLIPSIBLINGS);
223
cp.
Style
|= TopLevel ? unchecked((int)WINDOW_STYLE.WS_POPUP) : (int)WINDOW_STYLE.WS_CHILD;
246
cp.
Style
|= (int)WINDOW_STYLE.WS_CLIPSIBLINGS;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (6)
159
cp.
Style
|= (int)PInvoke.TBS_NOTICKS;
162
cp.
Style
|= (int)(PInvoke.TBS_TOP);
166
cp.
Style
|= (int)(PInvoke.TBS_BOTTOM);
170
cp.
Style
|= (int)(PInvoke.TBS_BOTH);
177
cp.
Style
|= (int)PInvoke.TBS_VERT;
194
cp.
Style
|= (int)PInvoke.TBS_AUTOTICKS;
System\Windows\Forms\Controls\TreeView\TreeView.cs (14)
318
cp.
Style
|= currentStyle & (int)(WINDOW_STYLE.WS_HSCROLL | WINDOW_STYLE.WS_VSCROLL);
327
cp.
Style
|= (int)WINDOW_STYLE.WS_BORDER;
333
cp.
Style
|= (int)PInvoke.LVS_NOSCROLL;
338
cp.
Style
|= (int)PInvoke.TVS_SHOWSELALWAYS;
343
cp.
Style
|= (int)PInvoke.TVS_EDITLABELS;
348
cp.
Style
|= (int)PInvoke.TVS_HASLINES;
353
cp.
Style
|= (int)PInvoke.TVS_HASBUTTONS;
358
cp.
Style
|= (int)PInvoke.TVS_LINESATROOT;
363
cp.
Style
|= (int)PInvoke.TVS_TRACKSELECT;
368
cp.
Style
|= (int)PInvoke.TVS_FULLROWSELECT;
373
cp.
Style
|= (int)PInvoke.TVS_NONEVENHEIGHT;
380
cp.
Style
|= (int)PInvoke.TVS_INFOTIP;
387
cp.
Style
|= (int)PInvoke.TVS_CHECKBOXES;
403
cp.
Style
|= (int)PInvoke.TVS_RTLREADING;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
224
cp.
Style
&= ~(int)WINDOW_STYLE.WS_BORDER;
233
cp.
Style
|= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Design\ComponentEditorPage.cs (1)
82
cp.
Style
&= ~(int)(WINDOW_STYLE.WS_BORDER | WINDOW_STYLE.WS_OVERLAPPED | WINDOW_STYLE.WS_DLGFRAME);
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (2)
93
Style
= (int)(WINDOW_STYLE.WS_VISIBLE | WINDOW_STYLE.WS_CHILD),
114
Style
= (int)PInvoke.TTS_ALWAYSTIP
System\Windows\Forms\Form.cs (20)
767
cp.
Style
|= (int)WINDOW_STYLE.WS_DISABLED;
772
cp.
Style
&= ~(int)WINDOW_STYLE.WS_DISABLED;
809
cp.
Style
|= (int)WINDOW_STYLE.WS_MAXIMIZE;
817
cp.
Style
|= (int)WINDOW_STYLE.WS_MAXIMIZE;
833
cp.
Style
&= ~(int)WINDOW_STYLE.WS_VISIBLE;
3532
cp.
Style
|= (int)WINDOW_STYLE.WS_CAPTION;
3537
cp.
Style
|= (int)(WINDOW_STYLE.WS_SYSMENU | WINDOW_STYLE.WS_CAPTION);
3541
cp.
Style
&= ~(int)WINDOW_STYLE.WS_SYSMENU;
3546
cp.
Style
|= (int)WINDOW_STYLE.WS_MAXIMIZEBOX;
3550
cp.
Style
&= ~(int)WINDOW_STYLE.WS_MAXIMIZEBOX;
3555
cp.
Style
|= (int)WINDOW_STYLE.WS_MINIMIZEBOX;
3559
cp.
Style
&= ~(int)WINDOW_STYLE.WS_MINIMIZEBOX;
3587
cp.
Style
|= (int)WINDOW_STYLE.WS_BORDER;
3590
cp.
Style
|= (int)(WINDOW_STYLE.WS_BORDER | WINDOW_STYLE.WS_THICKFRAME);
3593
cp.
Style
|= (int)WINDOW_STYLE.WS_BORDER;
3597
cp.
Style
|= (int)WINDOW_STYLE.WS_BORDER;
3601
cp.
Style
|= (int)WINDOW_STYLE.WS_BORDER;
3605
cp.
Style
|= (int)(WINDOW_STYLE.WS_BORDER | WINDOW_STYLE.WS_THICKFRAME);
3694
cp.
Style
|= (int)WINDOW_STYLE.WS_MAXIMIZE;
3697
cp.
Style
|= (int)WINDOW_STYLE.WS_MINIMIZE;
System\Windows\Forms\MDI\MDIClient.cs (2)
95
cp.
Style
|= (int)(WINDOW_STYLE.WS_VSCROLL | WINDOW_STYLE.WS_HSCROLL);
105
cp.
Style
|= (int)WINDOW_STYLE.WS_DISABLED;
System\Windows\Forms\Panels\Panel.cs (2)
127
cp.
Style
&= ~(int)WINDOW_STYLE.WS_BORDER;
137
cp.
Style
|= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Scrolling\HScrollBar.cs (1)
18
cp.
Style
|= (int)SCROLLBAR_CONSTANTS.SB_HORZ;
System\Windows\Forms\Scrolling\ScrollableControl.cs (4)
165
cp.
Style
|= (int)WINDOW_STYLE.WS_HSCROLL;
169
cp.
Style
&= ~(int)WINDOW_STYLE.WS_HSCROLL;
174
cp.
Style
|= (int)WINDOW_STYLE.WS_VSCROLL;
178
cp.
Style
&= ~(int)WINDOW_STYLE.WS_VSCROLL;
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
128
cp.
Style
&= ~(int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Scrolling\VScrollBar.cs (1)
22
cp.
Style
|= (int)SCROLLBAR_CONSTANTS.SB_VERT;
System\Windows\Forms\Timer.cs (1)
217
Style
= 0,
System\Windows\Forms\ToolTip\ToolTip.cs (5)
204
cp.
Style
= (int)PInvoke.TTS_ALWAYSTIP;
209
cp.
Style
|= (int)PInvoke.TTS_BALLOON;
214
cp.
Style
|= (int)PInvoke.TTS_NOPREFIX;
219
cp.
Style
|= (int)PInvoke.TTS_NOANIMATE;
224
cp.
Style
|= (int)PInvoke.TTS_NOFADE;
System\Windows\Forms\UserControl.cs (2)
159
cp.
Style
&= ~(int)WINDOW_STYLE.WS_BORDER;
169
cp.
Style
|= (int)WINDOW_STYLE.WS_BORDER;
System.Windows.Forms.Design (4)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
63
cp.
Style
|= unchecked((int)(WINDOW_STYLE.WS_POPUP | WINDOW_STYLE.WS_BORDER));
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
42
cp.
Style
&= ~(int)(WINDOW_STYLE.WS_CLIPCHILDREN | WINDOW_STYLE.WS_CLIPSIBLINGS);
System\Windows\Forms\Design\SelectionUIService.cs (1)
100
cp.
Style
&= ~(int)(WINDOW_STYLE.WS_CLIPSIBLINGS | WINDOW_STYLE.WS_CLIPCHILDREN);
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
185
cp.
Style
&= ~(int)(WINDOW_STYLE.WS_CLIPCHILDREN | WINDOW_STYLE.WS_CLIPSIBLINGS);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ControlTests.Methods.cs (1)
10168
cp.
Style
|= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\CreateParamsTests.cs (2)
37
Style
= value
137
Style
= 10,
System\Windows\Forms\GroupBoxTests.cs (1)
950
cp.
Style
|= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\PanelTests.cs (1)
642
cp.
Style
|= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\ScrollBarTests.cs (1)
3150
cp.
Style
|= (int)SCROLLBAR_CONSTANTS.SB_VERT;
136 references to Style
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\Internal\ProgressDialog.vb (1)
57
cp.Style = cp.
Style
Or WS_THICKFRAME
System.Windows.Forms (18)
System\Windows\Forms\Control.cs (9)
371
AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.
Style
, false, (WINDOW_EX_STYLE)cp.ExStyle);
4510
if (cp.Parent == IntPtr.Zero && (cp.
Style
& (int)WINDOW_STYLE.WS_CHILD) != 0)
5278
AdjustWindowRectExForControlDpi(ref adornmentsAfterDpiChange, (WINDOW_STYLE)cp.
Style
, bMenu: false, (WINDOW_EX_STYLE)cp.ExStyle);
5282
AdjustWindowRectExForDpi(ref adornmentsBeforeDpiChange, (WINDOW_STYLE)cp.
Style
, bMenu: false, (WINDOW_EX_STYLE)cp.ExStyle, _oldDeviceDpi);
9668
AdjustWindowRectExForControlDpi(ref adornments, (WINDOW_STYLE)cp.
Style
, false, (WINDOW_EX_STYLE)cp.ExStyle);
10124
AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.
Style
, false, (WINDOW_EX_STYLE)cp.ExStyle);
10753
AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.
Style
, false, (WINDOW_EX_STYLE)cp.ExStyle);
10957
if (currentStyle != (WINDOW_STYLE)cp.
Style
)
10959
WindowStyle = (WINDOW_STYLE)cp.
Style
;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
312
if (BorderStyle == BorderStyle.FixedSingle && ((cp.
Style
& (int)WINDOW_STYLE.WS_BORDER) != 0))
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
33
AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.
Style
, false, (WINDOW_EX_STYLE)cp.ExStyle);
System\Windows\Forms\CreateParams.cs (1)
72
return $"CreateParams {{'{ClassName}', '{Caption}', 0x{
Style
:x}, 0x{ExStyle:x}, {{{X}, {Y}, {Width}, {Height}}}}}";
System\Windows\Forms\Form.cs (3)
830
if ((cp.
Style
& (int)WINDOW_STYLE.WS_VISIBLE) != 0)
3208
return ComputeWindowSize(clientSize, (WINDOW_STYLE)cp.
Style
, (WINDOW_EX_STYLE)cp.ExStyle);
3619
int maskedStyle = cp.
Style
& ~(int)(WINDOW_STYLE.WS_MAXIMIZE | WINDOW_STYLE.WS_MINIMIZE);
System\Windows\Forms\MDI\MDIClient.cs (1)
287
AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.
Style
, false, (WINDOW_EX_STYLE)cp.ExStyle);
System\Windows\Forms\NativeWindow.cs (1)
443
(WINDOW_STYLE)cp.
Style
,
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
44
if ((CreateParams.
Style
& (int)SCROLLBAR_CONSTANTS.SB_VERT) != 0)
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
144
Assert.Equal(0x56000000, createParams.
Style
);
System.Windows.Forms.Tests (115)
System\Windows\Forms\AxHostTests.cs (2)
240
Assert.Equal(0x56010000, createParams.
Style
);
280
Assert.Equal(0x56010000, createParams.
Style
);
System\Windows\Forms\ButtonBaseTests.cs (3)
137
Assert.Equal(0x56010000, createParams.
Style
);
170
Assert.Equal(expectedStyle, createParams.
Style
);
240
Assert.Equal(expectedStyle, createParams.
Style
);
System\Windows\Forms\ButtonTests.cs (4)
135
Assert.Equal(0x5601000B, createParams.
Style
);
159
Assert.Equal(expectedStyle, createParams.
Style
);
192
Assert.Equal(expectedStyle, createParams.
Style
);
262
Assert.Equal(expectedStyle, createParams.
Style
);
System\Windows\Forms\CheckBoxTests.cs (1)
138
Assert.Equal(0x5601000B, createParams.
Style
);
System\Windows\Forms\ComboBoxTests.cs (1)
147
Assert.Equal(0x56210242, createParams.
Style
);
System\Windows\Forms\ContainerControlTests.cs (1)
138
Assert.Equal(0x56010000, createParams.
Style
);
System\Windows\Forms\ControlTests.cs (9)
510
Assert.Equal(0x56010000, createParams.
Style
);
534
Assert.Equal(0x56010000, createParams.
Style
);
560
Assert.Equal(expectedStyle, createParams.
Style
);
585
Assert.Equal(0x56010000, createParams.
Style
);
611
Assert.Equal(0x56010000, createParams.
Style
);
633
Assert.Equal(0x12010000, createParams.
Style
);
660
Assert.Equal(0x56010000, createParams.
Style
);
686
Assert.Equal(expectedStyle, createParams.
Style
);
712
Assert.Equal(expectedStyle, createParams.
Style
);
System\Windows\Forms\CreateParamsTests.cs (1)
39
Assert.Equal(value, createParams.
Style
);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
145
Assert.Equal(0x560000C0, createParams.
Style
);
System\Windows\Forms\DateTimePickerTests.cs (1)
138
Assert.Equal(0x56010004, createParams.
Style
);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
181
Assert.Equal(0x2C80000, createParams.
Style
);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
141
Assert.Equal(0x46000000, createParams.
Style
);
System\Windows\Forms\DomainUpDownTests.cs (1)
164
((WINDOW_STYLE)createParams.
Style
).Should().Be(WINDOW_STYLE.WS_MAXIMIZEBOX | WINDOW_STYLE.WS_CLIPCHILDREN | WINDOW_STYLE.WS_CLIPSIBLINGS
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
133
Assert.Equal(0x56000000, createParams.
Style
);
System\Windows\Forms\FormTests.cs (1)
182
Assert.Equal(0x2CF0000, createParams.
Style
);
System\Windows\Forms\GroupBoxTests.cs (2)
118
Assert.Equal(0x56000000, createParams.
Style
);
146
Assert.Equal(expectedStyle, createParams.
Style
);
System\Windows\Forms\HScrollBarTests.cs (1)
132
Assert.Equal(0x56000000, createParams.
Style
);
System\Windows\Forms\LabelTests.cs (1)
129
Assert.Equal(0x5600000D, createParams.
Style
);
System\Windows\Forms\ListBoxTests.cs (8)
150
Assert.Equal(0x562100C1, createParams.
Style
);
176
Assert.Equal(expectedStyle, createParams.
Style
);
202
Assert.Equal(expectedStyle, createParams.
Style
);
228
Assert.Equal(expectedStyle, createParams.
Style
);
255
Assert.Equal(expectedStyle, createParams.
Style
);
284
Assert.Equal(expectedStyle, createParams.
Style
);
312
Assert.Equal(expectedStyle, createParams.
Style
);
339
Assert.Equal(expectedStyle, createParams.
Style
);
System\Windows\Forms\ListControlTests.cs (1)
126
Assert.Equal(0x56010000, createParams.
Style
);
System\Windows\Forms\ListViewTests.cs (1)
168
Assert.Equal(0x56010148, createParams.
Style
);
System\Windows\Forms\MonthCalendarTests.cs (1)
157
Assert.Equal(0x56010003, createParams.
Style
);
System\Windows\Forms\PanelTests.cs (2)
131
Assert.Equal(0x56000000, createParams.
Style
);
157
Assert.Equal(expectedStyle, createParams.
Style
);
System\Windows\Forms\PictureBoxTests.cs (1)
132
Assert.Equal(expectedStyle, createParams.
Style
);
System\Windows\Forms\ProgressBarTests.cs (3)
118
Assert.Equal(0x56010000, createParams.
Style
);
157
Assert.Equal(expectedStyle, createParams.
Style
);
186
Assert.Equal(expectedStyle, createParams.
Style
);
System\Windows\Forms\PropertyGridTests.cs (1)
186
Assert.Equal(0x56010000, createParams.
Style
);
System\Windows\Forms\RadioButtonTests.cs (2)
135
Assert.Equal(0x5600000B, createParams.
Style
);
159
Assert.Equal(expectedStyle, createParams.
Style
);
System\Windows\Forms\RichTextBoxTests.cs (3)
152
Assert.Equal(0x56210044, createParams.
Style
);
178
Assert.Equal(expectedStyle, createParams.
Style
);
232
Assert.Equal(expectedStyle, createParams.
Style
);
System\Windows\Forms\ScrollableControlTests.cs (3)
131
Assert.Equal(0x56010000, createParams.
Style
);
158
Assert.Equal(expectedStyle, createParams.
Style
);
185
Assert.Equal(expectedStyle, createParams.
Style
);
System\Windows\Forms\ScrollBarTests.cs (1)
120
Assert.Equal(0x56000000, createParams.
Style
);
System\Windows\Forms\SplitterTests.cs (2)
118
Assert.Equal(0x56000000, createParams.
Style
);
145
Assert.Equal(expectedStyle, createParams.
Style
);
System\Windows\Forms\StatusStripTests.cs (1)
167
Assert.Equal(0x56000000, createParams.
Style
);
System\Windows\Forms\TabControlTests.cs (9)
129
Assert.Equal(0x56010800, createParams.
Style
);
154
Assert.Equal(expectedStyle, createParams.
Style
);
178
Assert.Equal(expectedStyle, createParams.
Style
);
215
Assert.Equal(expectedStyle, createParams.
Style
);
241
Assert.Equal(expectedStyle, createParams.
Style
);
265
Assert.Equal(expectedStyle, createParams.
Style
);
300
Assert.Equal(expectedStyle, createParams.
Style
);
325
Assert.Equal(expectedStyle, createParams.
Style
);
354
Assert.Equal(expectedStyle, createParams.
Style
);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
142
Assert.Equal(0x56000000, createParams.
Style
);
System\Windows\Forms\TabPageTests.cs (1)
247
Assert.Equal(0x56000000, createParams.
Style
);
System\Windows\Forms\ToolStripDropDownTests.cs (3)
174
Assert.Equal(-0x7E000000, createParams.
Style
);
205
Assert.Equal(-0x7E000000, createParams.
Style
);
239
Assert.Equal(expectedStyle, createParams.
Style
);
System\Windows\Forms\ToolStripPanelTests.cs (1)
135
Assert.Equal(0x56000000, createParams.
Style
);
System\Windows\Forms\ToolStripTests.cs (1)
347
Assert.Equal(0x56000000, createParams.
Style
);
System\Windows\Forms\ToolTipTests.cs (1)
91
Assert.Equal(0x2, createParams.
Style
);
System\Windows\Forms\TreeViewTests.cs (19)
145
Assert.Equal(0x56010007, createParams.
Style
);
173
Assert.Equal(0x56010007, createParams.
Style
);
203
Assert.Equal(expectedStyle, createParams.
Style
);
229
Assert.Equal(expectedStyle, createParams.
Style
);
255
Assert.Equal(expectedStyle, createParams.
Style
);
281
Assert.Equal(expectedStyle, createParams.
Style
);
307
Assert.Equal(expectedStyle, createParams.
Style
);
333
Assert.Equal(expectedStyle, createParams.
Style
);
359
Assert.Equal(expectedStyle, createParams.
Style
);
385
Assert.Equal(expectedStyle, createParams.
Style
);
411
Assert.Equal(expectedStyle, createParams.
Style
);
437
Assert.Equal(0x56010007, createParams.
Style
);
470
Assert.Equal(0x56010007, createParams.
Style
);
503
Assert.Equal(expectedStyle, createParams.
Style
);
549
Assert.Equal(0x56010007, createParams.
Style
);
595
Assert.Equal(expectedStyle, createParams.
Style
);
623
Assert.Equal(0x56010007, createParams.
Style
);
656
Assert.Equal(expectedStyle, createParams.
Style
);
689
Assert.Equal(expectedStyle, createParams.
Style
);
System\Windows\Forms\UpDownBaseTests.cs (2)
148
WINDOW_STYLE.WS_VISIBLE | WINDOW_STYLE.WS_CHILD, (WINDOW_STYLE)createParams.
Style
);
192
Assert.Equal(expectedStyle, createParams.
Style
);
System\Windows\Forms\UserControlTests.cs (2)
138
Assert.Equal(0x56010000, createParams.
Style
);
164
Assert.Equal(expectedStyle, createParams.
Style
);
System\Windows\Forms\VScrollBarTests.cs (1)
131
Assert.Equal(0x56000001, createParams.
Style
);
System\Windows\Forms\WebBrowserTests.cs (1)
114
Assert.Equal(0x56010000, createParams.
Style
);
TextBoxBaseTests.cs (5)
30
Assert.Equal(0x560100C0, createParams.
Style
);
56
Assert.Equal(expectedStyle, createParams.
Style
);
82
Assert.Equal(expectedStyle, createParams.
Style
);
108
Assert.Equal(expectedStyle, createParams.
Style
);
137
Assert.Equal(expectedStyle, createParams.
Style
);
TextBoxTests.cs (1)
138
Assert.Equal(0x560100C0, createParams.
Style
);
TrackBarTests.cs (4)
125
Assert.Equal(0x56010001, createParams.
Style
);
153
Assert.Equal(expectedStyle, createParams.
Style
);
179
Assert.Equal(expectedStyle, createParams.
Style
);
210
Assert.Equal(0x56010001, createParams.
Style
);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
578
HWSParam.WindowStyle = cp.
Style
;