195 references to WINDOW_EX_STYLE
System.Windows.Forms (136)
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (2)
50
public override bool IsReadingRTL => WindowExStyle.HasFlag(
WINDOW_EX_STYLE
.WS_EX_RTLREADING);
68
public override
WINDOW_EX_STYLE
WindowExStyle => GetWindowExStyle(_owningChildEdit);
System\Windows\Forms\Control.cs (24)
383
AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (
WINDOW_EX_STYLE
)cp.ExStyle);
1417
cp.ExStyle |= (int)
WINDOW_EX_STYLE
.WS_EX_CONTROLPARENT;
1461
cp.ExStyle |= (int)
WINDOW_EX_STYLE
.WS_EX_RTLREADING;
1462
cp.ExStyle |= (int)
WINDOW_EX_STYLE
.WS_EX_RIGHT;
1463
cp.ExStyle |= (int)
WINDOW_EX_STYLE
.WS_EX_LEFTSCROLLBAR;
2471
SetState(States.Mirrored, (cp.ExStyle & (int)
WINDOW_EX_STYLE
.WS_EX_LAYOUTRTL) != 0);
3633
private protected
WINDOW_EX_STYLE
ExtendedWindowStyle
3635
get => (
WINDOW_EX_STYLE
)PInvokeCore.GetWindowLong(this, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE);
4583
SetState(States.Mirrored, (cp.ExStyle & (int)
WINDOW_EX_STYLE
.WS_EX_LAYOUTRTL) != 0);
4607
Debug.Assert((cp.ExStyle & (int)
WINDOW_EX_STYLE
.WS_EX_MDICHILD) == 0, "Can't put MDI child forms on the parking form");
4761
if (((
WINDOW_EX_STYLE
)PInvokeCore.GetWindowLong(_window, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE))
4762
.HasFlag(
WINDOW_EX_STYLE
.WS_EX_MDICHILD))
5408
AdjustWindowRectExForControlDpi(ref adornmentsAfterDpiChange, (WINDOW_STYLE)cp.Style, bMenu: false, (
WINDOW_EX_STYLE
)cp.ExStyle);
5412
AdjustWindowRectExForDpi(ref adornmentsBeforeDpiChange, (WINDOW_STYLE)cp.Style, bMenu: false, (
WINDOW_EX_STYLE
)cp.ExStyle, OriginalDeviceDpiInternal);
6464
private protected void AdjustWindowRectExForControlDpi(ref RECT rect, WINDOW_STYLE style, bool bMenu,
WINDOW_EX_STYLE
exStyle)
6469
private static void AdjustWindowRectExForDpi(ref RECT rect, WINDOW_STYLE style, bool bMenu,
WINDOW_EX_STYLE
exStyle, int dpi)
9804
AdjustWindowRectExForControlDpi(ref adornments, (WINDOW_STYLE)cp.Style, false, (
WINDOW_EX_STYLE
)cp.ExStyle);
10249
AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (
WINDOW_EX_STYLE
)cp.ExStyle);
10892
AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (
WINDOW_EX_STYLE
)cp.ExStyle);
11088
WINDOW_EX_STYLE
currentExtendedStyle = ExtendedWindowStyle;
11101
if (currentExtendedStyle != (
WINDOW_EX_STYLE
)cp.ExStyle)
11103
ExtendedWindowStyle = (
WINDOW_EX_STYLE
)cp.ExStyle;
11104
SetState(States.Mirrored, ((
WINDOW_EX_STYLE
)cp.ExStyle).HasFlag(
WINDOW_EX_STYLE
.WS_EX_LAYOUTRTL));
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
271
cp.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);
108
public override
WINDOW_EX_STYLE
WindowExStyle
111
:
WINDOW_EX_STYLE
.WS_EX_LEFT;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
350
cp.ExStyle |= (int)
WINDOW_EX_STYLE
.WS_EX_CLIENTEDGE;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (11)
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);
1506
WINDOW_EX_STYLE
style = (
WINDOW_EX_STYLE
)PInvokeCore.GetWindowLong(handle, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE);
1507
style |=
WINDOW_EX_STYLE
.WS_EX_LAYOUTRTL |
WINDOW_EX_STYLE
.WS_EX_NOINHERITLAYOUT;
1508
style &= ~(
WINDOW_EX_STYLE
.WS_EX_RIGHT |
WINDOW_EX_STYLE
.WS_EX_RTLREADING);
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 (5)
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 (4)
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 (4)
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\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)
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 (5)
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)
289
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\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (3)
216
=> Owner is not null && Owner.IsHandleCreated && WindowExStyle.HasFlag(
WINDOW_EX_STYLE
.WS_EX_RTLREADING);
284
public override
WINDOW_EX_STYLE
WindowExStyle
287
:
WINDOW_EX_STYLE
.WS_EX_LEFT;
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
618
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\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
33
AdjustWindowRectExForControlDpi(ref rect, (WINDOW_STYLE)cp.Style, false, (
WINDOW_EX_STYLE
)cp.ExStyle);
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (5)
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 (5)
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 (21)
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
3268
return ComputeWindowSize(clientSize, (WINDOW_STYLE)cp.Style, (
WINDOW_EX_STYLE
)cp.ExStyle);
3275
private Size ComputeWindowSize(Size clientSize, WINDOW_STYLE style,
WINDOW_EX_STYLE
exStyle)
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;
3671
Size correct = ComputeWindowSize(ClientSize, (WINDOW_STYLE)maskedStyle, (
WINDOW_EX_STYLE
)cp.ExStyle);
5468
if ((owner is not null) && !owner.GetExtendedStyle().HasFlag(
WINDOW_EX_STYLE
.WS_EX_TOPMOST))
5694
if ((owner is not null) && !owner.GetExtendedStyle().HasFlag(
WINDOW_EX_STYLE
.WS_EX_TOPMOST))
System\Windows\Forms\Internal\Win32WindowExtensions.cs (3)
8
public static
WINDOW_EX_STYLE
GetExtendedStyle(this IWin32Window window)
10
WINDOW_EX_STYLE
style = (
WINDOW_EX_STYLE
)PInvokeCore.GetWindowLong(
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
294
cp.ExStyle |= (int)
WINDOW_EX_STYLE
.WS_EX_CONTROLPARENT;
System\Windows\Forms\MDI\MDIClient.cs (7)
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);
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,
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\ToolTip\ToolTip.cs (1)
996
if (!window.GetExtendedStyle().HasFlag(
WINDOW_EX_STYLE
.WS_EX_LAYOUTRTL))
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;
System.Windows.Forms.Primitives (17)
System\Windows\Forms\Automation\UiaTextProvider.cs (3)
53
public abstract
WINDOW_EX_STYLE
WindowExStyle { get; }
75
public 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*)"/>
13
WINDOW_EX_STYLE
dwExStyle,
System.Windows.Forms.Primitives.Tests (2)
System\Windows\Forms\Automation\UiaTextProviderTests.cs (2)
61
WINDOW_EX_STYLE
actual = UiaTextProvider.GetWindowExStyle(textBox);
62
Assert.True(actual.HasFlag(
WINDOW_EX_STYLE
.WS_EX_CLIENTEDGE));
System.Windows.Forms.Primitives.TestUtilities (7)
Win32\EditControl.cs (4)
14
WINDOW_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)
19
WINDOW_EX_STYLE
extendedStyle = default,
Win32\WindowClass.cs (2)
129
WINDOW_EX_STYLE
extendedStyle = default,
150
WINDOW_EX_STYLE
extendedStyle = default,
System.Windows.Forms.Tests (30)
System\Windows\Forms\ComboBox.ComboBoxUiaTextProviderTests.cs (4)
698
WINDOW_EX_STYLE
actual = provider.WindowExStyle;
699
Assert.Equal((
WINDOW_EX_STYLE
)0, actual);
714
WINDOW_EX_STYLE
actual = provider.WindowExStyle;
716
Assert.Equal(
WINDOW_EX_STYLE
.WS_EX_LEFT, actual);
System\Windows\Forms\ControlTests.Methods.cs (1)
10138
cp.ExStyle |= (int)
WINDOW_EX_STYLE
.WS_EX_STATICEDGE;
System\Windows\Forms\ControlTests.Properties.cs (1)
6654
cp.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)
206
WINDOW_EX_STYLE
extendedStyle = (
WINDOW_EX_STYLE
)PInvokeCore.GetWindowLong(form, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE);
207
Assert.False(extendedStyle.HasFlag(
WINDOW_EX_STYLE
.WS_EX_DLGMODALFRAME));
1094
WINDOW_EX_STYLE
extendedStyle = unchecked((
WINDOW_EX_STYLE
)(long)PInvokeCore.GetWindowLong(form, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE));
1095
Assert.False(extendedStyle.HasFlag(
WINDOW_EX_STYLE
.WS_EX_DLGMODALFRAME));
1100
extendedStyle = unchecked((
WINDOW_EX_STYLE
)(long)PInvokeCore.GetWindowLong(form, WINDOW_LONG_PTR_INDEX.GWL_EXSTYLE));
1101
Assert.True(extendedStyle.HasFlag(
WINDOW_EX_STYLE
.WS_EX_DLGMODALFRAME));
System\Windows\Forms\GroupBoxTests.cs (1)
953
cp.ExStyle |= (int)
WINDOW_EX_STYLE
.WS_EX_STATICEDGE;
System\Windows\Forms\PanelTests.cs (1)
645
cp.ExStyle |= (int)
WINDOW_EX_STYLE
.WS_EX_STATICEDGE;
System\Windows\Forms\TextBoxBase.TextBoxBaseUiaTextProviderTests.cs (4)
573
WINDOW_EX_STYLE
actual = provider.WindowExStyle;
574
Assert.Equal(
WINDOW_EX_STYLE
.WS_EX_CLIENTEDGE, actual);
583
WINDOW_EX_STYLE
actual = provider.WindowExStyle;
584
Assert.Equal(
WINDOW_EX_STYLE
.WS_EX_LEFT, actual);
System\Windows\Forms\UpDownBaseTests.cs (5)
154
Assert.Equal(
WINDOW_EX_STYLE
.WS_EX_CONTROLPARENT, (
WINDOW_EX_STYLE
)createParams.ExStyle);
158
Assert.Equal(
WINDOW_EX_STYLE
.WS_EX_CLIENTEDGE |
WINDOW_EX_STYLE
.WS_EX_CONTROLPARENT, (
WINDOW_EX_STYLE
)createParams.ExStyle);