219 instantiations of Pen
PresentationCore.Tests (1)
BinaryFormat\DataObjectTests.cs (1)
59
new System.Drawing.
Pen
(System.Drawing.Brushes.DeepSkyBlue, 1),
PresentationUI (1)
MS\Internal\Documents\DialogDivider.cs (1)
80
new
Pen
(new SolidBrush(System.Drawing.SystemColors.ControlDark)),
System.Drawing.Common.Tests (178)
mono\System.Drawing.Imaging\BmpCodecTests.cs (1)
432
using (Pen p =
new
(Color.BlueViolet, 2))
mono\System.Drawing.Imaging\GifCodecTests.cs (1)
186
using (Pen p =
new
(Color.Red, 2))
mono\System.Drawing.Imaging\IconCodecTests.cs (1)
1870
using (Pen p =
new
(Color.Red, 2))
mono\System.Drawing.Imaging\JpegCodecTests.cs (1)
351
using (Pen p =
new
(Color.Red, 2))
mono\System.Drawing.Imaging\PngCodecTests.cs (1)
572
using (Pen p =
new
(Color.BlueViolet, 2))
mono\System.Drawing.Imaging\TiffCodecTests.cs (1)
243
using (Pen p =
new
(Color.BlueViolet, 2))
mono\System.Drawing\GraphicsTests.cs (5)
834
using Pen pen =
new
(Color.Red);
849
using Pen pen =
new
(Color.Red);
1218
using Pen pen =
new
(Color.Blue, width);
1381
using Pen pen =
new
(Color.Blue, width);
1527
using Pen pen =
new
(Color.Blue, width);
System\Drawing\Drawing2D\GraphicsPathTests.cs (7)
1661
using Pen pen =
new
(Color.Blue);
1674
using Pen pen =
new
(Color.Blue);
1693
using Pen pen =
new
(Color.Blue);
1704
using Pen pen =
new
(Color.Blue);
1726
using Pen pen =
new
(Color.Aqua, 0);
2248
using Pen pen =
new
(Color.Red, 3.0f);
2275
using Pen pen =
new
(Color.Red, 3.0f);
System\Drawing\Graphics_DrawBezierTests.cs (11)
12
using Pen pen =
new
(Color.White);
26
using Pen pen =
new
(Color.Red);
45
using Pen pen =
new
(Color.Red);
75
Pen pen =
new
(Color.Red);
88
using Pen pen =
new
(Color.Red);
106
using Pen pen =
new
(Color.Red);
130
Pen pen =
new
(Color.Red);
142
using Pen pen =
new
(Color.Red);
152
using Pen pen =
new
(Color.Red);
162
using Pen pen =
new
(Color.Red);
179
using Pen pen =
new
(Color.Red);
System\Drawing\Graphics_DrawLineTests.cs (10)
12
using Pen pen =
new
(Color.White);
27
using Pen pen =
new
(Color.White);
54
Pen pen =
new
(Color.Red);
68
using Pen pen =
new
(Color.Red);
87
using Pen pen =
new
(Color.Red);
111
Pen pen =
new
(Color.Red);
123
using Pen pen =
new
(Color.Red);
135
using Pen pen =
new
(Color.Red);
145
using Pen pen =
new
(Color.Red);
162
using Pen pen =
new
(Color.Red);
System\Drawing\GraphicsTests.Core.cs (3)
85
Pen pen =
new
(Color.Red);
98
using Pen pen =
new
(Color.Red);
115
using Pen pen =
new
(Color.Red);
System\Drawing\GraphicsTests.cs (44)
1971
Pen pen =
new
(Color.Red);
1985
using Pen pen =
new
(Color.Red);
1997
using Pen pen =
new
(Color.Red);
2009
using Pen pen =
new
(Color.Red);
2028
using Pen pen =
new
(Color.Red);
2053
Pen pen =
new
(Color.Red);
2066
using Pen pen =
new
(Color.Red);
2084
using Pen pen =
new
(Color.Red);
2107
Pen pen =
new
(Color.Red);
2119
using Pen pen =
new
(Color.Red);
2129
using Pen pen =
new
(Color.Red);
2139
using Pen pen =
new
(Color.Red);
2156
using Pen pen =
new
(Color.Red);
2180
Pen pen =
new
(Color.Red);
2194
using Pen pen =
new
(Color.Red);
2213
using Pen pen =
new
(Color.Red);
2239
Pen pen =
new
(Color.Red);
2253
using Pen pen =
new
(Color.Red);
2265
using Pen pen =
new
(Color.Red);
2277
using Pen pen =
new
(Color.Red);
2296
using Pen pen =
new
(Color.Red);
2320
Pen pen =
new
(Color.Red);
2332
using Pen pen =
new
(Color.Red);
2344
using Pen pen =
new
(Color.Red);
2354
using Pen pen =
new
(Color.Red);
2371
using Pen pen =
new
(Color.Red);
2394
Pen pen =
new
(Color.Red);
2405
using Pen pen =
new
(Color.Red);
2414
using Pen pen =
new
(Color.Red);
2426
using Pen pen =
new
(Color.Red);
2443
using Pen pen =
new
(Color.Red);
2470
Pen pen =
new
(Color.Red);
2487
using Pen pen =
new
(Color.Red);
2504
using Pen pen =
new
(Color.Red);
2524
using Pen pen =
new
(Color.Red);
2535
using Pen pen =
new
(Color.Red);
2557
using Pen pen =
new
(Color.Red);
2586
Pen pen =
new
(Color.Red);
2600
using Pen pen =
new
(Color.Red);
2615
using Pen pen =
new
(Color.Red);
2627
using Pen pen =
new
(Color.Red);
2646
using Pen pen =
new
(Color.Red);
2756
using Pen pen =
new
(Color.Red);
2772
using Pen pen =
new
(Color.Red);
System\Drawing\Imaging\ImageAttributesTests.cs (3)
173
using Pen pen =
new
(brush);
204
using Pen pen =
new
(brush);
300
using Pen pen =
new
(brush);
System\Drawing\PenTests.cs (89)
25
using (Pen pen =
new
(brush))
58
using (Pen pen =
new
(brush, width))
68
using Pen pen =
new
(brush);
77
AssertExtensions.Throws<ArgumentNullException>("brush", () => new
Pen
(null));
78
AssertExtensions.Throws<ArgumentNullException>("brush", () => new
Pen
(null, 0));
87
AssertExtensions.Throws<ArgumentException>(null, () => new
Pen
(brush));
88
AssertExtensions.Throws<ArgumentException>(null, () => new
Pen
(brush, 10));
94
using Pen pen =
new
(Color.Red);
109
using Pen pen =
new
(Color.Red, width);
123
using Pen pen =
new
(brush);
134
using Pen pen =
new
(brush);
142
Pen pen =
new
(brush);
153
using Pen pen =
new
(Color.Red);
162
using Pen pen =
new
(Color.Red);
175
using Pen pen =
new
(brush);
183
using Pen pen =
new
(brush);
192
Pen pen =
new
(brush);
202
yield return new object[] { new
Pen
(brush) };
228
Pen pen =
new
(brush);
238
using Pen pen =
new
(brush);
246
using Pen pen =
new
(brush);
254
using Pen pen =
new
(brush);
269
using (Pen pen =
new
(brush))
282
Pen pen =
new
(Color.Red);
297
Pen pen =
new
(brush);
311
using Pen pen =
new
(brush);
324
using Pen pen =
new
(brush);
332
using Pen pen =
new
(brush);
348
using Pen pen =
new
(brush);
356
Pen pen =
new
(brush);
367
using Pen pen =
new
(brush);
384
using Pen pen =
new
(brush);
392
using Pen pen =
new
(brush);
408
Pen pen =
new
(brush);
419
using Pen pen =
new
(brush);
436
using Pen pen =
new
(brush);
444
using Pen pen =
new
(brush);
460
Pen pen =
new
(brush);
474
using Pen pen =
new
(brush);
486
using Pen pen =
new
(brush);
494
Pen pen =
new
(brush);
511
using Pen pen =
new
(brush);
520
Pen pen =
new
(brush);
535
using Pen pen =
new
(brush);
549
using Pen pen =
new
(brush);
557
using Pen pen =
new
(brush);
569
using Pen pen =
new
(brush);
577
Pen pen =
new
(brush);
594
using Pen pen =
new
(brush);
612
using Pen pen =
new
(brush);
626
using Pen pen =
new
(brush);
634
Pen pen =
new
(brush);
661
using Pen pen =
new
(brush);
680
using Pen pen =
new
(brush);
688
Pen pen =
new
(brush);
703
using Pen pen =
new
(brush);
714
using Pen pen =
new
(brush);
722
Pen pen =
new
(brush);
739
using Pen pen =
new
(brush);
748
Pen pen =
new
(brush);
770
using Pen pen =
new
(brush);
796
using Pen pen =
new
(brush);
805
using Pen pen =
new
(brush);
815
using Pen pen =
new
(brush);
834
using Pen pen =
new
(brush);
848
Pen pen =
new
(brush);
859
using Pen pen =
new
(brush);
875
Pen pen =
new
(brush);
899
using (Pen pen =
new
(brush))
923
using Pen pen =
new
(brush);
932
Pen pen =
new
(brush);
959
using (Pen pen =
new
(brush))
983
using Pen pen =
new
(brush);
992
Pen pen =
new
(brush);
1006
using Pen pen =
new
(brush);
1023
Pen pen =
new
(brush);
1034
using Pen pen =
new
(brush);
1044
using Pen pen =
new
(brush);
1052
Pen pen =
new
(brush);
1063
using Pen pen =
new
(brush);
1078
using Pen pen =
new
(brush);
1086
using Pen pen =
new
(brush);
1095
using Pen pen =
new
(brush);
1107
Pen pen =
new
(brush);
1134
using (Pen pen =
new
(brush))
1158
using Pen pen =
new
(brush);
1167
Pen pen =
new
(brush);
1184
using Pen pen =
new
(brush);
1193
Pen pen =
new
(brush);
System.Windows.Forms (10)
System\Windows\Forms\Control.cs (1)
8116
using Pen pen =
new
(Color.Red, width: 2);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
515
using Pen pen =
new
(SystemColors.ControlDark, 1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridToolStripButton.cs (2)
49
Pen focusPen1 =
new
(SystemColors.ControlText, penWidth)
54
Pen focusPen2 =
new
(SystemColors.Control, penWidth)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (3)
292
using Pen p =
new
(SystemColors.ButtonShadow)
468
Pen focusPen1 =
new
(SystemColors.ControlText, penWidth)
473
Pen focusPen2 =
new
(SystemColors.Control, penWidth)
System\Windows\Forms\Controls\ToolStrips\ToolStripProfessionalLowResolutionRenderer.cs (1)
57
using Pen p =
new
(SystemColors.ButtonShadow)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
1025
using Pen p =
new
(ColorTable.StatusStripBorder);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
1668
using Pen pen =
new
(SystemColors.WindowFrame, 1);
System.Windows.Forms.Design (22)
System\ComponentModel\Design\ByteViewer.cs (1)
151
using Pen pen =
new
(SystemColors.ControlDark);
System\ComponentModel\Design\DesignerActionPanel.cs (1)
486
using (Pen borderPen =
new
(BorderColor))
System\ComponentModel\Design\DesignerActionPanel.PanelHeaderLine.cs (1)
105
using Pen p =
new
(ActionPanel.BorderColor);
System\ComponentModel\Design\DesignerActionPanel.SeparatorLine.cs (1)
28
using Pen p =
new
(ActionPanel.SeparatorColor);
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (3)
29
private readonly Pen _baselinePen =
new
(Color.Fuchsia);
169
_edgePen = new
Pen
(snaplinesColor);
176
_baselinePen = new
Pen
(snaplinesTextBaselineColor);
System\Windows\Forms\Design\ControlDesigner.cs (1)
2280
using (Pen pen =
new
(Color.Red, penThickness))
System\Windows\Forms\Design\DesignerUtils.cs (1)
123
g.DrawRectangle(new
Pen
(SystemColors.ControlDarkDark), 0, 0, s_boxImageSize - 1, s_boxImageSize - 1);
System\Windows\Forms\Design\PanelDesigner.cs (1)
76
Pen pen =
new
(penColor)
System\Windows\Forms\Design\PictureBoxDesigner.cs (1)
48
Pen pen =
new
(penColor)
System\Windows\Forms\Design\SplitterDesigner.cs (1)
33
using Pen pen =
new
(penColor);
System\Windows\Forms\Design\SplitterPanelDesigner.cs (2)
150
using Pen pen =
new
(penColor)
168
using Pen pen =
new
(control.BackColor)
System\Windows\Forms\Design\TabOrder.cs (1)
58
_highlightPen = new
Pen
(SystemColors.Highlight);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
926
using Pen p =
new
(new SolidBrush(Color.Black));
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
50
Pen pen =
new
(penColor)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (5)
1872
Pen selectborderPen =
new
(_toolStripBorderColor);
1888
Pen borderPen =
new
(_defaultBorderColor);
1977
using (Pen p =
new
(_toolStripBorderColor))
2024
selectborderPen = new
Pen
(_selectedBorderColor);
2029
selectborderPen = new
Pen
(_defaultBorderColor);
System.Windows.Forms.Primitives (6)
System\Windows\Forms\GdiPlus\GdiPlusCache.cs (1)
77
=> width == 1 ? GetPenScope(color) : new PenCache.Scope(new
Pen
(color, width));
System\Windows\Forms\GdiPlus\PenCache.cs (1)
18
public PenCacheEntry(Color color, bool cached) : base(color, cached) => _pen = new
Pen
(color);
System\Windows\Forms\SystemDrawingExtensions.cs (4)
101
: new
Pen
(color);
105
? new
Pen
(Color.FromArgb(color.ToArgb())) { DashStyle = dashStyle }
106
: new
Pen
(color) { DashStyle = dashStyle };
113
=>
new
(brush, width);
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
95
Pen pen =
new
(SystemColors.ControlDarkDark, 1);
490 references to Pen
System.Drawing (1)
System.Drawing.cs (1)
103
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.
Pen
))]
System.Drawing.Common (229)
Special\NotSupported.cs (229)
462
public void DrawArc(System.Drawing.
Pen
pen, System.Drawing.Rectangle rect, float startAngle, float sweepAngle) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
463
public void DrawArc(System.Drawing.
Pen
pen, System.Drawing.RectangleF rect, float startAngle, float sweepAngle) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
464
public void DrawArc(System.Drawing.
Pen
pen, int x, int y, int width, int height, int startAngle, int sweepAngle) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
465
public void DrawArc(System.Drawing.
Pen
pen, float x, float y, float width, float height, float startAngle, float sweepAngle) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
466
public void DrawBezier(System.Drawing.
Pen
pen, System.Drawing.Point pt1, System.Drawing.Point pt2, System.Drawing.Point pt3, System.Drawing.Point pt4) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
467
public void DrawBezier(System.Drawing.
Pen
pen, System.Drawing.PointF pt1, System.Drawing.PointF pt2, System.Drawing.PointF pt3, System.Drawing.PointF pt4) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
468
public void DrawBezier(System.Drawing.
Pen
pen, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
469
public void DrawBeziers(System.Drawing.
Pen
pen, System.Drawing.PointF[] points) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
470
public void DrawBeziers(System.Drawing.
Pen
pen, System.Drawing.Point[] points) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
471
public void DrawClosedCurve(System.Drawing.
Pen
pen, System.Drawing.PointF[] points) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
472
public void DrawClosedCurve(System.Drawing.
Pen
pen, System.Drawing.PointF[] points, float tension, System.Drawing.Drawing2D.FillMode fillmode) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
473
public void DrawClosedCurve(System.Drawing.
Pen
pen, System.Drawing.Point[] points) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
474
public void DrawClosedCurve(System.Drawing.
Pen
pen, System.Drawing.Point[] points, float tension, System.Drawing.Drawing2D.FillMode fillmode) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
475
public void DrawCurve(System.Drawing.
Pen
pen, System.Drawing.PointF[] points) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
476
public void DrawCurve(System.Drawing.
Pen
pen, System.Drawing.PointF[] points, int offset, int numberOfSegments) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
477
public void DrawCurve(System.Drawing.
Pen
pen, System.Drawing.PointF[] points, int offset, int numberOfSegments, float tension) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
478
public void DrawCurve(System.Drawing.
Pen
pen, System.Drawing.PointF[] points, float tension) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
479
public void DrawCurve(System.Drawing.
Pen
pen, System.Drawing.Point[] points) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
480
public void DrawCurve(System.Drawing.
Pen
pen, System.Drawing.Point[] points, int offset, int numberOfSegments, float tension) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
481
public void DrawCurve(System.Drawing.
Pen
pen, System.Drawing.Point[] points, float tension) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
482
public void DrawEllipse(System.Drawing.
Pen
pen, System.Drawing.Rectangle rect) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
483
public void DrawEllipse(System.Drawing.
Pen
pen, System.Drawing.RectangleF rect) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
484
public void DrawEllipse(System.Drawing.
Pen
pen, int x, int y, int width, int height) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
485
public void DrawEllipse(System.Drawing.
Pen
pen, float x, float y, float width, float height) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
524
public void DrawLine(System.Drawing.
Pen
pen, System.Drawing.Point pt1, System.Drawing.Point pt2) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
525
public void DrawLine(System.Drawing.
Pen
pen, System.Drawing.PointF pt1, System.Drawing.PointF pt2) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
526
public void DrawLine(System.Drawing.
Pen
pen, int x1, int y1, int x2, int y2) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
527
public void DrawLine(System.Drawing.
Pen
pen, float x1, float y1, float x2, float y2) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
528
public void DrawLines(System.Drawing.
Pen
pen, System.Drawing.PointF[] points) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
529
public void DrawLines(System.Drawing.
Pen
pen, System.Drawing.Point[] points) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
530
public void DrawPath(System.Drawing.
Pen
pen, System.Drawing.Drawing2D.GraphicsPath path) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
531
public void DrawPie(System.Drawing.
Pen
pen, System.Drawing.Rectangle rect, float startAngle, float sweepAngle) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
532
public void DrawPie(System.Drawing.
Pen
pen, System.Drawing.RectangleF rect, float startAngle, float sweepAngle) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
533
public void DrawPie(System.Drawing.
Pen
pen, int x, int y, int width, int height, int startAngle, int sweepAngle) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
534
public void DrawPie(System.Drawing.
Pen
pen, float x, float y, float width, float height, float startAngle, float sweepAngle) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
535
public void DrawPolygon(System.Drawing.
Pen
pen, System.Drawing.PointF[] points) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
536
public void DrawPolygon(System.Drawing.
Pen
pen, System.Drawing.Point[] points) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
537
public void DrawRectangle(System.Drawing.
Pen
pen, System.Drawing.Rectangle rect) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
538
public void DrawRectangle(System.Drawing.
Pen
pen, int x, int y, int width, int height) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
539
public void DrawRectangle(System.Drawing.
Pen
pen, float x, float y, float width, float height) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
540
public void DrawRectangles(System.Drawing.
Pen
pen, System.Drawing.RectangleF[] rects) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
541
public void DrawRectangles(System.Drawing.
Pen
pen, System.Drawing.Rectangle[] rects) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
882
public static System.Drawing.
Pen
AliceBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
883
public static System.Drawing.
Pen
AntiqueWhite { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
884
public static System.Drawing.
Pen
Aqua { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
885
public static System.Drawing.
Pen
Aquamarine { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
886
public static System.Drawing.
Pen
Azure { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
887
public static System.Drawing.
Pen
Beige { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
888
public static System.Drawing.
Pen
Bisque { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
889
public static System.Drawing.
Pen
Black { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
890
public static System.Drawing.
Pen
BlanchedAlmond { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
891
public static System.Drawing.
Pen
Blue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
892
public static System.Drawing.
Pen
BlueViolet { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
893
public static System.Drawing.
Pen
Brown { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
894
public static System.Drawing.
Pen
BurlyWood { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
895
public static System.Drawing.
Pen
CadetBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
896
public static System.Drawing.
Pen
Chartreuse { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
897
public static System.Drawing.
Pen
Chocolate { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
898
public static System.Drawing.
Pen
Coral { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
899
public static System.Drawing.
Pen
CornflowerBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
900
public static System.Drawing.
Pen
Cornsilk { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
901
public static System.Drawing.
Pen
Crimson { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
902
public static System.Drawing.
Pen
Cyan { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
903
public static System.Drawing.
Pen
DarkBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
904
public static System.Drawing.
Pen
DarkCyan { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
905
public static System.Drawing.
Pen
DarkGoldenrod { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
906
public static System.Drawing.
Pen
DarkGray { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
907
public static System.Drawing.
Pen
DarkGreen { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
908
public static System.Drawing.
Pen
DarkKhaki { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
909
public static System.Drawing.
Pen
DarkMagenta { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
910
public static System.Drawing.
Pen
DarkOliveGreen { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
911
public static System.Drawing.
Pen
DarkOrange { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
912
public static System.Drawing.
Pen
DarkOrchid { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
913
public static System.Drawing.
Pen
DarkRed { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
914
public static System.Drawing.
Pen
DarkSalmon { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
915
public static System.Drawing.
Pen
DarkSeaGreen { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
916
public static System.Drawing.
Pen
DarkSlateBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
917
public static System.Drawing.
Pen
DarkSlateGray { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
918
public static System.Drawing.
Pen
DarkTurquoise { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
919
public static System.Drawing.
Pen
DarkViolet { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
920
public static System.Drawing.
Pen
DeepPink { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
921
public static System.Drawing.
Pen
DeepSkyBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
922
public static System.Drawing.
Pen
DimGray { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
923
public static System.Drawing.
Pen
DodgerBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
924
public static System.Drawing.
Pen
Firebrick { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
925
public static System.Drawing.
Pen
FloralWhite { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
926
public static System.Drawing.
Pen
ForestGreen { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
927
public static System.Drawing.
Pen
Fuchsia { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
928
public static System.Drawing.
Pen
Gainsboro { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
929
public static System.Drawing.
Pen
GhostWhite { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
930
public static System.Drawing.
Pen
Gold { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
931
public static System.Drawing.
Pen
Goldenrod { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
932
public static System.Drawing.
Pen
Gray { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
933
public static System.Drawing.
Pen
Green { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
934
public static System.Drawing.
Pen
GreenYellow { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
935
public static System.Drawing.
Pen
Honeydew { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
936
public static System.Drawing.
Pen
HotPink { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
937
public static System.Drawing.
Pen
IndianRed { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
938
public static System.Drawing.
Pen
Indigo { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
939
public static System.Drawing.
Pen
Ivory { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
940
public static System.Drawing.
Pen
Khaki { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
941
public static System.Drawing.
Pen
Lavender { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
942
public static System.Drawing.
Pen
LavenderBlush { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
943
public static System.Drawing.
Pen
LawnGreen { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
944
public static System.Drawing.
Pen
LemonChiffon { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
945
public static System.Drawing.
Pen
LightBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
946
public static System.Drawing.
Pen
LightCoral { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
947
public static System.Drawing.
Pen
LightCyan { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
948
public static System.Drawing.
Pen
LightGoldenrodYellow { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
949
public static System.Drawing.
Pen
LightGray { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
950
public static System.Drawing.
Pen
LightGreen { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
951
public static System.Drawing.
Pen
LightPink { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
952
public static System.Drawing.
Pen
LightSalmon { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
953
public static System.Drawing.
Pen
LightSeaGreen { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
954
public static System.Drawing.
Pen
LightSkyBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
955
public static System.Drawing.
Pen
LightSlateGray { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
956
public static System.Drawing.
Pen
LightSteelBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
957
public static System.Drawing.
Pen
LightYellow { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
958
public static System.Drawing.
Pen
Lime { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
959
public static System.Drawing.
Pen
LimeGreen { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
960
public static System.Drawing.
Pen
Linen { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
961
public static System.Drawing.
Pen
Magenta { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
962
public static System.Drawing.
Pen
Maroon { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
963
public static System.Drawing.
Pen
MediumAquamarine { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
964
public static System.Drawing.
Pen
MediumBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
965
public static System.Drawing.
Pen
MediumOrchid { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
966
public static System.Drawing.
Pen
MediumPurple { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
967
public static System.Drawing.
Pen
MediumSeaGreen { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
968
public static System.Drawing.
Pen
MediumSlateBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
969
public static System.Drawing.
Pen
MediumSpringGreen { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
970
public static System.Drawing.
Pen
MediumTurquoise { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
971
public static System.Drawing.
Pen
MediumVioletRed { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
972
public static System.Drawing.
Pen
MidnightBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
973
public static System.Drawing.
Pen
MintCream { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
974
public static System.Drawing.
Pen
MistyRose { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
975
public static System.Drawing.
Pen
Moccasin { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
976
public static System.Drawing.
Pen
NavajoWhite { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
977
public static System.Drawing.
Pen
Navy { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
978
public static System.Drawing.
Pen
OldLace { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
979
public static System.Drawing.
Pen
Olive { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
980
public static System.Drawing.
Pen
OliveDrab { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
981
public static System.Drawing.
Pen
Orange { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
982
public static System.Drawing.
Pen
OrangeRed { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
983
public static System.Drawing.
Pen
Orchid { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
984
public static System.Drawing.
Pen
PaleGoldenrod { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
985
public static System.Drawing.
Pen
PaleGreen { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
986
public static System.Drawing.
Pen
PaleTurquoise { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
987
public static System.Drawing.
Pen
PaleVioletRed { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
988
public static System.Drawing.
Pen
PapayaWhip { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
989
public static System.Drawing.
Pen
PeachPuff { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
990
public static System.Drawing.
Pen
Peru { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
991
public static System.Drawing.
Pen
Pink { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
992
public static System.Drawing.
Pen
Plum { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
993
public static System.Drawing.
Pen
PowderBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
994
public static System.Drawing.
Pen
Purple { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
995
public static System.Drawing.
Pen
Red { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
996
public static System.Drawing.
Pen
RosyBrown { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
997
public static System.Drawing.
Pen
RoyalBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
998
public static System.Drawing.
Pen
SaddleBrown { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
999
public static System.Drawing.
Pen
Salmon { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1000
public static System.Drawing.
Pen
SandyBrown { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1001
public static System.Drawing.
Pen
SeaGreen { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1002
public static System.Drawing.
Pen
SeaShell { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1003
public static System.Drawing.
Pen
Sienna { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1004
public static System.Drawing.
Pen
Silver { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1005
public static System.Drawing.
Pen
SkyBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1006
public static System.Drawing.
Pen
SlateBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1007
public static System.Drawing.
Pen
SlateGray { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1008
public static System.Drawing.
Pen
Snow { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1009
public static System.Drawing.
Pen
SpringGreen { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1010
public static System.Drawing.
Pen
SteelBlue { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1011
public static System.Drawing.
Pen
Tan { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1012
public static System.Drawing.
Pen
Teal { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1013
public static System.Drawing.
Pen
Thistle { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1014
public static System.Drawing.
Pen
Tomato { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1015
public static System.Drawing.
Pen
Transparent { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1016
public static System.Drawing.
Pen
Turquoise { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1017
public static System.Drawing.
Pen
Violet { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1018
public static System.Drawing.
Pen
Wheat { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1019
public static System.Drawing.
Pen
White { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1020
public static System.Drawing.
Pen
WhiteSmoke { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1021
public static System.Drawing.
Pen
Yellow { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1022
public static System.Drawing.
Pen
YellowGreen { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1294
public static System.Drawing.
Pen
ActiveBorder { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1295
public static System.Drawing.
Pen
ActiveCaption { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1296
public static System.Drawing.
Pen
ActiveCaptionText { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1297
public static System.Drawing.
Pen
AppWorkspace { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1298
public static System.Drawing.
Pen
ButtonFace { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1299
public static System.Drawing.
Pen
ButtonHighlight { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1300
public static System.Drawing.
Pen
ButtonShadow { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1301
public static System.Drawing.
Pen
Control { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1302
public static System.Drawing.
Pen
ControlDark { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1303
public static System.Drawing.
Pen
ControlDarkDark { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1304
public static System.Drawing.
Pen
ControlLight { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1305
public static System.Drawing.
Pen
ControlLightLight { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1306
public static System.Drawing.
Pen
ControlText { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1307
public static System.Drawing.
Pen
Desktop { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1308
public static System.Drawing.
Pen
GradientActiveCaption { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1309
public static System.Drawing.
Pen
GradientInactiveCaption { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1310
public static System.Drawing.
Pen
GrayText { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1311
public static System.Drawing.
Pen
Highlight { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1312
public static System.Drawing.
Pen
HighlightText { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1313
public static System.Drawing.
Pen
HotTrack { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1314
public static System.Drawing.
Pen
InactiveBorder { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1315
public static System.Drawing.
Pen
InactiveCaption { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1316
public static System.Drawing.
Pen
InactiveCaptionText { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1317
public static System.Drawing.
Pen
Info { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1318
public static System.Drawing.
Pen
InfoText { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1319
public static System.Drawing.
Pen
Menu { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1320
public static System.Drawing.
Pen
MenuBar { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1321
public static System.Drawing.
Pen
MenuHighlight { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1322
public static System.Drawing.
Pen
MenuText { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1323
public static System.Drawing.
Pen
ScrollBar { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1324
public static System.Drawing.
Pen
Window { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1325
public static System.Drawing.
Pen
WindowFrame { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1326
public static System.Drawing.
Pen
WindowText { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } }
1327
public static System.Drawing.
Pen
FromSystemColor(System.Drawing.Color c) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1566
public System.Drawing.RectangleF GetBounds(System.Drawing.Drawing2D.Matrix? matrix, System.Drawing.
Pen
? pen) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1568
public bool IsOutlineVisible(System.Drawing.Point point, System.Drawing.
Pen
pen) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1569
public bool IsOutlineVisible(System.Drawing.Point pt, System.Drawing.
Pen
pen, System.Drawing.Graphics? graphics) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1570
public bool IsOutlineVisible(System.Drawing.PointF point, System.Drawing.
Pen
pen) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1571
public bool IsOutlineVisible(System.Drawing.PointF pt, System.Drawing.
Pen
pen, System.Drawing.Graphics? graphics) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1572
public bool IsOutlineVisible(int x, int y, System.Drawing.
Pen
pen) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1573
public bool IsOutlineVisible(int x, int y, System.Drawing.
Pen
pen, System.Drawing.Graphics? graphics) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1574
public bool IsOutlineVisible(float x, float y, System.Drawing.
Pen
pen) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1575
public bool IsOutlineVisible(float x, float y, System.Drawing.
Pen
pen, System.Drawing.Graphics? graphics) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1593
public void Widen(System.Drawing.
Pen
pen) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1594
public void Widen(System.Drawing.
Pen
pen, System.Drawing.Drawing2D.Matrix? matrix) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
1595
public void Widen(System.Drawing.
Pen
pen, System.Drawing.Drawing2D.Matrix? matrix, float flatness) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Drawing.Common.Tests (192)
mono\System.Drawing.Imaging\BmpCodecTests.cs (1)
432
using (
Pen
p = new(Color.BlueViolet, 2))
mono\System.Drawing.Imaging\GifCodecTests.cs (1)
186
using (
Pen
p = new(Color.Red, 2))
mono\System.Drawing.Imaging\IconCodecTests.cs (1)
1870
using (
Pen
p = new(Color.Red, 2))
mono\System.Drawing.Imaging\JpegCodecTests.cs (1)
351
using (
Pen
p = new(Color.Red, 2))
mono\System.Drawing.Imaging\PngCodecTests.cs (1)
572
using (
Pen
p = new(Color.BlueViolet, 2))
mono\System.Drawing.Imaging\TiffCodecTests.cs (1)
243
using (
Pen
p = new(Color.BlueViolet, 2))
mono\System.Drawing\GraphicsTests.cs (5)
834
using
Pen
pen = new(Color.Red);
849
using
Pen
pen = new(Color.Red);
1218
using
Pen
pen = new(Color.Blue, width);
1381
using
Pen
pen = new(Color.Blue, width);
1527
using
Pen
pen = new(Color.Blue, width);
System\Drawing\Drawing2D\GraphicsPathTests.cs (7)
1661
using
Pen
pen = new(Color.Blue);
1674
using
Pen
pen = new(Color.Blue);
1693
using
Pen
pen = new(Color.Blue);
1704
using
Pen
pen = new(Color.Blue);
1726
using
Pen
pen = new(Color.Aqua, 0);
2248
using
Pen
pen = new(Color.Red, 3.0f);
2275
using
Pen
pen = new(Color.Red, 3.0f);
System\Drawing\Graphics_DrawBezierTests.cs (11)
12
using
Pen
pen = new(Color.White);
26
using
Pen
pen = new(Color.Red);
45
using
Pen
pen = new(Color.Red);
75
Pen
pen = new(Color.Red);
88
using
Pen
pen = new(Color.Red);
106
using
Pen
pen = new(Color.Red);
130
Pen
pen = new(Color.Red);
142
using
Pen
pen = new(Color.Red);
152
using
Pen
pen = new(Color.Red);
162
using
Pen
pen = new(Color.Red);
179
using
Pen
pen = new(Color.Red);
System\Drawing\Graphics_DrawLineTests.cs (10)
12
using
Pen
pen = new(Color.White);
27
using
Pen
pen = new(Color.White);
54
Pen
pen = new(Color.Red);
68
using
Pen
pen = new(Color.Red);
87
using
Pen
pen = new(Color.Red);
111
Pen
pen = new(Color.Red);
123
using
Pen
pen = new(Color.Red);
135
using
Pen
pen = new(Color.Red);
145
using
Pen
pen = new(Color.Red);
162
using
Pen
pen = new(Color.Red);
System\Drawing\GraphicsTests.Core.cs (3)
85
Pen
pen = new(Color.Red);
98
using
Pen
pen = new(Color.Red);
115
using
Pen
pen = new(Color.Red);
System\Drawing\GraphicsTests.cs (44)
1971
Pen
pen = new(Color.Red);
1985
using
Pen
pen = new(Color.Red);
1997
using
Pen
pen = new(Color.Red);
2009
using
Pen
pen = new(Color.Red);
2028
using
Pen
pen = new(Color.Red);
2053
Pen
pen = new(Color.Red);
2066
using
Pen
pen = new(Color.Red);
2084
using
Pen
pen = new(Color.Red);
2107
Pen
pen = new(Color.Red);
2119
using
Pen
pen = new(Color.Red);
2129
using
Pen
pen = new(Color.Red);
2139
using
Pen
pen = new(Color.Red);
2156
using
Pen
pen = new(Color.Red);
2180
Pen
pen = new(Color.Red);
2194
using
Pen
pen = new(Color.Red);
2213
using
Pen
pen = new(Color.Red);
2239
Pen
pen = new(Color.Red);
2253
using
Pen
pen = new(Color.Red);
2265
using
Pen
pen = new(Color.Red);
2277
using
Pen
pen = new(Color.Red);
2296
using
Pen
pen = new(Color.Red);
2320
Pen
pen = new(Color.Red);
2332
using
Pen
pen = new(Color.Red);
2344
using
Pen
pen = new(Color.Red);
2354
using
Pen
pen = new(Color.Red);
2371
using
Pen
pen = new(Color.Red);
2394
Pen
pen = new(Color.Red);
2405
using
Pen
pen = new(Color.Red);
2414
using
Pen
pen = new(Color.Red);
2426
using
Pen
pen = new(Color.Red);
2443
using
Pen
pen = new(Color.Red);
2470
Pen
pen = new(Color.Red);
2487
using
Pen
pen = new(Color.Red);
2504
using
Pen
pen = new(Color.Red);
2524
using
Pen
pen = new(Color.Red);
2535
using
Pen
pen = new(Color.Red);
2557
using
Pen
pen = new(Color.Red);
2586
Pen
pen = new(Color.Red);
2600
using
Pen
pen = new(Color.Red);
2615
using
Pen
pen = new(Color.Red);
2627
using
Pen
pen = new(Color.Red);
2646
using
Pen
pen = new(Color.Red);
2756
using
Pen
pen = new(Color.Red);
2772
using
Pen
pen = new(Color.Red);
System\Drawing\Imaging\ImageAttributesTests.cs (3)
173
using
Pen
pen = new(brush);
204
using
Pen
pen = new(brush);
300
using
Pen
pen = new(brush);
System\Drawing\PensTests.cs (3)
155
public static object[] Pen(Func<
Pen
> getPen, Color expectedColor) => [getPen, expectedColor];
159
public void Pens_Get_ReturnsExpected(Func<
Pen
> getPen, Color expectedColor)
161
Pen
pen = getPen();
System\Drawing\PenTests.cs (97)
25
using (
Pen
pen = new(brush))
58
using (
Pen
pen = new(brush, width))
68
using
Pen
pen = new(brush);
94
using
Pen
pen = new(Color.Red);
109
using
Pen
pen = new(Color.Red, width);
123
using
Pen
pen = new(brush);
134
using
Pen
pen = new(brush);
142
Pen
pen = new(brush);
153
using
Pen
pen = new(Color.Red);
162
using
Pen
pen = new(Color.Red);
175
using
Pen
pen = new(brush);
183
using
Pen
pen = new(brush);
192
Pen
pen = new(brush);
207
public void Clone_Invoke_ReturnsExpected(
Pen
pen)
211
Pen
clone = Assert.IsType<
Pen
>(pen.Clone());
228
Pen
pen = new(brush);
238
using
Pen
pen = new(brush);
246
using
Pen
pen = new(brush);
254
using
Pen
pen = new(brush);
258
private static void ValidateInitialPenColorState(
Pen
pen)
269
using (
Pen
pen = new(brush))
282
Pen
pen = new(Color.Red);
297
Pen
pen = new(brush);
311
using
Pen
pen = new(brush);
324
using
Pen
pen = new(brush);
332
using
Pen
pen = new(brush);
348
using
Pen
pen = new(brush);
356
Pen
pen = new(brush);
367
using
Pen
pen = new(brush);
384
using
Pen
pen = new(brush);
392
using
Pen
pen = new(brush);
408
Pen
pen = new(brush);
419
using
Pen
pen = new(brush);
436
using
Pen
pen = new(brush);
444
using
Pen
pen = new(brush);
460
Pen
pen = new(brush);
474
using
Pen
pen = new(brush);
486
using
Pen
pen = new(brush);
494
Pen
pen = new(brush);
511
using
Pen
pen = new(brush);
520
Pen
pen = new(brush);
535
using
Pen
pen = new(brush);
549
using
Pen
pen = new(brush);
557
using
Pen
pen = new(brush);
569
using
Pen
pen = new(brush);
577
Pen
pen = new(brush);
594
using
Pen
pen = new(brush);
612
using
Pen
pen = new(brush);
626
using
Pen
pen = new(brush);
634
Pen
pen = new(brush);
661
using
Pen
pen = new(brush);
680
using
Pen
pen = new(brush);
688
Pen
pen = new(brush);
703
using
Pen
pen = new(brush);
714
using
Pen
pen = new(brush);
722
Pen
pen = new(brush);
739
using
Pen
pen = new(brush);
748
Pen
pen = new(brush);
770
using
Pen
pen = new(brush);
777
Pen
clone = (
Pen
)pen.Clone();
796
using
Pen
pen = new(brush);
805
using
Pen
pen = new(brush);
815
using
Pen
pen = new(brush);
834
using
Pen
pen = new(brush);
848
Pen
pen = new(brush);
859
using
Pen
pen = new(brush);
875
Pen
pen = new(brush);
899
using (
Pen
pen = new(brush))
907
Pen
clone = (
Pen
)pen.Clone();
923
using
Pen
pen = new(brush);
932
Pen
pen = new(brush);
959
using (
Pen
pen = new(brush))
967
Pen
clone = (
Pen
)pen.Clone();
983
using
Pen
pen = new(brush);
992
Pen
pen = new(brush);
1006
using
Pen
pen = new(brush);
1023
Pen
pen = new(brush);
1034
using
Pen
pen = new(brush);
1044
using
Pen
pen = new(brush);
1052
Pen
pen = new(brush);
1063
using
Pen
pen = new(brush);
1078
using
Pen
pen = new(brush);
1086
using
Pen
pen = new(brush);
1095
using
Pen
pen = new(brush);
1107
Pen
pen = new(brush);
1134
using (
Pen
pen = new(brush))
1142
Pen
clone = (
Pen
)pen.Clone();
1158
using
Pen
pen = new(brush);
1167
Pen
pen = new(brush);
1184
using
Pen
pen = new(brush);
1193
Pen
pen = new(brush);
1200
private static void VerifyPen<T>(
Pen
pen, PenType expectedPenType, float expectedWidth) where T : Brush
System\Drawing\SystemPensTest.cs (3)
47
public static object[] Pen(Func<
Pen
> getPen, Color expectedColor) => [getPen, expectedColor];
51
public void SystemPens_Get_ReturnsExpected(Func<
Pen
> getPen, Color expectedColor)
53
Pen
pen = getPen();
System.Windows.Forms (28)
System\Windows\Forms\Control.cs (1)
8116
using
Pen
pen = new(Color.Red, width: 2);
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (1)
88
Pen
innerPen = comboBox.Enabled ? borderPen : SystemPens.Control;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
2094
Pen
pen = SystemInformation.HighContrast ? SystemPens.ControlLight : SystemPens.Control;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
515
using
Pen
pen = new(SystemColors.ControlDark, 1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridToolStripButton.cs (2)
49
Pen
focusPen1 = new(SystemColors.ControlText, penWidth)
54
Pen
focusPen2 = new(SystemColors.Control, penWidth)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (4)
292
using
Pen
p = new(SystemColors.ButtonShadow)
347
Pen
foreColorPen = SystemPens.ButtonShadow;
468
Pen
focusPen1 = new(SystemColors.ControlText, penWidth)
473
Pen
focusPen2 = new(SystemColors.Control, penWidth)
System\Windows\Forms\Controls\ToolStrips\ToolStripProfessionalLowResolutionRenderer.cs (1)
57
using
Pen
p = new(SystemColors.ButtonShadow)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (3)
1025
using
Pen
p = new(ColorTable.StatusStripBorder);
1506
Pen
leftPen = (rightToLeft) ? highlightColorPen : foreColorPen;
1507
Pen
rightPen = (rightToLeft) ? foreColorPen : highlightColorPen;
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (3)
714
Pen
leftPen = (rightToLeft) ? SystemPens.ButtonHighlight : foreColorPen;
715
Pen
rightPen = (rightToLeft) ? foreColorPen : SystemPens.ButtonHighlight;
748
Pen
leftPen, topPen, rightPen, bottomPen;
System\Windows\Forms\Rendering\ControlPaint.cs (11)
22
private static
Pen
? t_focusPen; // pen used to draw a focus rectangle
25
private static
Pen
? t_focusPenInvert; // pen used to draw a focus rectangle
33
private static
Pen
? s_grabPenPrimary; // pen used for primary grab handles
34
private static
Pen
? s_grabPenSecondary; // pen used for secondary grab handles
1086
Pen
pen = SystemPens.ControlLight;
1278
Pen
pen = Pens.Black;
1389
Pen
pen = SystemPens.ControlDark;
1487
Pen
pen = primary
1668
using
Pen
pen = new(SystemColors.WindowFrame, 1);
1687
Pen
pen = primary ? Pens.White : Pens.Black;
2129
private static
Pen
GetFocusPen(Color baseColor, bool odds, bool highContrast, bool blackAndWhite)
System.Windows.Forms.Design (28)
System\ComponentModel\Design\ByteViewer.cs (1)
151
using
Pen
pen = new(SystemColors.ControlDark);
System\ComponentModel\Design\DesignerActionPanel.cs (1)
486
using (
Pen
borderPen = new(BorderColor))
System\ComponentModel\Design\DesignerActionPanel.PanelHeaderLine.cs (1)
105
using
Pen
p = new(ActionPanel.BorderColor);
System\ComponentModel\Design\DesignerActionPanel.SeparatorLine.cs (1)
28
using
Pen
p = new(ActionPanel.SeparatorColor);
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (3)
27
private readonly
Pen
_edgePen = SystemPens.Highlight;
29
private readonly
Pen
_baselinePen = new(Color.Fuchsia);
819
Pen
currentPen;
System\Windows\Forms\Design\ControlDesigner.cs (1)
2280
using (
Pen
pen = new(Color.Red, penThickness))
System\Windows\Forms\Design\DesignerUtils.cs (1)
190
Pen
pen = SystemPens.ControlDarkDark;
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
439
var
pen = SystemPens.ControlText;
System\Windows\Forms\Design\PanelDesigner.cs (3)
36
Pen
pen = BorderPen;
66
protected
Pen
BorderPen
76
Pen
pen = new(penColor)
System\Windows\Forms\Design\PictureBoxDesigner.cs (1)
48
Pen
pen = new(penColor)
System\Windows\Forms\Design\SplitterDesigner.cs (1)
33
using
Pen
pen = new(penColor);
System\Windows\Forms\Design\SplitterPanelDesigner.cs (2)
150
using
Pen
pen = new(penColor)
168
using
Pen
pen = new(control.BackColor)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
855
using
Pen
pen = BorderPen;
System\Windows\Forms\Design\TabOrder.cs (2)
30
private readonly
Pen
_highlightPen;
264
Pen
pen;
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
926
using
Pen
p = new(new SolidBrush(Color.Black));
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (3)
40
private
Pen
BorderPen
50
Pen
pen = new(penColor)
239
Pen
pen = BorderPen;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (4)
1872
Pen
selectborderPen = new(_toolStripBorderColor);
1888
Pen
borderPen = new(_defaultBorderColor);
1977
using (
Pen
p = new(_toolStripBorderColor))
2020
Pen
selectborderPen;
System.Windows.Forms.Primitives (11)
System\Windows\Forms\GdiPlus\GdiPlusCache.cs (3)
31
Pen
? pen = color.IsSystemColor
62
/// Returns a cached <see cref="
Pen
"/>. Use in a using and assign to var.
105
private static
Pen
? PenFromKnownColor(KnownColor color) => color switch
System\Windows\Forms\GdiPlus\PenCache.cs (3)
8
internal sealed class PenCache : RefCountedCache<
Pen
, Color, Color>
17
private readonly
Pen
_pen;
19
public override
Pen
Object => _pen;
System\Windows\Forms\RefCountedCache.cs (1)
12
/// The target object the cache represents. If you're caching <see cref="Drawing.
Pen
"/> that would be the
System\Windows\Forms\SystemDrawingExtensions.cs (4)
54
internal static void DrawLines(this Graphics graphics,
Pen
pen, ReadOnlySpan<int> lines)
91
/// Creates a <see cref="
Pen
"/>. If <paramref name="color"/> is a system color, makes a static copy of the
94
internal static
Pen
CreateStaticPen(this Color color, DashStyle dashStyle)
112
internal static
Pen
CreateStaticPen(this Brush brush, float width = 1.0f)
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
95
Pen
pen = new(SystemColors.ControlDarkDark, 1);