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