84 references to PEN_STYLE
System.Private.Windows.Core (3)
Windows.Win32.PInvokeCore.GDI32.dll.g.cs (1)
353 internal static extern winmdroot.Graphics.Gdi.HPEN CreatePen(winmdroot.Graphics.Gdi.PEN_STYLE iStyle, int cWidth, winmdroot.Foundation.COLORREF color);
Windows\Win32\Graphics\Gdi\CreatePenScope.cs (2)
27/// <see cref="PInvokeCore.CreatePen(PEN_STYLE, int, COLORREF)" />. 30HPEN = PInvokeCore.CreatePen(PEN_STYLE.PS_SOLID, width, color);
System.Windows.Forms (3)
System\Windows\Forms\Rendering\ControlPaint.cs (3)
1833FrameStyle.Dashed => (HGDIOBJ)PInvokeCore.CreatePen(PEN_STYLE.PS_DOT, cWidth: 1, (COLORREF)(uint)ColorTranslator.ToWin32(backColor)).Value, 1834FrameStyle.Thick => (HGDIOBJ)PInvokeCore.CreatePen(PEN_STYLE.PS_SOLID, cWidth: 2, (COLORREF)(uint)ColorTranslator.ToWin32(backColor)).Value, 1858using ObjectScope pen = new(PInvokeCore.CreatePen(PEN_STYLE.PS_SOLID, cWidth: 1, (COLORREF)(uint)ColorTranslator.ToWin32(backColor)));
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\DesignerUtils.cs (4)
32PInvokeCore.CreatePen(PEN_STYLE.PS_SOLID, cWidth: 1, (COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.ControlText)); 34PInvokeCore.CreatePen(PEN_STYLE.PS_SOLID, cWidth: 1, (COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.Window)); 179s_grabHandlePenPrimary = PInvokeCore.CreatePen(PEN_STYLE.PS_SOLID, cWidth: 1, (COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.ControlText)); 182s_grabHandlePen = PInvokeCore.CreatePen(PEN_STYLE.PS_SOLID, cWidth: 1, (COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.Window));
System.Windows.Forms.Primitives (2)
Windows.Win32.LOGPEN.g.cs (2)
35 internal PEN_STYLE lopnStyle 37 get => (PEN_STYLE)this._lopnStyle;
System.Windows.Forms.Primitives.TestUtilities (7)
Metafiles\RecordTypes\EMREXTCREATEPEN.cs (1)
30public PEN_STYLE elpPenStyle;
Metafiles\Validators\PenStyleValidator.cs (2)
10private readonly PEN_STYLE _penStyle; 11public PenStyleValidator(PEN_STYLE penStyle) => _penStyle = penStyle;
Metafiles\Validators\PenValidator.cs (2)
13private readonly PEN_STYLE _penStyle; 16public PenValidator(int penWidth, Color penColor, PEN_STYLE penStyle)
Metafiles\Validators\State.cs (2)
20internal static IStateValidator Pen(int penWidth, Color penColor, PEN_STYLE penStyle) 23internal static IStateValidator PenStyle(PEN_STYLE penStyle) => new PenStyleValidator(penStyle);
System.Windows.Forms.Tests (65)
NumericUpDownTests.cs (5)
47State.Pen(2, upDown.BackColor, PEN_STYLE.PS_SOLID))); 62State.Pen(1, upDown.BackColor, PEN_STYLE.PS_SOLID))); 89State.Pen(1, upDown.BackColor, PEN_STYLE.PS_SOLID)), 92State.Pen(1, SystemColors.Control, PEN_STYLE.PS_SOLID)), 97State.Pen(1, upDown.BackColor, PEN_STYLE.PS_SOLID)));
System\Windows\Forms\ButtonRenderingTests.cs (1)
246State.PenStyle(PEN_STYLE.PS_ENDCAP_ROUND),
System\Windows\Forms\ControlPaintTests.Rendering.cs (43)
31State.Pen(1, Color.Blue, PEN_STYLE.PS_SOLID))); 51PEN_STYLE penStyle = PEN_STYLE.PS_SOLID | PEN_STYLE.PS_JOIN_ROUND | PEN_STYLE.PS_COSMETIC | 52PEN_STYLE.PS_ENDCAP_FLAT | PEN_STYLE.PS_JOIN_MITER | PEN_STYLE.PS_GEOMETRIC; 111PEN_STYLE penStyle = PEN_STYLE.PS_SOLID | PEN_STYLE.PS_JOIN_ROUND | PEN_STYLE.PS_COSMETIC | 112PEN_STYLE.PS_ENDCAP_FLAT | PEN_STYLE.PS_JOIN_MITER | PEN_STYLE.PS_GEOMETRIC; 188PEN_STYLE penStyle = PEN_STYLE.PS_SOLID | PEN_STYLE.PS_JOIN_ROUND | PEN_STYLE.PS_COSMETIC | 189PEN_STYLE.PS_ENDCAP_FLAT | PEN_STYLE.PS_JOIN_MITER | PEN_STYLE.PS_GEOMETRIC; 262PEN_STYLE penStyle = PEN_STYLE.PS_SOLID | PEN_STYLE.PS_JOIN_ROUND | PEN_STYLE.PS_COSMETIC | 263PEN_STYLE.PS_ENDCAP_FLAT | PEN_STYLE.PS_JOIN_MITER | PEN_STYLE.PS_GEOMETRIC; 332PEN_STYLE penStyle = PEN_STYLE.PS_SOLID | PEN_STYLE.PS_JOIN_ROUND | PEN_STYLE.PS_COSMETIC | 333PEN_STYLE.PS_ENDCAP_FLAT | PEN_STYLE.PS_JOIN_BEVEL | PEN_STYLE.PS_GEOMETRIC; 360PEN_STYLE penStyle = PEN_STYLE.PS_SOLID | PEN_STYLE.PS_JOIN_ROUND | PEN_STYLE.PS_COSMETIC | 361PEN_STYLE.PS_ENDCAP_FLAT | PEN_STYLE.PS_JOIN_BEVEL | PEN_STYLE.PS_GEOMETRIC;
System\Windows\Forms\DataGridViewTests.Rendering.cs (9)
48PEN_STYLE penStyle = PEN_STYLE.PS_SOLID | PEN_STYLE.PS_JOIN_ROUND | PEN_STYLE.PS_COSMETIC | 49PEN_STYLE.PS_ENDCAP_FLAT | PEN_STYLE.PS_JOIN_MITER | PEN_STYLE.PS_GEOMETRIC; 58State.Pen(1, Color.Empty, PEN_STYLE.PS_NULL), 89State.Pen(1, Color.Empty, PEN_STYLE.PS_NULL),
System\Windows\Forms\StatusStripTests.Rendering.cs (7)
42PEN_STYLE penStyle = PEN_STYLE.PS_SOLID | PEN_STYLE.PS_JOIN_ROUND | PEN_STYLE.PS_COSMETIC | 43PEN_STYLE.PS_ENDCAP_FLAT | PEN_STYLE.PS_JOIN_MITER | PEN_STYLE.PS_GEOMETRIC;