204 references to WINDOW_STYLE
System.Windows.Forms (126)
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (1)
70public override WINDOW_STYLE WindowStyle => GetWindowStyle(_owningChildEdit);
System\Windows\Forms\ActiveX\AxHost.cs (1)
212cp.Style &= ~(int)WINDOW_STYLE.WS_VISIBLE;
System\Windows\Forms\Application.cs (2)
1234((WINDOW_STYLE)PInvokeCore.GetWindowLong(handle.Handle, WINDOW_LONG_PTR_INDEX.GWL_STYLE)).HasFlag(WINDOW_STYLE.WS_CHILD),
System\Windows\Forms\Control.cs (24)
383AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle); 1414cp.Style = (int)WINDOW_STYLE.WS_CLIPCHILDREN; 1427cp.Style |= (int)(WINDOW_STYLE.WS_CHILD | WINDOW_STYLE.WS_CLIPSIBLINGS); 1436cp.Style |= (int)WINDOW_STYLE.WS_TABSTOP; 1441cp.Style |= (int)WINDOW_STYLE.WS_VISIBLE; 1448cp.Style |= (int)WINDOW_STYLE.WS_DISABLED; 3167SetWindowStyle((int)WINDOW_STYLE.WS_TABSTOP, value); 3642internal WINDOW_STYLE WindowStyle 3644get => (WINDOW_STYLE)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.GWL_STYLE); 4605if (cp.Parent == IntPtr.Zero && (cp.Style & (int)WINDOW_STYLE.WS_CHILD) != 0) 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); 11087WINDOW_STYLE currentStyle = WindowStyle; 11093cp.Style |= (int)WINDOW_STYLE.WS_VISIBLE; 11096if (currentStyle != (WINDOW_STYLE)cp.Style) 11098WindowStyle = (WINDOW_STYLE)cp.Style; 11150if (((WINDOW_STYLE)PInvokeCore.GetWindowLong(lastParentHandle, WINDOW_LONG_PTR_INDEX.GWL_STYLE)) 11151.HasFlag(WINDOW_STYLE.WS_CHILD))
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (2)
113public override WINDOW_STYLE WindowStyle 116: WINDOW_STYLE.WS_OVERLAPPED;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
349cp.Style |= (int)WINDOW_STYLE.WS_VSCROLL | PInvoke.CBS_HASSTRINGS | PInvoke.CBS_AUTOHSCROLL;
System\Windows\Forms\Controls\Labels\Label.cs (4)
292cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 794WINDOW_STYLE style = WindowStyle; 797style |= (WINDOW_STYLE)STATIC_STYLES.SS_NOPREFIX; 801style &= ~(WINDOW_STYLE)STATIC_STYLES.SS_NOPREFIX;
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (4)
272cp.Style |= (int)WINDOW_STYLE.WS_VSCROLL | PInvoke.LBS_NOTIFY | PInvoke.LBS_HASSTRINGS; 294cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 300cp.Style |= PInvoke.LBS_MULTICOLUMN | (int)WINDOW_STYLE.WS_HSCROLL; 304cp.Style |= (int)WINDOW_STYLE.WS_HSCROLL;
System\Windows\Forms\Controls\ListView\ListView.cs (3)
640cp.Style |= currentStyle & (int)(WINDOW_STYLE.WS_HSCROLL | WINDOW_STYLE.WS_VSCROLL); 666cp.Style |= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
206cp.Style |= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (2)
72cp.Style |= unchecked((int)(WINDOW_STYLE.WS_POPUP | WINDOW_STYLE.WS_BORDER));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBox.cs (1)
27cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (4)
293cp.Style |= (int)WINDOW_STYLE.WS_HSCROLL; 302cp.Style |= (int)WINDOW_STYLE.WS_VSCROLL; 312if (BorderStyle == BorderStyle.FixedSingle && ((cp.Style & (int)WINDOW_STYLE.WS_BORDER) != 0)) 314cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Controls\Splitter\Splitter.cs (2)
209cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER; 218cp.Style |= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Controls\TextBox\TextBox.cs (2)
311cp.Style |= (int)WINDOW_STYLE.WS_HSCROLL; 316cp.Style |= (int)WINDOW_STYLE.WS_VSCROLL;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
418cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER; 427cp.Style |= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (2)
289public override WINDOW_STYLE WindowStyle 292: WINDOW_STYLE.WS_OVERLAPPED;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (10)
220cp.Style &= ~(int)(WINDOW_STYLE.WS_CAPTION | WINDOW_STYLE.WS_CLIPSIBLINGS); 223cp.Style |= TopLevel ? unchecked((int)WINDOW_STYLE.WS_POPUP) : (int)WINDOW_STYLE.WS_CHILD; 246cp.Style |= (int)WINDOW_STYLE.WS_CLIPSIBLINGS; 1537WINDOW_STYLE styleFlags = WindowStyle; 1542styleFlags &= ~WINDOW_STYLE.WS_CHILD; 1543styleFlags |= WINDOW_STYLE.WS_POPUP; 1548styleFlags &= ~WINDOW_STYLE.WS_POPUP; 1549styleFlags |= WINDOW_STYLE.WS_CHILD;
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\TreeView\TreeView.cs (3)
316cp.Style |= currentStyle & (int)(WINDOW_STYLE.WS_HSCROLL | WINDOW_STYLE.WS_VSCROLL); 325cp.Style |= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
222cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER; 231cp.Style |= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Design\ComponentEditorPage.cs (3)
82cp.Style &= ~(int)(WINDOW_STYLE.WS_BORDER | WINDOW_STYLE.WS_OVERLAPPED | WINDOW_STYLE.WS_DLGFRAME);
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (2)
94Style = (int)(WINDOW_STYLE.WS_VISIBLE | WINDOW_STYLE.WS_CHILD),
System\Windows\Forms\Form.cs (30)
760if (IsHandleCreated && WindowStyle.HasFlag(WINDOW_STYLE.WS_DISABLED)) 763cp.Style |= (int)WINDOW_STYLE.WS_DISABLED; 768cp.Style &= ~(int)WINDOW_STYLE.WS_DISABLED; 805cp.Style |= (int)WINDOW_STYLE.WS_MAXIMIZE; 813cp.Style |= (int)WINDOW_STYLE.WS_MAXIMIZE; 826if ((cp.Style & (int)WINDOW_STYLE.WS_VISIBLE) != 0) 829cp.Style &= ~(int)WINDOW_STYLE.WS_VISIBLE; 3268return ComputeWindowSize(clientSize, (WINDOW_STYLE)cp.Style, (WINDOW_EX_STYLE)cp.ExStyle); 3275private Size ComputeWindowSize(Size clientSize, WINDOW_STYLE style, WINDOW_EX_STYLE exStyle) 3583cp.Style |= (int)WINDOW_STYLE.WS_CAPTION; 3588cp.Style |= (int)(WINDOW_STYLE.WS_SYSMENU | WINDOW_STYLE.WS_CAPTION); 3592cp.Style &= ~(int)WINDOW_STYLE.WS_SYSMENU; 3597cp.Style |= (int)WINDOW_STYLE.WS_MAXIMIZEBOX; 3601cp.Style &= ~(int)WINDOW_STYLE.WS_MAXIMIZEBOX; 3606cp.Style |= (int)WINDOW_STYLE.WS_MINIMIZEBOX; 3610cp.Style &= ~(int)WINDOW_STYLE.WS_MINIMIZEBOX; 3638cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 3641cp.Style |= (int)(WINDOW_STYLE.WS_BORDER | WINDOW_STYLE.WS_THICKFRAME); 3644cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 3648cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 3652cp.Style |= (int)WINDOW_STYLE.WS_BORDER; 3656cp.Style |= (int)(WINDOW_STYLE.WS_BORDER | WINDOW_STYLE.WS_THICKFRAME); 3670int maskedStyle = cp.Style & ~(int)(WINDOW_STYLE.WS_MAXIMIZE | WINDOW_STYLE.WS_MINIMIZE); 3671Size correct = ComputeWindowSize(ClientSize, (WINDOW_STYLE)maskedStyle, (WINDOW_EX_STYLE)cp.ExStyle); 3745cp.Style |= (int)WINDOW_STYLE.WS_MAXIMIZE; 3748cp.Style |= (int)WINDOW_STYLE.WS_MINIMIZE;
System\Windows\Forms\MDI\MDIClient.cs (4)
91cp.Style |= (int)(WINDOW_STYLE.WS_VSCROLL | WINDOW_STYLE.WS_HSCROLL); 101cp.Style |= (int)WINDOW_STYLE.WS_DISABLED; 283AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (WINDOW_EX_STYLE)cp.ExStyle);
System\Windows\Forms\NativeWindow.cs (3)
318&& ((WINDOW_STYLE)(uint)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.GWL_STYLE)).HasFlag(WINDOW_STYLE.WS_CHILD) 443(WINDOW_STYLE)cp.Style,
System\Windows\Forms\Panels\Panel.cs (2)
123cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER; 133cp.Style |= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\Scrolling\ScrollableControl.cs (4)
163cp.Style |= (int)WINDOW_STYLE.WS_HSCROLL; 167cp.Style &= ~(int)WINDOW_STYLE.WS_HSCROLL; 172cp.Style |= (int)WINDOW_STYLE.WS_VSCROLL; 176cp.Style &= ~(int)WINDOW_STYLE.WS_VSCROLL;
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
121cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\ToolTip\ToolTip.cs (1)
727style &= ~(int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\UserControl.cs (2)
159cp.Style &= ~(int)WINDOW_STYLE.WS_BORDER; 169cp.Style |= (int)WINDOW_STYLE.WS_BORDER;
System.Windows.Forms.Design (9)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (2)
63cp.Style |= unchecked((int)(WINDOW_STYLE.WS_POPUP | WINDOW_STYLE.WS_BORDER));
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (1)
221return (style & (int)WINDOW_STYLE.WS_DISABLED) == 0;
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (2)
42cp.Style &= ~(int)(WINDOW_STYLE.WS_CLIPCHILDREN | WINDOW_STYLE.WS_CLIPSIBLINGS);
System\Windows\Forms\Design\SelectionUIService.cs (2)
100cp.Style &= ~(int)(WINDOW_STYLE.WS_CLIPSIBLINGS | WINDOW_STYLE.WS_CLIPCHILDREN);
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (2)
179cp.Style &= ~(int)(WINDOW_STYLE.WS_CLIPCHILDREN | WINDOW_STYLE.WS_CLIPSIBLINGS);
System.Windows.Forms.Primitives (19)
System\Windows\Forms\Automation\UiaTextProvider.cs (3)
55public abstract WINDOW_STYLE WindowStyle { get; } 78public static WINDOW_STYLE GetWindowStyle(IHandle<HWND> hWnd) => 79(WINDOW_STYLE)PInvokeCore.GetWindowLong(hWnd, WINDOW_LONG_PTR_INDEX.GWL_STYLE);
System\Windows\Forms\Automation\UiaTextRange.cs (2)
878private static int GetCapStyle(WINDOW_STYLE windowStyle) 896private static int GetHorizontalTextAlignment(WINDOW_STYLE windowStyle)
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*)"/> 16WINDOW_STYLE dwStyle,
System.Windows.Forms.Primitives.Tests (19)
System\Windows\Forms\Automation\TestAccessors.UiaTextRangeTestAccessor.cs (2)
32public CapStyle GetCapStyle(WINDOW_STYLE windowStyle) => (CapStyle)Dynamic.GetCapStyle(windowStyle); 36public HorizontalTextAlignment GetHorizontalTextAlignment(WINDOW_STYLE windowStyle)
System\Windows\Forms\Automation\UiaTextProviderTests.cs (15)
18style: WINDOW_STYLE.WS_OVERLAPPED 19| WINDOW_STYLE.WS_VISIBLE 20| (WINDOW_STYLE)(PInvoke.ES_MULTILINE | PInvoke.ES_LEFT | PInvoke.ES_AUTOHSCROLL | PInvoke.ES_AUTOVSCROLL)); 23WINDOW_STYLE actual = UiaTextProvider.GetWindowStyle(textBox); 32style: WINDOW_STYLE.WS_OVERLAPPED 33| WINDOW_STYLE.WS_VISIBLE 34| (WINDOW_STYLE)(PInvoke.ES_LEFT | PInvoke.ES_AUTOHSCROLL | PInvoke.ES_AUTOVSCROLL)); 37WINDOW_STYLE actual = UiaTextProvider.GetWindowStyle(textBox); 45style: WINDOW_STYLE.WS_OVERLAPPED 46| WINDOW_STYLE.WS_VISIBLE 47| (WINDOW_STYLE)(PInvoke.ES_MULTILINE | PInvoke.ES_LEFT | PInvoke.ES_AUTOHSCROLL | PInvoke.ES_AUTOVSCROLL)); 50WINDOW_STYLE actual = UiaTextProvider.GetWindowStyle(textBox); 51Assert.True(actual.HasFlag(WINDOW_STYLE.WS_VISIBLE)); 58style: WINDOW_STYLE.WS_OVERLAPPED | WINDOW_STYLE.WS_VISIBLE);
System\Windows\Forms\Automation\UiaTextRangeTests.cs (2)
1128HorizontalTextAlignment actual = textRange.TestAccessor().GetHorizontalTextAlignment((WINDOW_STYLE)style); 1142CapStyle actual = textRange.TestAccessor().GetCapStyle((WINDOW_STYLE)editStyle);
System.Windows.Forms.Primitives.TestUtilities (8)
Win32\EditControl.cs (2)
13WINDOW_STYLE style = WINDOW_STYLE.WS_OVERLAPPED,
Win32\Window.cs (2)
18WINDOW_STYLE style = WINDOW_STYLE.WS_OVERLAPPED,
Win32\WindowClass.cs (4)
128WINDOW_STYLE style = WINDOW_STYLE.WS_OVERLAPPED, 149WINDOW_STYLE style = WINDOW_STYLE.WS_OVERLAPPED,
System.Windows.Forms.Tests (23)
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (3)
112Assert.Equal(WINDOW_STYLE.WS_OVERLAPPED, provider.WindowStyle); 731WINDOW_STYLE actual = provider.WindowStyle; 750WINDOW_STYLE actual = provider.WindowStyle;
System\Windows\Forms\ControlTests.Methods.cs (1)
10137cp.Style |= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\DomainUpDownTests.cs (6)
166((WINDOW_STYLE)createParams.Style).Should().Be(WINDOW_STYLE.WS_MAXIMIZEBOX | WINDOW_STYLE.WS_CLIPCHILDREN | WINDOW_STYLE.WS_CLIPSIBLINGS 167| WINDOW_STYLE.WS_VISIBLE | WINDOW_STYLE.WS_CHILD);
System\Windows\Forms\GroupBoxTests.cs (1)
952cp.Style |= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\PanelTests.cs (1)
644cp.Style |= (int)WINDOW_STYLE.WS_BORDER;
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (3)
84Assert.Equal(WINDOW_STYLE.WS_OVERLAPPED, provider.WindowStyle); 594WINDOW_STYLE actual = provider.WindowStyle; 606WINDOW_STYLE actual = provider.WindowStyle;
System\Windows\Forms\UpDownBaseTests.cs (6)
149Assert.Equal(WINDOW_STYLE.WS_MAXIMIZEBOX | WINDOW_STYLE.WS_CLIPCHILDREN | WINDOW_STYLE.WS_CLIPSIBLINGS | 150WINDOW_STYLE.WS_VISIBLE | WINDOW_STYLE.WS_CHILD, (WINDOW_STYLE)createParams.Style);
TextBoxBaseTests.cs (2)
2406WINDOW_STYLE style = (WINDOW_STYLE)PInvokeCore.GetWindowLong(control, WINDOW_LONG_PTR_INDEX.GWL_STYLE);