73 writes to ExStyle
System.Windows.Forms (70)
System\Windows\Forms\Control.cs (5)
1398
cp.
ExStyle
= 0;
1410
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CONTROLPARENT;
1454
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_RTLREADING;
1455
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_RIGHT;
1456
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_LEFTSCROLLBAR;
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
271
cp.
ExStyle
&= ~(int)WINDOW_EX_STYLE.WS_EX_RIGHT;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
341
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (3)
409
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
414
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL;
416
cp.
ExStyle
&= ~(int)(WINDOW_EX_STYLE.WS_EX_RTLREADING | WINDOW_EX_STYLE.WS_EX_RIGHT | WINDOW_EX_STYLE.WS_EX_LEFTSCROLLBAR);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
128
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CONTROLPARENT;
System\Windows\Forms\Controls\Labels\Label.cs (1)
260
cp.
ExStyle
&= ~(int)WINDOW_EX_STYLE.WS_EX_RIGHT; // WS_EX_RIGHT overrides the SS_XXXX alignment styles
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
291
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
System\Windows\Forms\Controls\ListView\ListView.cs (3)
663
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
729
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL;
731
cp.
ExStyle
&= ~(int)(WINDOW_EX_STYLE.WS_EX_RTLREADING | WINDOW_EX_STYLE.WS_EX_RIGHT | WINDOW_EX_STYLE.WS_EX_LEFTSCROLLBAR);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (2)
308
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL;
311
cp.
ExStyle
&= ~(int)(WINDOW_EX_STYLE.WS_EX_RTLREADING | WINDOW_EX_STYLE.WS_EX_RIGHT | WINDOW_EX_STYLE.WS_EX_LEFTSCROLLBAR);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
203
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (2)
64
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL;
67
cp.
ExStyle
&= ~(int)(WINDOW_EX_STYLE.WS_EX_RTLREADING | WINDOW_EX_STYLE.WS_EX_RIGHT | WINDOW_EX_STYLE.WS_EX_LEFTSCROLLBAR);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (1)
90
ExStyle
= 0,
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
73
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_TOOLWINDOW;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBox.cs (1)
28
cp.
ExStyle
&= ~(int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
315
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
210
cp.
ExStyle
&= ~(int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
215
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
System\Windows\Forms\Controls\TabControl\TabControl.cs (2)
342
cp.
ExStyle
|= (int)(WINDOW_EX_STYLE.WS_EX_LAYOUTRTL | WINDOW_EX_STYLE.WS_EX_NOINHERITLAYOUT);
344
cp.
ExStyle
&= ~(int)(WINDOW_EX_STYLE.WS_EX_RTLREADING | WINDOW_EX_STYLE.WS_EX_RIGHT | WINDOW_EX_STYLE.WS_EX_LEFTSCROLLBAR);
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
313
cp.
ExStyle
&= ~(int)WINDOW_EX_STYLE.WS_EX_RIGHT; // WS_EX_RIGHT overrides the ES_XXXX alignment styles
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
280
cp.
ExStyle
&= ~(int)WINDOW_EX_STYLE.WS_EX_RIGHT;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
419
cp.
ExStyle
&= ~(int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
424
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
626
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
677
ExStyle
= (int)WINDOW_EX_STYLE.WS_EX_TOOLWINDOW
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (3)
222
cp.
ExStyle
&= ~(int)WINDOW_EX_STYLE.WS_EX_APPWINDOW;
224
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CONTROLPARENT;
231
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_LAYERED;
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (2)
182
cp.
ExStyle
|= (int)(WINDOW_EX_STYLE.WS_EX_LAYOUTRTL | WINDOW_EX_STYLE.WS_EX_NOINHERITLAYOUT);
183
cp.
ExStyle
&= ~(int)(WINDOW_EX_STYLE.WS_EX_RTLREADING | WINDOW_EX_STYLE.WS_EX_RIGHT | WINDOW_EX_STYLE.WS_EX_LEFTSCROLLBAR);
System\Windows\Forms\Controls\TreeView\TreeView.cs (3)
322
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
395
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL;
397
cp.
ExStyle
&= ~(int)(WINDOW_EX_STYLE.WS_EX_RTLREADING | WINDOW_EX_STYLE.WS_EX_RIGHT | WINDOW_EX_STYLE.WS_EX_LEFTSCROLLBAR);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
228
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (1)
48
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_STATICEDGE;
System\Windows\Forms\Form.cs (13)
773
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_LAYERED;
787
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_APPWINDOW;
793
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_DLGMODALFRAME;
816
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_MDICHILD;
840
cp.
ExStyle
|= (int)(WINDOW_EX_STYLE.WS_EX_LAYOUTRTL | WINDOW_EX_STYLE.WS_EX_NOINHERITLAYOUT);
842
cp.
ExStyle
&= ~(int)(WINDOW_EX_STYLE.WS_EX_RTLREADING | WINDOW_EX_STYLE.WS_EX_RIGHT | WINDOW_EX_STYLE.WS_EX_LEFTSCROLLBAR);
2013
ExStyle
= (int)WINDOW_EX_STYLE.WS_EX_TOOLWINDOW
3619
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CONTEXTHELP;
3623
cp.
ExStyle
&= ~(int)WINDOW_EX_STYLE.WS_EX_CONTEXTHELP;
3645
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
3649
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_DLGMODALFRAME;
3653
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_TOOLWINDOW;
3657
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_TOOLWINDOW;
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
294
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CONTROLPARENT;
System\Windows\Forms\MDI\MDIClient.cs (3)
92
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
108
cp.
ExStyle
|= (int)(WINDOW_EX_STYLE.WS_EX_LAYOUTRTL | WINDOW_EX_STYLE.WS_EX_NOINHERITLAYOUT);
110
cp.
ExStyle
&= ~(int)(WINDOW_EX_STYLE.WS_EX_RTLREADING | WINDOW_EX_STYLE.WS_EX_RIGHT | WINDOW_EX_STYLE.WS_EX_LEFTSCROLLBAR);
System\Windows\Forms\Panels\Panel.cs (3)
124
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CONTROLPARENT;
125
cp.
ExStyle
&= ~(int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
130
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
System\Windows\Forms\Timer.cs (1)
218
ExStyle
= 0,
System\Windows\Forms\ToolTip\ToolTip.cs (1)
227
cp.
ExStyle
= 0;
System\Windows\Forms\UserControl.cs (3)
160
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CONTROLPARENT;
161
cp.
ExStyle
&= ~(int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
166
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
62
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_TOOLWINDOW;
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
43
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_TRANSPARENT;
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
180
cp.
ExStyle
|= (int)WINDOW_EX_STYLE.WS_EX_TRANSPARENT;
21 references to ExStyle
System.Windows.Forms (20)
System\Windows\Forms\Control.cs (12)
383
AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.
ExStyle
);
2464
SetState(States.Mirrored, (cp.
ExStyle
& (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0);
4576
SetState(States.Mirrored, (cp.
ExStyle
& (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0);
4600
Debug.Assert((cp.
ExStyle
& (int)WINDOW_EX_STYLE.WS_EX_MDICHILD) == 0, "Can't put MDI child forms on the parking form");
5401
AdjustWindowRectExForControlDpi(ref adornmentsAfterDpiChange, (WINDOW_STYLE)cp.Style, bMenu: false, (WINDOW_EX_STYLE)cp.
ExStyle
);
5405
AdjustWindowRectExForDpi(ref adornmentsBeforeDpiChange, (WINDOW_STYLE)cp.Style, bMenu: false, (WINDOW_EX_STYLE)cp.
ExStyle
, OriginalDeviceDpiInternal);
9801
AdjustWindowRectExForControlDpi(ref adornments, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.
ExStyle
);
10246
AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.
ExStyle
);
10889
AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.
ExStyle
);
11098
if (currentExtendedStyle != (WINDOW_EX_STYLE)cp.
ExStyle
)
11100
ExtendedWindowStyle = (WINDOW_EX_STYLE)cp.
ExStyle
;
11101
SetState(States.Mirrored, ((WINDOW_EX_STYLE)cp.
ExStyle
).HasFlag(WINDOW_EX_STYLE.WS_EX_LAYOUTRTL));
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 (4)
1593
if ((int)ExtendedWindowStyle != cp.
ExStyle
)
1595
PInvokeCore.SetWindowLong(this, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE, cp.
ExStyle
);
3268
return ComputeWindowSize(clientSize, (WINDOW_STYLE)cp.Style, (WINDOW_EX_STYLE)cp.
ExStyle
);
3671
Size correct = ComputeWindowSize(ClientSize, (WINDOW_STYLE)maskedStyle, (WINDOW_EX_STYLE)cp.
ExStyle
);
System\Windows\Forms\MDI\MDIClient.cs (1)
283
AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.
ExStyle
);
System\Windows\Forms\NativeWindow.cs (1)
440
(WINDOW_EX_STYLE)cp.
ExStyle
,
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
570
ExtendedWindowStyle = cp.
ExStyle
,