195 references to WINDOW_EX_STYLE
System.Windows.Forms (136)
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (2)
50public override bool IsReadingRTL => WindowExStyle.HasFlag(WINDOW_EX_STYLE.WS_EX_RTLREADING); 68public override WINDOW_EX_STYLE WindowExStyle => GetWindowExStyle(_owningChildEdit);
System\Windows\Forms\Control.cs (24)
383AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle); 1417cp.ExStyle |= (int)WINDOW_EX_STYLE.WS_EX_CONTROLPARENT; 1461cp.ExStyle |= (int)WINDOW_EX_STYLE.WS_EX_RTLREADING; 1462cp.ExStyle |= (int)WINDOW_EX_STYLE.WS_EX_RIGHT; 1463cp.ExStyle |= (int)WINDOW_EX_STYLE.WS_EX_LEFTSCROLLBAR; 2471SetState(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0); 3633private protected WINDOW_EX_STYLE ExtendedWindowStyle 3635get => (WINDOW_EX_STYLE)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE); 4583SetState(States.Mirrored, (cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL) != 0); 4607Debug.Assert((cp.ExStyle & (int)WINDOW_EX_STYLE.WS_EX_MDICHILD) == 0, "Can't put MDI child forms on the parking form"); 4761if (((WINDOW_EX_STYLE)PInvokeCore.GetWindowLong(_window, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE)) 4762.HasFlag(WINDOW_EX_STYLE.WS_EX_MDICHILD)) 5408AdjustWindowRectExForControlDpi(ref adornmentsAfterDpiChange, (WINDOW_STYLE)cp.Style, bMenu: false, (WINDOW_EX_STYLE)cp.ExStyle); 5412AdjustWindowRectExForDpi(ref adornmentsBeforeDpiChange, (WINDOW_STYLE)cp.Style, bMenu: false, (WINDOW_EX_STYLE)cp.ExStyle, OriginalDeviceDpiInternal); 6464private protected void AdjustWindowRectExForControlDpi(ref RECT rect, WINDOW_STYLE style, bool bMenu, WINDOW_EX_STYLE exStyle) 6469private static void AdjustWindowRectExForDpi(ref RECT rect, WINDOW_STYLE style, bool bMenu, WINDOW_EX_STYLE exStyle, int dpi) 9804AdjustWindowRectExForControlDpi(ref adornments, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle); 10249AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle); 10892AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle); 11088WINDOW_EX_STYLE currentExtendedStyle = ExtendedWindowStyle; 11101if (currentExtendedStyle != (WINDOW_EX_STYLE)cp.ExStyle) 11103ExtendedWindowStyle = (WINDOW_EX_STYLE)cp.ExStyle; 11104SetState(States.Mirrored, ((WINDOW_EX_STYLE)cp.ExStyle).HasFlag(WINDOW_EX_STYLE.WS_EX_LAYOUTRTL));
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
271cp.ExStyle &= ~(int)WINDOW_EX_STYLE.WS_EX_RIGHT;
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (3)
62=> _owningComboBox.IsHandleCreated && WindowExStyle.HasFlag(WINDOW_EX_STYLE.WS_EX_RTLREADING); 108public override WINDOW_EX_STYLE WindowExStyle 111: WINDOW_EX_STYLE.WS_EX_LEFT;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
350cp.ExStyle |= (int)WINDOW_EX_STYLE.WS_EX_CLIENTEDGE;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (11)
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); 1506WINDOW_EX_STYLE style = (WINDOW_EX_STYLE)PInvokeCore.GetWindowLong(handle, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE); 1507style |= WINDOW_EX_STYLE.WS_EX_LAYOUTRTL | WINDOW_EX_STYLE.WS_EX_NOINHERITLAYOUT; 1508style &= ~(WINDOW_EX_STYLE.WS_EX_RIGHT | WINDOW_EX_STYLE.WS_EX_RTLREADING);
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 (5)
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 (4)
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 (4)
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\PropertyGridView.cs (2)
364&& ((WINDOW_EX_STYLE)PInvokeCore.GetWindowLong(_editTextBox, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE)).HasFlag(WINDOW_EX_STYLE.WS_EX_RTLREADING);
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 (5)
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)
289cp.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\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (3)
216=> Owner is not null && Owner.IsHandleCreated && WindowExStyle.HasFlag(WINDOW_EX_STYLE.WS_EX_RTLREADING); 284public override WINDOW_EX_STYLE WindowExStyle 287: WINDOW_EX_STYLE.WS_EX_LEFT;
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
618cp.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\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
33AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle);
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (5)
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 (5)
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 (21)
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 3268return ComputeWindowSize(clientSize, (WINDOW_STYLE)cp.Style, (WINDOW_EX_STYLE)cp.ExStyle); 3275private Size ComputeWindowSize(Size clientSize, WINDOW_STYLE style, WINDOW_EX_STYLE exStyle) 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; 3671Size correct = ComputeWindowSize(ClientSize, (WINDOW_STYLE)maskedStyle, (WINDOW_EX_STYLE)cp.ExStyle); 5468if ((owner is not null) && !owner.GetExtendedStyle().HasFlag(WINDOW_EX_STYLE.WS_EX_TOPMOST)) 5694if ((owner is not null) && !owner.GetExtendedStyle().HasFlag(WINDOW_EX_STYLE.WS_EX_TOPMOST))
System\Windows\Forms\Internal\Win32WindowExtensions.cs (3)
8public static WINDOW_EX_STYLE GetExtendedStyle(this IWin32Window window) 10WINDOW_EX_STYLE style = (WINDOW_EX_STYLE)PInvokeCore.GetWindowLong(
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
294cp.ExStyle |= (int)WINDOW_EX_STYLE.WS_EX_CONTROLPARENT;
System\Windows\Forms\MDI\MDIClient.cs (7)
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); 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,
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\ToolTip\ToolTip.cs (1)
996if (!window.GetExtendedStyle().HasFlag(WINDOW_EX_STYLE.WS_EX_LAYOUTRTL))
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;
System.Windows.Forms.Primitives (17)
System\Windows\Forms\Automation\UiaTextProvider.cs (3)
53public abstract WINDOW_EX_STYLE WindowExStyle { get; } 75public static WINDOW_EX_STYLE GetWindowExStyle(IHandle<HWND> hWnd) => 76(WINDOW_EX_STYLE)PInvokeCore.GetWindowLong(hWnd, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE);
Windows.Win32.PInvoke.USER32.dll.g.cs (12)
76 /// <inheritdoc cref="AdjustWindowRectEx(winmdroot.Foundation.RECT*, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE, winmdroot.Foundation.BOOL, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE)"/> 78 internal static unsafe winmdroot.Foundation.BOOL AdjustWindowRectEx(ref winmdroot.Foundation.RECT lpRect, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle) 112 internal static unsafe winmdroot.Foundation.BOOL AdjustWindowRectEx(winmdroot.Foundation.RECT* lpRect, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle) 120 static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.RECT* lpRect, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle); 123 /// <inheritdoc cref="AdjustWindowRectExForDpi(winmdroot.Foundation.RECT*, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE, winmdroot.Foundation.BOOL, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE, uint)"/> 125 internal static unsafe winmdroot.Foundation.BOOL AdjustWindowRectExForDpi(ref winmdroot.Foundation.RECT lpRect, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, uint dpi) 145 internal static unsafe winmdroot.Foundation.BOOL AdjustWindowRectExForDpi(winmdroot.Foundation.RECT* lpRect, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, uint dpi) 153 static extern unsafe winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.RECT* lpRect, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, winmdroot.Foundation.BOOL bMenu, winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, uint dpi); 438 /// <inheritdoc cref="CreateWindowEx(winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE, int, int, int, int, winmdroot.Foundation.HWND, winmdroot.UI.WindowsAndMessaging.HMENU, winmdroot.Foundation.HINSTANCE, void*)"/> 440 internal static unsafe winmdroot.Foundation.HWND CreateWindowEx(winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, string lpClassName, string lpWindowName, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, int X, int Y, int nWidth, int nHeight, winmdroot.Foundation.HWND hWndParent, winmdroot.UI.WindowsAndMessaging.HMENU hMenu, winmdroot.Foundation.HINSTANCE hInstance, void* lpParam) 512 internal static unsafe winmdroot.Foundation.HWND CreateWindowEx(winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, winmdroot.Foundation.PCWSTR lpClassName, winmdroot.Foundation.PCWSTR lpWindowName, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, int X, int Y, int nWidth, int nHeight, winmdroot.Foundation.HWND hWndParent, winmdroot.UI.WindowsAndMessaging.HMENU hMenu, winmdroot.Foundation.HINSTANCE hInstance, [Optional] void* lpParam) 520 static extern unsafe winmdroot.Foundation.HWND LocalExternFunction(winmdroot.UI.WindowsAndMessaging.WINDOW_EX_STYLE dwExStyle, winmdroot.Foundation.PCWSTR lpClassName, winmdroot.Foundation.PCWSTR lpWindowName, winmdroot.UI.WindowsAndMessaging.WINDOW_STYLE dwStyle, int X, int Y, int nWidth, int nHeight, winmdroot.Foundation.HWND hWndParent, winmdroot.UI.WindowsAndMessaging.HMENU hMenu, winmdroot.Foundation.HINSTANCE hInstance, [Optional] void* lpParam);
Windows\Win32\PInvoke.CreateWindowEx.cs (2)
11/// <inheritdoc cref="CreateWindowEx(WINDOW_EX_STYLE, string, string, WINDOW_STYLE, int, int, int, int, HWND, HMENU, HINSTANCE, void*)"/> 13WINDOW_EX_STYLE dwExStyle,
System.Windows.Forms.Primitives.Tests (2)
System\Windows\Forms\Automation\UiaTextProviderTests.cs (2)
61WINDOW_EX_STYLE actual = UiaTextProvider.GetWindowExStyle(textBox); 62Assert.True(actual.HasFlag(WINDOW_EX_STYLE.WS_EX_CLIENTEDGE));
System.Windows.Forms.Primitives.TestUtilities (7)
Win32\EditControl.cs (4)
14WINDOW_EX_STYLE extendedStyle = WINDOW_EX_STYLE.WS_EX_CLIENTEDGE | WINDOW_EX_STYLE.WS_EX_LEFT | WINDOW_EX_STYLE.WS_EX_LTRREADING,
Win32\Window.cs (1)
19WINDOW_EX_STYLE extendedStyle = default,
Win32\WindowClass.cs (2)
129WINDOW_EX_STYLE extendedStyle = default, 150WINDOW_EX_STYLE extendedStyle = default,
System.Windows.Forms.Tests (30)
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (4)
698WINDOW_EX_STYLE actual = provider.WindowExStyle; 699Assert.Equal((WINDOW_EX_STYLE)0, actual); 714WINDOW_EX_STYLE actual = provider.WindowExStyle; 716Assert.Equal(WINDOW_EX_STYLE.WS_EX_LEFT, actual);
System\Windows\Forms\ControlTests.Methods.cs (1)
10138cp.ExStyle |= (int)WINDOW_EX_STYLE.WS_EX_STATICEDGE;
System\Windows\Forms\ControlTests.Properties.cs (1)
6654cp.ExStyle |= (int)WINDOW_EX_STYLE.WS_EX_LAYOUTRTL;
System\Windows\Forms\DomainUpDownTests.cs (5)
171((WINDOW_EX_STYLE)createParams.ExStyle).Should().Be(WINDOW_EX_STYLE.WS_EX_CONTROLPARENT); 175((WINDOW_EX_STYLE)createParams.ExStyle).Should().Be(WINDOW_EX_STYLE.WS_EX_CLIENTEDGE | WINDOW_EX_STYLE.WS_EX_CONTROLPARENT);
System\Windows\Forms\FormTests.cs (8)
206WINDOW_EX_STYLE extendedStyle = (WINDOW_EX_STYLE)PInvokeCore.GetWindowLong(form, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE); 207Assert.False(extendedStyle.HasFlag(WINDOW_EX_STYLE.WS_EX_DLGMODALFRAME)); 1094WINDOW_EX_STYLE extendedStyle = unchecked((WINDOW_EX_STYLE)(long)PInvokeCore.GetWindowLong(form, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE)); 1095Assert.False(extendedStyle.HasFlag(WINDOW_EX_STYLE.WS_EX_DLGMODALFRAME)); 1100extendedStyle = unchecked((WINDOW_EX_STYLE)(long)PInvokeCore.GetWindowLong(form, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE)); 1101Assert.True(extendedStyle.HasFlag(WINDOW_EX_STYLE.WS_EX_DLGMODALFRAME));
System\Windows\Forms\GroupBoxTests.cs (1)
953cp.ExStyle |= (int)WINDOW_EX_STYLE.WS_EX_STATICEDGE;
System\Windows\Forms\PanelTests.cs (1)
645cp.ExStyle |= (int)WINDOW_EX_STYLE.WS_EX_STATICEDGE;
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (4)
573WINDOW_EX_STYLE actual = provider.WindowExStyle; 574Assert.Equal(WINDOW_EX_STYLE.WS_EX_CLIENTEDGE, actual); 583WINDOW_EX_STYLE actual = provider.WindowExStyle; 584Assert.Equal(WINDOW_EX_STYLE.WS_EX_LEFT, actual);
System\Windows\Forms\UpDownBaseTests.cs (5)
154Assert.Equal(WINDOW_EX_STYLE.WS_EX_CONTROLPARENT, (WINDOW_EX_STYLE)createParams.ExStyle); 158Assert.Equal(WINDOW_EX_STYLE.WS_EX_CLIENTEDGE | WINDOW_EX_STYLE.WS_EX_CONTROLPARENT, (WINDOW_EX_STYLE)createParams.ExStyle);