12 references to PEN_STYLE
System.Private.Windows.Core (3)
_generated\195\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)" />.
30
HPEN = PInvokeCore.CreatePen(
PEN_STYLE
.PS_SOLID, width, color);
System.Windows.Forms (3)
System\Windows\Forms\Rendering\ControlPaint.cs (3)
1833
FrameStyle.Dashed => (HGDIOBJ)PInvokeCore.CreatePen(
PEN_STYLE
.PS_DOT, cWidth: 1, (COLORREF)(uint)ColorTranslator.ToWin32(backColor)).Value,
1834
FrameStyle.Thick => (HGDIOBJ)PInvokeCore.CreatePen(
PEN_STYLE
.PS_SOLID, cWidth: 2, (COLORREF)(uint)ColorTranslator.ToWin32(backColor)).Value,
1858
using 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)
32
PInvokeCore.CreatePen(
PEN_STYLE
.PS_SOLID, cWidth: 1, (COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.ControlText));
34
PInvokeCore.CreatePen(
PEN_STYLE
.PS_SOLID, cWidth: 1, (COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.Window));
179
s_grabHandlePenPrimary = PInvokeCore.CreatePen(
PEN_STYLE
.PS_SOLID, cWidth: 1, (COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.ControlText));
182
s_grabHandlePen = PInvokeCore.CreatePen(
PEN_STYLE
.PS_SOLID, cWidth: 1, (COLORREF)(uint)ColorTranslator.ToWin32(SystemColors.Window));
System.Windows.Forms.Primitives (2)
_generated\300\Windows.Win32.LOGPEN.g.cs (2)
35
internal
PEN_STYLE
lopnStyle
37
get => (
PEN_STYLE
)this._lopnStyle;