415 instantiations of Pen
System.Drawing (143)
commonui\System\Drawing\Pen.cs (1)
172
return new
Pen
(clonePen);
commonui\System\Drawing\Pens.cs (141)
178
transparent = new
Pen
(Color.Transparent, true);
195
aliceBlue = new
Pen
(Color.AliceBlue, true);
212
antiqueWhite = new
Pen
(Color.AntiqueWhite, true);
229
aqua = new
Pen
(Color.Aqua, true);
246
aquamarine = new
Pen
(Color.Aquamarine, true);
263
azure = new
Pen
(Color.Azure, true);
280
beige = new
Pen
(Color.Beige, true);
297
bisque = new
Pen
(Color.Bisque, true);
314
black = new
Pen
(Color.Black, true);
331
blanchedAlmond = new
Pen
(Color.BlanchedAlmond, true);
348
blue = new
Pen
(Color.Blue, true);
365
blueViolet = new
Pen
(Color.BlueViolet, true);
382
brown = new
Pen
(Color.Brown, true);
399
burlyWood = new
Pen
(Color.BurlyWood, true);
416
cadetBlue = new
Pen
(Color.CadetBlue, true);
433
chartreuse = new
Pen
(Color.Chartreuse, true);
450
chocolate = new
Pen
(Color.Chocolate, true);
467
choral = new
Pen
(Color.Coral, true);
484
cornflowerBlue = new
Pen
(Color.CornflowerBlue, true);
501
cornsilk = new
Pen
(Color.Cornsilk, true);
518
crimson = new
Pen
(Color.Crimson, true);
535
cyan = new
Pen
(Color.Cyan, true);
552
darkBlue = new
Pen
(Color.DarkBlue, true);
569
darkCyan = new
Pen
(Color.DarkCyan, true);
586
darkGoldenrod = new
Pen
(Color.DarkGoldenrod, true);
603
darkGray = new
Pen
(Color.DarkGray, true);
620
darkGreen = new
Pen
(Color.DarkGreen, true);
637
darkKhaki = new
Pen
(Color.DarkKhaki, true);
654
darkMagenta = new
Pen
(Color.DarkMagenta, true);
671
darkOliveGreen = new
Pen
(Color.DarkOliveGreen, true);
688
darkOrange = new
Pen
(Color.DarkOrange, true);
705
darkOrchid = new
Pen
(Color.DarkOrchid, true);
722
darkRed = new
Pen
(Color.DarkRed, true);
739
darkSalmon = new
Pen
(Color.DarkSalmon, true);
756
darkSeaGreen = new
Pen
(Color.DarkSeaGreen, true);
773
darkSlateBlue = new
Pen
(Color.DarkSlateBlue, true);
790
darkSlateGray = new
Pen
(Color.DarkSlateGray, true);
807
darkTurquoise = new
Pen
(Color.DarkTurquoise, true);
824
darkViolet = new
Pen
(Color.DarkViolet, true);
841
deepPink = new
Pen
(Color.DeepPink, true);
858
deepSkyBlue = new
Pen
(Color.DeepSkyBlue, true);
875
dimGray = new
Pen
(Color.DimGray, true);
892
dodgerBlue = new
Pen
(Color.DodgerBlue, true);
909
firebrick = new
Pen
(Color.Firebrick, true);
926
floralWhite = new
Pen
(Color.FloralWhite, true);
943
forestGreen = new
Pen
(Color.ForestGreen, true);
960
fuchia = new
Pen
(Color.Fuchsia, true);
977
gainsboro = new
Pen
(Color.Gainsboro, true);
994
ghostWhite = new
Pen
(Color.GhostWhite, true);
1011
gold = new
Pen
(Color.Gold, true);
1028
goldenrod = new
Pen
(Color.Goldenrod, true);
1045
gray = new
Pen
(Color.Gray, true);
1062
green = new
Pen
(Color.Green, true);
1079
greenYellow = new
Pen
(Color.GreenYellow, true);
1096
honeydew = new
Pen
(Color.Honeydew, true);
1113
hotPink = new
Pen
(Color.HotPink, true);
1130
indianRed = new
Pen
(Color.IndianRed, true);
1147
indigo = new
Pen
(Color.Indigo, true);
1164
ivory = new
Pen
(Color.Ivory, true);
1181
khaki = new
Pen
(Color.Khaki, true);
1198
lavender = new
Pen
(Color.Lavender, true);
1215
lavenderBlush = new
Pen
(Color.LavenderBlush, true);
1232
lawnGreen = new
Pen
(Color.LawnGreen, true);
1249
lemonChiffon = new
Pen
(Color.LemonChiffon, true);
1266
lightBlue = new
Pen
(Color.LightBlue, true);
1283
lightCoral = new
Pen
(Color.LightCoral, true);
1300
lightCyan = new
Pen
(Color.LightCyan, true);
1317
lightGoldenrodYellow = new
Pen
(Color.LightGoldenrodYellow, true);
1334
lightGreen = new
Pen
(Color.LightGreen, true);
1351
lightGray = new
Pen
(Color.LightGray, true);
1368
lightPink = new
Pen
(Color.LightPink, true);
1385
lightSalmon = new
Pen
(Color.LightSalmon, true);
1402
lightSeaGreen = new
Pen
(Color.LightSeaGreen, true);
1419
lightSkyBlue = new
Pen
(Color.LightSkyBlue, true);
1436
lightSlateGray = new
Pen
(Color.LightSlateGray, true);
1453
lightSteelBlue = new
Pen
(Color.LightSteelBlue, true);
1470
lightYellow = new
Pen
(Color.LightYellow, true);
1487
lime = new
Pen
(Color.Lime, true);
1504
limeGreen = new
Pen
(Color.LimeGreen, true);
1521
linen = new
Pen
(Color.Linen, true);
1538
magenta = new
Pen
(Color.Magenta, true);
1555
maroon = new
Pen
(Color.Maroon, true);
1572
mediumAquamarine = new
Pen
(Color.MediumAquamarine, true);
1589
mediumBlue = new
Pen
(Color.MediumBlue, true);
1606
mediumOrchid = new
Pen
(Color.MediumOrchid, true);
1623
mediumPurple = new
Pen
(Color.MediumPurple, true);
1640
mediumSeaGreen = new
Pen
(Color.MediumSeaGreen, true);
1657
mediumSlateBlue = new
Pen
(Color.MediumSlateBlue, true);
1674
mediumSpringGreen = new
Pen
(Color.MediumSpringGreen, true);
1691
mediumTurquoise = new
Pen
(Color.MediumTurquoise, true);
1708
mediumVioletRed = new
Pen
(Color.MediumVioletRed, true);
1725
midnightBlue = new
Pen
(Color.MidnightBlue, true);
1742
mintCream = new
Pen
(Color.MintCream, true);
1759
mistyRose = new
Pen
(Color.MistyRose, true);
1776
moccasin = new
Pen
(Color.Moccasin, true);
1793
navajoWhite = new
Pen
(Color.NavajoWhite, true);
1810
navy = new
Pen
(Color.Navy, true);
1827
oldLace = new
Pen
(Color.OldLace, true);
1844
olive = new
Pen
(Color.Olive, true);
1861
oliveDrab = new
Pen
(Color.OliveDrab, true);
1878
orange = new
Pen
(Color.Orange, true);
1895
orangeRed = new
Pen
(Color.OrangeRed, true);
1912
orchid = new
Pen
(Color.Orchid, true);
1929
paleGoldenrod = new
Pen
(Color.PaleGoldenrod, true);
1946
paleGreen = new
Pen
(Color.PaleGreen, true);
1963
paleTurquoise = new
Pen
(Color.PaleTurquoise, true);
1980
paleVioletRed = new
Pen
(Color.PaleVioletRed, true);
1997
papayaWhip = new
Pen
(Color.PapayaWhip, true);
2014
peachPuff = new
Pen
(Color.PeachPuff, true);
2031
peru = new
Pen
(Color.Peru, true);
2048
pink = new
Pen
(Color.Pink, true);
2065
plum = new
Pen
(Color.Plum, true);
2082
powderBlue = new
Pen
(Color.PowderBlue, true);
2099
purple = new
Pen
(Color.Purple, true);
2116
red = new
Pen
(Color.Red, true);
2133
rosyBrown = new
Pen
(Color.RosyBrown, true);
2150
royalBlue = new
Pen
(Color.RoyalBlue, true);
2167
saddleBrown = new
Pen
(Color.SaddleBrown, true);
2184
salmon = new
Pen
(Color.Salmon, true);
2201
sandyBrown = new
Pen
(Color.SandyBrown, true);
2218
seaGreen = new
Pen
(Color.SeaGreen, true);
2235
seaShell = new
Pen
(Color.SeaShell, true);
2252
sienna = new
Pen
(Color.Sienna, true);
2269
silver = new
Pen
(Color.Silver, true);
2286
skyBlue = new
Pen
(Color.SkyBlue, true);
2303
slateBlue = new
Pen
(Color.SlateBlue, true);
2320
slateGray = new
Pen
(Color.SlateGray, true);
2337
snow = new
Pen
(Color.Snow, true);
2354
springGreen = new
Pen
(Color.SpringGreen, true);
2371
steelBlue = new
Pen
(Color.SteelBlue, true);
2388
tan = new
Pen
(Color.Tan, true);
2405
teal = new
Pen
(Color.Teal, true);
2422
thistle = new
Pen
(Color.Thistle, true);
2439
tomato = new
Pen
(Color.Tomato, true);
2456
turquoise = new
Pen
(Color.Turquoise, true);
2473
violet = new
Pen
(Color.Violet, true);
2490
wheat = new
Pen
(Color.Wheat, true);
2507
white = new
Pen
(Color.White, true);
2524
whiteSmoke = new
Pen
(Color.WhiteSmoke, true);
2541
yellow = new
Pen
(Color.Yellow, true);
2558
yellowGreen = new
Pen
(Color.YellowGreen, true);
commonui\System\Drawing\SystemPens.cs (1)
385
systemPens[idx] = new
Pen
(c, true);
System.Web.DataVisualization (70)
Common\Annotation\CalloutAnnotation.cs (2)
1576
linePath.Widen(new
Pen
(Color.Black, this.LineWidth + 2));
1630
linePath.Widen(new
Pen
(Color.Black, this.LineWidth + 2));
Common\Borders3D\EmbedBorder.cs (2)
1092
Pen screwPen = new
Pen
(Color.FromArgb(128,255,255,255), 1);
1095
screwPen = new
Pen
(Color.FromArgb(128, Color.Black), 1);
Common\ChartTypes\AreaChart.cs (4)
374
using (Pen areaLinePen = new
Pen
(shadowBrush, 1))
421
using (Pen areaLinePen = new
Pen
(areaBrush, 1))
467
Pen pen = new
Pen
((pointBorderColor != Color.Empty) ? pointBorderColor : pointColor, pointBorderWidth);
554
mapAreaPath.Widen(new
Pen
(pointColor, pointBorderWidth + 2));
Common\ChartTypes\FastLineChart.cs (2)
311
Pen linePen = new
Pen
(series.Color, series.BorderWidth);
317
Pen emptyLinePen = new
Pen
(series.EmptyPointStyle.Color, series.EmptyPointStyle.BorderWidth);
Common\ChartTypes\FastPointChart.cs (2)
321
borderPen = new
Pen
(series.MarkerBorderColor, series.MarkerBorderWidth);
325
emptyBorderPen = new
Pen
(series.EmptyPointStyle.MarkerBorderColor, series.EmptyPointStyle.MarkerBorderWidth);
Common\ChartTypes\FunnelChart.cs (2)
1194
Pen pen = new
Pen
(point.BorderColor, point.BorderWidth);
1201
pen = new
Pen
(ChartGraphics.GetGradientColor( point.Color, Color.Black, 0.3 ), 1);
Common\ChartTypes\KagiChart.cs (1)
595
path.Widen(new
Pen
(point.Color, point.BorderWidth + 2));
Common\ChartTypes\LineChart.cs (3)
168
private Pen _linePen = new
Pen
(Color.Black);
756
Pen shadowPen = new
Pen
((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb((useBorderColor) ? point.BorderColor.A/2 : point.Color.A/2, series.ShadowColor), pointBorderWidth);
928
path.Widen(new
Pen
(point.Color, pointBorderWidth + 2));
Common\ChartTypes\PieChart.cs (4)
2713
Pen pen = new
Pen
(penColor, point.BorderWidth);
2720
backSlicePen = new
Pen
(point.Color);
2727
Pen penCurve = new
Pen
(penCurveColor, point.BorderWidth);
3009
using (Pen labelPen = new
Pen
(pieLineColor, pen.Width))
Common\ChartTypes\PointAndFigureChart.cs (2)
872
new
Pen
(ser.ShadowColor, point.BorderWidth),
881
new
Pen
(point.Color, point.BorderWidth),
Common\ChartTypes\RadarChart.cs (1)
909
linePath.Widen(new
Pen
(Color.Black, borderWidth + 2));
Common\ChartTypes\RangeChart.cs (5)
534
using (Pen areaLinePen = new
Pen
(shadowBrush, 1))
581
Pen areaLinePen = new
Pen
(areaBrush, 1);
1741
graph.DrawPath(new
Pen
(surfaceBorderColor, 1), resultPath);
1745
graph.DrawPath(new
Pen
(polygonColor, 1), resultPath);
1749
thickBorderPen = new
Pen
(surfaceBorderColor, borderWidth);
Common\ChartTypes\StackedAreaChart.cs (2)
662
Pen areaLinePen = new
Pen
(areaBrush, 1);
726
linePath.Widen(new
Pen
(point.Color, point.BorderWidth + 2));
Common\ChartTypes\StepLineChart.cs (2)
136
path.Widen(new
Pen
(point.Color, point.BorderWidth + 2));
172
path.Widen(new
Pen
(point.Color, point.BorderWidth + 2));
Common\General\Axis.cs (2)
2092
using (Pen pen = new
Pen
(Color.Black, width + 2))
2164
Pen circlePen = new
Pen
(color, width);
Common\General\AxisScaleSegments.cs (2)
461
using(Pen shadowPen = new
Pen
(color, 1))
478
using(Pen pen = new
Pen
(this.axis.ScaleBreakStyle.LineColor, this.axis.ScaleBreakStyle.LineWidth))
Common\General\Chart.cs (1)
374
Pen pen = new
Pen
(backGroundColor);
Common\General\ChartGraphics.cs (15)
824
this.DrawPolygon(new
Pen
(markerBorderColor, markerBorderSize), points);
879
this.DrawEllipse(new
Pen
(markerBorderColor, markerBorderSize), rect);
891
this.DrawRectangle(new
Pen
(markerBorderColor, markerBorderSize), (int)Math.Round(rect.X, 0), (int)Math.Round(rect.Y, 0), (int)Math.Round(rect.Width, 0), (int)Math.Round(rect.Height, 0));
997
this.DrawPolygon(new
Pen
(markerBorderColor, markerBorderSize), points);
1055
this.DrawPolygon(new
Pen
(markerBorderColor, markerBorderSize), points);
1119
this.DrawPolygon(new
Pen
(markerBorderColor, markerBorderSize), points);
1536
using(Pen pen = new
Pen
(borderColor, borderWidth))
2424
Pen markPen = new
Pen
(
2605
Pen markPen = new
Pen
(
3085
using(Pen penDark = new
Pen
(Color.FromArgb(20, Color.Black), 1))
3109
using(Pen pen = new
Pen
(Color.FromArgb(40, Color.White), 1))
3155
using(Pen penDark = new
Pen
(Color.FromArgb(20, Color.Black), 1))
3159
using(Pen pen = new
Pen
(Color.FromArgb(40, Color.White), 1))
5051
borderPen = new
Pen
( borderColor, borderWidth );
5623
_pen = new
Pen
(Color.Black);
Common\General\ChartGraphics3D.cs (14)
1263
Pen thinLinePen = new
Pen
(surfaceBorderColor, 1);
1275
DrawPolygon(new
Pen
(polygonColor, 1), polygonPoints);
1279
thickBorderPen = new
Pen
(surfaceBorderColor, borderWidth);
2120
Pen thinBorderPen = new
Pen
(surfaceBorderColor, 1);
2145
Pen linePen = new
Pen
(surfaceBorderColor, borderWidth);
2183
DrawPolygon(new
Pen
(polygonColor, 1), polygonPoints);
2199
thickBorderPen = new
Pen
(surfaceBorderColor, borderWidth);
3030
using (Pen pen = new
Pen
(borderColor, borderWidth))
3174
using(Pen penDark = new
Pen
(Color.FromArgb(20, Color.Black), 1))
3184
using(Pen pen = new
Pen
(Color.FromArgb(40, Color.White), 1))
3216
using(Pen penDark = new
Pen
(Color.FromArgb(20, Color.Black), 1))
3220
using(Pen pen = new
Pen
(Color.FromArgb(40, Color.White), 1))
3614
graph.DrawEllipse(new
Pen
(markerBorderColor, markerBorderSize), rect);
4296
using (Pen pen = new
Pen
(borderColor, borderWidth))
Common\General\SmartLabels.cs (1)
923
Pen calloutPen = new
Pen
(smartLabelStyle.CalloutLineColor, smartLabelStyle.CalloutLineWidth);
Common\General\Title.cs (1)
1748
using (Pen pen = new
Pen
(foreColor, 1))
System.Web.Mobile (2)
UI\MobileControls\Design\Util\ImageCreator.cs (2)
82
Pen controlDarkPen = new
Pen
(SystemColors.ControlDark),
83
windowPen = new
Pen
(SystemColors.Window)
System.Windows.Forms (103)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
606
pen = new
Pen
(c);
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (3)
96
using (Pen windowFrame = new
Pen
(colors.windowFrame),
97
highlight = new
Pen
(colors.highlight),
98
buttonShadow = new
Pen
(colors.buttonShadow)) {
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (3)
43
using (Pen dark = new
Pen
(colors.buttonShadow),
44
light = new
Pen
(colors.buttonFace),
45
lightlight = new
Pen
(colors.highlight)) {
winforms\Managed\System\WinForms\ComboBox.cs (3)
6003
using (Pen outerBorderPen = new
Pen
(outerBorderColor)) {
6021
using (Pen innerBorderPen = new
Pen
(innerBorderColor)) {
6034
using (Pen borderPen = new
Pen
(borderPenColor)) {
winforms\Managed\System\WinForms\Control.cs (1)
9736
using (Pen pen = new
Pen
(Color.Red, penThickness)) {
winforms\Managed\System\WinForms\ControlPaint.cs (34)
678
pen = new
Pen
(topColor);
686
pen = new
Pen
(topColor);
694
pen = new
Pen
(topColor);
704
pen = new
Pen
(topHLSColor.Darker(1.0f - ((float)i)*inc));
715
pen = new
Pen
(topHLSColor.Lighter(1.0f - ((float)i)*inc));
733
pen = new
Pen
(leftColor);
741
pen = new
Pen
(leftColor);
749
pen = new
Pen
(leftColor);
759
pen = new
Pen
(leftHLSColor.Darker(1.0f - ((float)i)*inc));
769
pen = new
Pen
(leftHLSColor.Lighter(1.0f - ((float)i)*inc));
787
pen = new
Pen
(bottomColor);
795
pen = new
Pen
(bottomColor);
803
pen = new
Pen
(bottomColor);
813
pen = new
Pen
(bottomHLSColor.Lighter(1.0f - ((float)i)*inc));
824
pen = new
Pen
(bottomHLSColor.Darker(1.0f - ((float)i)*inc));
842
pen = new
Pen
(rightColor);
850
pen = new
Pen
(rightColor);
858
pen = new
Pen
(rightColor);
868
pen = new
Pen
(rightHLSColor.Lighter(1.0f - ((float)i)*inc));
879
pen = new
Pen
(rightHLSColor.Darker(1.0f - ((float)i)*inc));
990
Pen pen = new
Pen
(hls.Darker(1.0f));
1028
Pen pen = stockColor ? SystemPens.ControlLightLight : new
Pen
(hls.Lighter(1.0f));
1094
pen = new
Pen
(color);
1907
using( Pen bright = new
Pen
(LightLight(backColor)) ) {
1908
using ( Pen dark = new
Pen
(Dark(backColor)) ) {
1986
using (Pen borderPen = new
Pen
(System.Windows.Forms.VisualStyles.VisualStyleInformation.TextControlBorder)) {
2231
focusPen = new
Pen
(brush, 1);
2240
focusPenInvert = new
Pen
(brush, 1);
2426
using (Pen pen = new
Pen
(SystemColors.Window)) {
2435
using (Pen pen = new
Pen
(SystemColors.Window)) {
2458
using (Pen pen = new
Pen
(SystemColors.Window)) {
2472
using (Pen pen = new
Pen
(SystemColors.Window)) {
2484
using (Pen pen = new
Pen
(SystemColors.Window)) {
2499
using (Pen pen = new
Pen
(SystemColors.Window)) {
winforms\Managed\System\WinForms\DataGrid.cs (4)
662
return new
Pen
(SystemColors.ControlText);
2185
headerForePen = new
Pen
(value);
7253
Pen pen1 = new
Pen
(this.BackgroundBrush);
7254
Pen pen2 = new
Pen
(this.myGridTable.BackBrush);
winforms\Managed\System\WinForms\DataGridBoolColumn.cs (1)
411
System.Drawing.Pen pen = new System.Drawing.
Pen
(selectionBrush);
winforms\Managed\System\WinForms\DataGridCaption.cs (1)
132
return new
Pen
(SystemColors.ActiveCaptionText);
winforms\Managed\System\WinForms\DataGridParentRows.cs (1)
955
g.DrawLine(new
Pen
(SystemColors.ControlDark),
winforms\Managed\System\WinForms\DataGridTable.cs (2)
354
return new
Pen
(SystemColors.ControlText);
733
headerForePen = new
Pen
(value);
winforms\Managed\System\WinForms\DataGridView.cs (2)
466
this.gridPen = new
Pen
(DefaultGridColor);
3339
this.gridPen = new
Pen
(value);
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1391
using (Pen pen = new
Pen
(foreBrush.Color))
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
2362
pen= new
Pen
(highlight);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
6853
pen = new
Pen
(color);
winforms\Managed\System\WinForms\GroupBox.cs (3)
557
Pen light = new
Pen
(ControlPaint.Light(backColor, 1.0f));
558
Pen dark = new
Pen
(ControlPaint.Dark(backColor, 0f));
638
boxPen = new
Pen
(boxColor);
winforms\Managed\System\WinForms\GroupBoxRenderer.cs (4)
225
Pen light = new
Pen
(ControlPaint.Light(backColor, 1.0f));
226
Pen dark = new
Pen
(ControlPaint.Dark(backColor, 0f));
281
Pen light = new
Pen
(SystemColors.ControlLight);
282
Pen dark = new
Pen
(SystemColors.ControlDark);
winforms\Managed\System\WinForms\ListBox.cs (1)
2281
using (Pen pen = new
Pen
(VisualStyleInformation.TextControlBorder)) {
winforms\Managed\System\WinForms\ListView.cs (1)
6232
g.DrawRectangle(new
Pen
(VisualStyleInformation.TextControlBorder), rect);
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
3182
using (Pen pen = new
Pen
(VisualStyleInformation.TextControlBorder)) {
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
1735
using (Pen pen = new
Pen
(SystemColors.ControlDark))
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
5069
using (Pen borderPen = new
Pen
(BorderColor, 1)) {
winforms\Managed\System\WinForms\PropertyGridInternal\CategoryGridEntry.cs (2)
228
using (Pen topLinePen = new System.Drawing.
Pen
(ownerGrid.CategorySplitterColor, 1)) {
239
using (Pen topLinePen = new System.Drawing.
Pen
(ownerGrid.CategorySplitterColor, 1)) {
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (2)
1894
Pen linePen = new
Pen
(gridHost.GetLineColor());
2060
p = new
Pen
(penColor);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (4)
3506
Pen splitterPen = new
Pen
(ownerGrid.LineColor, GetSplitterWidth());
3513
Pen linePen = new
Pen
(g.GetNearestColor(ownerGrid.LineColor));
3565
using (Pen borderPen = new
Pen
(ownerGrid.ViewBorderColor, 1)) {
5920
Pen pen = new
Pen
(SystemColors.ControlDark, 1);
winforms\Managed\System\WinForms\TableLayoutPanel.cs (1)
472
using (Pen pen = new
Pen
(SystemColors.Window)) {
winforms\Managed\System\WinForms\TextBox.cs (1)
850
using (Pen pen = new
Pen
(VisualStyleInformation.TextControlBorder)) {
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (1)
259
using (Pen p = new
Pen
(SystemColors.ButtonShadow)) {
winforms\Managed\System\WinForms\ToolStripProfessionalLowResolutionRenderer.cs (1)
45
using( Pen p = new
Pen
(SystemColors.ButtonShadow) ) {
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (12)
334
using (Pen p = new
Pen
(ColorTable.ButtonSelectedBorder)) {
346
using (Pen p = new
Pen
(ColorTable.ButtonSelectedBorder)) {
378
using (Pen p = new
Pen
(ColorTable.ToolStripBorder)) {
522
using (Pen p = new
Pen
(borderColor)) {
565
using (Pen p = new
Pen
(borderColor)) {
920
using (Pen p = new
Pen
(ColorTable.ButtonSelectedBorder)) {
946
using (Pen p = new
Pen
(ColorTable.MenuBorder)) {
1038
using (Pen p = new
Pen
(ColorTable.MenuBorder)) {
1101
using (Pen p = new
Pen
(overflowBottomLeftShadow/*Color.HotPink*/)) {
1259
Pen foreColorPen = new
Pen
(foreColor);
1260
Pen highlightColorPen = new
Pen
(highlightColor);
1395
using (Pen p = new
Pen
(ColorTable.ButtonSelectedBorder)) {
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (3)
88
pen = new
Pen
(color);
233
e.Graphics.DrawRectangle(new
Pen
(SystemColors.ControlDark), bounds);
412
using (Pen p = new
Pen
(borderColor)) {
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
880
using (Pen p = new
Pen
(outerBorderColor)) {
winforms\Managed\System\WinForms\TreeView.cs (1)
3138
g.DrawRectangle(new
Pen
(VisualStyleInformation.TextControlBorder), rect);
winforms\Managed\System\WinForms\UpDownBase.cs (3)
824
using (Pen pen = new
Pen
(BackColor)) {
836
using (Pen pen = new
Pen
(BackColor, Enabled ? 2 : 1))
1734
using (Pen pen = new
Pen
(this.parent.BackColor)) {
System.Windows.Forms.DataVisualization (70)
Common\Annotation\CalloutAnnotation.cs (2)
1576
linePath.Widen(new
Pen
(Color.Black, this.LineWidth + 2));
1630
linePath.Widen(new
Pen
(Color.Black, this.LineWidth + 2));
Common\Borders3D\EmbedBorder.cs (2)
1092
Pen screwPen = new
Pen
(Color.FromArgb(128,255,255,255), 1);
1095
screwPen = new
Pen
(Color.FromArgb(128, Color.Black), 1);
Common\ChartTypes\AreaChart.cs (4)
374
using (Pen areaLinePen = new
Pen
(shadowBrush, 1))
421
using (Pen areaLinePen = new
Pen
(areaBrush, 1))
467
Pen pen = new
Pen
((pointBorderColor != Color.Empty) ? pointBorderColor : pointColor, pointBorderWidth);
554
mapAreaPath.Widen(new
Pen
(pointColor, pointBorderWidth + 2));
Common\ChartTypes\FastLineChart.cs (2)
311
Pen linePen = new
Pen
(series.Color, series.BorderWidth);
317
Pen emptyLinePen = new
Pen
(series.EmptyPointStyle.Color, series.EmptyPointStyle.BorderWidth);
Common\ChartTypes\FastPointChart.cs (2)
321
borderPen = new
Pen
(series.MarkerBorderColor, series.MarkerBorderWidth);
325
emptyBorderPen = new
Pen
(series.EmptyPointStyle.MarkerBorderColor, series.EmptyPointStyle.MarkerBorderWidth);
Common\ChartTypes\FunnelChart.cs (2)
1194
Pen pen = new
Pen
(point.BorderColor, point.BorderWidth);
1201
pen = new
Pen
(ChartGraphics.GetGradientColor( point.Color, Color.Black, 0.3 ), 1);
Common\ChartTypes\KagiChart.cs (1)
595
path.Widen(new
Pen
(point.Color, point.BorderWidth + 2));
Common\ChartTypes\LineChart.cs (3)
168
private Pen _linePen = new
Pen
(Color.Black);
756
Pen shadowPen = new
Pen
((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb((useBorderColor) ? point.BorderColor.A/2 : point.Color.A/2, series.ShadowColor), pointBorderWidth);
928
path.Widen(new
Pen
(point.Color, pointBorderWidth + 2));
Common\ChartTypes\PieChart.cs (4)
2713
Pen pen = new
Pen
(penColor, point.BorderWidth);
2720
backSlicePen = new
Pen
(point.Color);
2727
Pen penCurve = new
Pen
(penCurveColor, point.BorderWidth);
3009
using (Pen labelPen = new
Pen
(pieLineColor, pen.Width))
Common\ChartTypes\PointAndFigureChart.cs (2)
872
new
Pen
(ser.ShadowColor, point.BorderWidth),
881
new
Pen
(point.Color, point.BorderWidth),
Common\ChartTypes\RadarChart.cs (1)
909
linePath.Widen(new
Pen
(Color.Black, borderWidth + 2));
Common\ChartTypes\RangeChart.cs (5)
534
using (Pen areaLinePen = new
Pen
(shadowBrush, 1))
581
Pen areaLinePen = new
Pen
(areaBrush, 1);
1741
graph.DrawPath(new
Pen
(surfaceBorderColor, 1), resultPath);
1745
graph.DrawPath(new
Pen
(polygonColor, 1), resultPath);
1749
thickBorderPen = new
Pen
(surfaceBorderColor, borderWidth);
Common\ChartTypes\StackedAreaChart.cs (2)
662
Pen areaLinePen = new
Pen
(areaBrush, 1);
726
linePath.Widen(new
Pen
(point.Color, point.BorderWidth + 2));
Common\ChartTypes\StepLineChart.cs (2)
136
path.Widen(new
Pen
(point.Color, point.BorderWidth + 2));
172
path.Widen(new
Pen
(point.Color, point.BorderWidth + 2));
Common\General\Axis.cs (2)
2092
using (Pen pen = new
Pen
(Color.Black, width + 2))
2164
Pen circlePen = new
Pen
(color, width);
Common\General\AxisScaleSegments.cs (2)
461
using(Pen shadowPen = new
Pen
(color, 1))
478
using(Pen pen = new
Pen
(this.axis.ScaleBreakStyle.LineColor, this.axis.ScaleBreakStyle.LineWidth))
Common\General\Chart.cs (1)
374
Pen pen = new
Pen
(backGroundColor);
Common\General\ChartGraphics.cs (15)
824
this.DrawPolygon(new
Pen
(markerBorderColor, markerBorderSize), points);
879
this.DrawEllipse(new
Pen
(markerBorderColor, markerBorderSize), rect);
891
this.DrawRectangle(new
Pen
(markerBorderColor, markerBorderSize), (int)Math.Round(rect.X, 0), (int)Math.Round(rect.Y, 0), (int)Math.Round(rect.Width, 0), (int)Math.Round(rect.Height, 0));
997
this.DrawPolygon(new
Pen
(markerBorderColor, markerBorderSize), points);
1055
this.DrawPolygon(new
Pen
(markerBorderColor, markerBorderSize), points);
1119
this.DrawPolygon(new
Pen
(markerBorderColor, markerBorderSize), points);
1536
using(Pen pen = new
Pen
(borderColor, borderWidth))
2424
Pen markPen = new
Pen
(
2605
Pen markPen = new
Pen
(
3085
using(Pen penDark = new
Pen
(Color.FromArgb(20, Color.Black), 1))
3109
using(Pen pen = new
Pen
(Color.FromArgb(40, Color.White), 1))
3155
using(Pen penDark = new
Pen
(Color.FromArgb(20, Color.Black), 1))
3159
using(Pen pen = new
Pen
(Color.FromArgb(40, Color.White), 1))
5051
borderPen = new
Pen
( borderColor, borderWidth );
5623
_pen = new
Pen
(Color.Black);
Common\General\ChartGraphics3D.cs (14)
1263
Pen thinLinePen = new
Pen
(surfaceBorderColor, 1);
1275
DrawPolygon(new
Pen
(polygonColor, 1), polygonPoints);
1279
thickBorderPen = new
Pen
(surfaceBorderColor, borderWidth);
2120
Pen thinBorderPen = new
Pen
(surfaceBorderColor, 1);
2145
Pen linePen = new
Pen
(surfaceBorderColor, borderWidth);
2183
DrawPolygon(new
Pen
(polygonColor, 1), polygonPoints);
2199
thickBorderPen = new
Pen
(surfaceBorderColor, borderWidth);
3030
using (Pen pen = new
Pen
(borderColor, borderWidth))
3174
using(Pen penDark = new
Pen
(Color.FromArgb(20, Color.Black), 1))
3184
using(Pen pen = new
Pen
(Color.FromArgb(40, Color.White), 1))
3216
using(Pen penDark = new
Pen
(Color.FromArgb(20, Color.Black), 1))
3220
using(Pen pen = new
Pen
(Color.FromArgb(40, Color.White), 1))
3614
graph.DrawEllipse(new
Pen
(markerBorderColor, markerBorderSize), rect);
4296
using (Pen pen = new
Pen
(borderColor, borderWidth))
Common\General\SmartLabels.cs (1)
923
Pen calloutPen = new
Pen
(smartLabelStyle.CalloutLineColor, smartLabelStyle.CalloutLineWidth);
Common\General\Title.cs (1)
1748
using (Pen pen = new
Pen
(foreColor, 1))
System.Workflow.Activities (3)
Designers\StateDesigner.cs (1)
2692
this._connectorPen = new
Pen
(this._connectorColor, BorderWidth);
Designers\StateDesignerConnector.cs (2)
146
using (Pen lineEditPen = new
Pen
(WorkflowTheme.CurrentTheme.AmbientTheme.SelectionForeColor, 1))
177
using (Pen lineSelectionPen = new
Pen
(WorkflowTheme.CurrentTheme.AmbientTheme.SelectionForeColor, 1))
System.Workflow.ComponentModel (21)
AuthoringOM\Design\Connector.cs (2)
455
using (Pen lineSelectionPen = new
Pen
(WorkflowTheme.CurrentTheme.AmbientTheme.SelectionForeColor, 1))
482
using (Pen editableConnectorPen = new
Pen
(e.AmbientTheme.SelectionForegroundPen.Color, e.AmbientTheme.SelectionForegroundPen.Width))
AuthoringOM\Design\DesignerHelpers.cs (3)
297
using (Pen lightPen = new
Pen
(Color.FromArgb(alpha, SystemColors.ControlLightLight)))
298
using (Pen darkPen = new
Pen
(Color.FromArgb(alpha, SystemColors.ControlDark)))
299
using (Pen darkdarkPen = new
Pen
(Color.FromArgb(alpha, SystemColors.ControlDarkDark)))
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
555
using (Pen framePen = new
Pen
(Color.Black, 1))
AuthoringOM\Design\Themes.cs (15)
1263
this.foregroundPen = new
Pen
(this.foreColor, BorderWidth);
1288
this.borderPen = new
Pen
(this.borderColor, BorderWidth);
1428
internal static readonly Pen ExpandButtonForegoundPen = new
Pen
(Color.Black, 1);
1429
internal static readonly Pen ExpandButtonBorderPen = new
Pen
(Color.FromArgb(123, 154, 181), 1);
1870
this.previewBorderPen = new
Pen
(this.previewBorderColor, BorderWidth);
1936
internal static readonly Pen SmartTagBorderPen = new
Pen
(Color.Black, 1);
1937
internal static readonly Pen MagnifierPen = new
Pen
(Color.Black, 2);
1938
internal static readonly Pen WorkflowBorderPen = new
Pen
(Color.FromArgb(127, 157, 185), 1);
2856
this.majorGridPen = new
Pen
(this.gridColor, 1);
2884
this.minorGridPen = new
Pen
(minorGridColor, 1);
2914
this.selectionPatternPen = new
Pen
(this.selectionPatternColor, 1);
2929
this.selectionForegroundPen = new
Pen
(this.selectionForeColor, 1);
2953
this.dropIndicatorPen = new
Pen
(this.dropIndicatorColor, BorderWidth);
2978
this.foregroundPen = new
Pen
(this.foreColor, 1);
2992
this.commentIndicatorPen = new
Pen
(this.commentIndicatorColor, 1);
System.WorkflowServices (3)
System\Workflow\Activities\Design\GradientPanel.cs (2)
102
e.Graphics.DrawPath(new
Pen
(this.BorderColor), RoundedRect(frameRect));
109
using (Pen shadowPen = new
Pen
(Color.FromArgb(shadowIntensity, 0, 0, 0)))
System\Workflow\ComponentModel\Design\HighlightOverlayGlyph.cs (1)
67
using (Pen shadowPen = new
Pen
(Color.FromArgb(shadowIntensity, 0, 0, 0)))
920 references to Pen
System.Drawing (560)
commonui\System\Drawing\Advanced\ColorAdjustType.cs (1)
48
/// Defines color adjustment information for <see cref='System.Drawing.
Pen
'/> objects.
commonui\System\Drawing\Advanced\DashStyle.cs (1)
20
/// Specifies the style of dashed lines drawn with a <see cref='System.Drawing.
Pen
'/> .
commonui\System\Drawing\Advanced\GraphicsPath.cs (21)
558
/// specified <see cref='System.Drawing.
Pen
'/> at the specified location is contained
561
public bool IsOutlineVisible(float x, float y,
Pen
pen) {
568
/// Indicates whether an outline drawn by the specified <see cref='System.Drawing.
Pen
'/> at the
572
public bool IsOutlineVisible(PointF point,
Pen
pen) {
579
/// Indicates whether an outline drawn by the specified <see cref='System.Drawing.
Pen
'/> at the
584
public bool IsOutlineVisible(float x, float y,
Pen
pen, Graphics graphics) {
592
/// <see cref='System.Drawing.
Pen
'/> at the specified
597
public bool IsOutlineVisible(PointF pt,
Pen
pen, Graphics graphics) {
620
/// Indicates whether an outline drawn by the specified <see cref='System.Drawing.
Pen
'/> at the
624
public bool IsOutlineVisible(int x, int y,
Pen
pen) {
631
/// Indicates whether an outline drawn by the specified <see cref='System.Drawing.
Pen
'/> at the
635
public bool IsOutlineVisible(Point point,
Pen
pen) {
642
/// Indicates whether an outline drawn by the specified <see cref='System.Drawing.
Pen
'/> at the
647
public bool IsOutlineVisible(int x, int y,
Pen
pen, Graphics graphics) {
655
/// <see cref='System.Drawing.
Pen
'/> at the specified
660
public bool IsOutlineVisible(Point pt,
Pen
pen, Graphics graphics) {
1489
/// transformed by the specified <see cref='System.Drawing.Drawing2D.Matrix'/>. and drawn with the specified <see cref='System.Drawing.
Pen
'/>.
1492
public RectangleF GetBounds(Matrix matrix,
Pen
pen) {
1561
public void Widen(
Pen
pen) {
1570
public void Widen(
Pen
pen, Matrix matrix) {
1579
public void Widen(
Pen
pen,
commonui\System\Drawing\Advanced\LineCap.cs (1)
20
/// styles with which a <see cref='System.Drawing.
Pen
'/> can end a line.
commonui\System\Drawing\Advanced\PenAlignment.cs (6)
17
/// Specifies the algnment of a <see cref='System.Drawing.
Pen
'/> in relation
25
/// Specifies that the <see cref='System.Drawing.
Pen
'/> is positioned at the center of
33
/// Specifies that the <see cref='System.Drawing.
Pen
'/> is positioned on the insede of
41
/// Specifies that the <see cref='System.Drawing.
Pen
'/> is positioned on the outside
49
/// Specifies that the <see cref='System.Drawing.
Pen
'/> is positioned to the left of
57
/// Specifies that the <see cref='System.Drawing.
Pen
'/> is positioned to the right of
commonui\System\Drawing\Advanced\PenType.cs (1)
18
/// Specifies the type of fill a <see cref='System.Drawing.
Pen
'/> uses to
commonui\System\Drawing\DashCap.cs (1)
20
/// styles with which a <see cref='System.Drawing.
Pen
'/> can end a line.
commonui\System\Drawing\Graphics.cs (42)
1148
public void DrawLine(
Pen
pen, float x1, float y1, float x2, float y2) {
1165
public void DrawLine(
Pen
pen, PointF pt1, PointF pt2) {
1176
public void DrawLines(
Pen
pen, PointF[] points) {
1204
public void DrawLine(
Pen
pen, int x1, int y1, int x2, int y2) {
1221
public void DrawLine(
Pen
pen, Point pt1, Point pt2) {
1232
public void DrawLines(
Pen
pen, Point[] points) {
1258
public void DrawArc(
Pen
pen, float x, float y, float width, float height,
1277
public void DrawArc(
Pen
pen, RectangleF rect, float startAngle, float sweepAngle) {
1288
public void DrawArc(
Pen
pen, int x, int y, int width, int height,
1306
public void DrawArc(
Pen
pen, Rectangle rect, float startAngle, float sweepAngle) {
1317
public void DrawBezier(
Pen
pen, float x1, float y1, float x2, float y2,
1337
public void DrawBezier(
Pen
pen, PointF pt1, PointF pt2, PointF pt3, PointF pt4) {
1348
public void DrawBeziers(
Pen
pen, PointF[] points) {
1374
public void DrawBezier(
Pen
pen, Point pt1, Point pt2, Point pt3, Point pt4) {
1385
public void DrawBeziers(
Pen
pen, Point[] points) {
1410
public void DrawRectangle(
Pen
pen, Rectangle rect) {
1422
public void DrawRectangle(
Pen
pen, float x, float y, float width, float height) {
1441
public void DrawRectangle(
Pen
pen, int x, int y, int width, int height) {
1459
public void DrawRectangles(
Pen
pen, RectangleF[] rects) {
1486
public void DrawRectangles(
Pen
pen, Rectangle[] rects) {
1515
public void DrawEllipse(
Pen
pen, RectangleF rect) {
1526
public void DrawEllipse(
Pen
pen, float x, float y, float width, float height) {
1545
public void DrawEllipse(
Pen
pen, Rectangle rect) {
1555
public void DrawEllipse(
Pen
pen, int x, int y, int width, int height) {
1574
public void DrawPie(
Pen
pen, RectangleF rect, float startAngle, float sweepAngle) {
1586
public void DrawPie(
Pen
pen, float x, float y, float width,
1606
public void DrawPie(
Pen
pen, Rectangle rect, float startAngle, float sweepAngle) {
1618
public void DrawPie(
Pen
pen, int x, int y, int width, int height,
1636
public void DrawPolygon(
Pen
pen, PointF[] points) {
1661
public void DrawPolygon(
Pen
pen, Point[] points) {
1687
public void DrawPath(
Pen
pen, GraphicsPath path) {
1708
public void DrawCurve(
Pen
pen, PointF[] points) {
1734
public void DrawCurve(
Pen
pen, PointF[] points, float tension) {
1757
public void DrawCurve(
Pen
pen, PointF[] points, int offset, int numberOfSegments) {
1768
public void DrawCurve(
Pen
pen, PointF[] points, int offset, int numberOfSegments,
1796
public void DrawCurve(
Pen
pen, Point[] points) {
1821
public void DrawCurve(
Pen
pen, Point[] points, float tension) {
1846
public void DrawCurve(
Pen
pen, Point[] points, int offset, int numberOfSegments,
1875
public void DrawClosedCurve(
Pen
pen, PointF[] points) {
1901
public void DrawClosedCurve(
Pen
pen, PointF[] points, float tension, FillMode fillmode) {
1927
public void DrawClosedCurve(
Pen
pen, Point[] points) {
1952
public void DrawClosedCurve(
Pen
pen, Point[] points, float tension, FillMode fillmode) {
commonui\System\Drawing\Pen.cs (26)
57
/// class with the specified <see cref='System.Drawing.
Pen
.Color'/>.
68
/// Initializes a new instance of the <see cref='System.Drawing.
Pen
'/> class with the specified
69
/// <see cref='System.Drawing.
Pen
.Color'/> and <see cref='System.Drawing.
Pen
.Width'/>.
97
/// specified <see cref='System.Drawing.
Pen
.Brush'/>.
108
/// Initializes a new instance of the <see cref='System.Drawing.
Pen
'/> class with
158
/// Creates an exact copy of this <see cref='System.Drawing.
Pen
'/>.
180
/// Cleans up Windows resources for this <see cref='System.Drawing.
Pen
'/>.
233
/// Cleans up Windows resources for this <see cref='System.Drawing.
Pen
'/>.
244
/// Gets or sets the width of this <see cref='System.Drawing.
Pen
'/>.
279
/// cap used to end lines drawn by this <see cref='System.Drawing.
Pen
'/>.
296
/// beginning of lines drawn with this <see cref='System.Drawing.
Pen
'/>.
342
/// lines drawn with this <see cref='System.Drawing.
Pen
'/>.
388
/// beginning or end of dashed lines drawn with this <see cref='System.Drawing.
Pen
'/>.
428
/// two overlapping lines drawn with this <see cref='System.Drawing.
Pen
'/>.
466
/// drawn with this <see cref='System.Drawing.
Pen
'/>.
500
/// drawn with this <see cref='System.Drawing.
Pen
'/>.
562
/// the alignment for objects drawn with this <see cref='System.Drawing.
Pen
'/>.
602
/// or sets the geometrical transform for objects drawn with this <see cref='System.Drawing.
Pen
'/>.
636
/// <see cref='System.Drawing.
Pen
'/> to
650
/// <see cref='System.Drawing.
Pen
'/> by
662
/// <see cref='System.Drawing.
Pen
'/> by
767
/// <see cref='System.Drawing.
Pen
'/>.
786
/// Gets or sets the color of this <see cref='System.Drawing.
Pen
'/>.
826
/// determines attributes of this <see cref='System.Drawing.
Pen
'/>.
893
/// lines drawn with this <see cref='System.Drawing.
Pen
'/>.
commonui\System\Drawing\Pens.cs (423)
172
public static
Pen
Transparent {
176
Pen
transparent = (
Pen
)SafeNativeMethods.Gdip.ThreadData[TransparentKey];
189
public static
Pen
AliceBlue {
193
Pen
aliceBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[AliceBlueKey];
206
public static
Pen
AntiqueWhite {
210
Pen
antiqueWhite = (
Pen
)SafeNativeMethods.Gdip.ThreadData[AntiqueWhiteKey];
223
public static
Pen
Aqua {
227
Pen
aqua = (
Pen
)SafeNativeMethods.Gdip.ThreadData[AquaKey];
240
public static
Pen
Aquamarine {
244
Pen
aquamarine = (
Pen
)SafeNativeMethods.Gdip.ThreadData[AquamarineKey];
257
public static
Pen
Azure {
261
Pen
azure = (
Pen
)SafeNativeMethods.Gdip.ThreadData[AzureKey];
274
public static
Pen
Beige {
278
Pen
beige = (
Pen
)SafeNativeMethods.Gdip.ThreadData[BeigeKey];
291
public static
Pen
Bisque {
295
Pen
bisque = (
Pen
)SafeNativeMethods.Gdip.ThreadData[BisqueKey];
308
public static
Pen
Black {
312
Pen
black = (
Pen
)SafeNativeMethods.Gdip.ThreadData[BlackKey];
325
public static
Pen
BlanchedAlmond {
329
Pen
blanchedAlmond = (
Pen
)SafeNativeMethods.Gdip.ThreadData[BlanchedAlmondKey];
342
public static
Pen
Blue {
346
Pen
blue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[BlueKey];
359
public static
Pen
BlueViolet {
363
Pen
blueViolet = (
Pen
)SafeNativeMethods.Gdip.ThreadData[BlueVioletKey];
376
public static
Pen
Brown {
380
Pen
brown = (
Pen
)SafeNativeMethods.Gdip.ThreadData[BrownKey];
393
public static
Pen
BurlyWood {
397
Pen
burlyWood = (
Pen
)SafeNativeMethods.Gdip.ThreadData[BurlyWoodKey];
410
public static
Pen
CadetBlue {
414
Pen
cadetBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[CadetBlueKey];
427
public static
Pen
Chartreuse {
431
Pen
chartreuse = (
Pen
)SafeNativeMethods.Gdip.ThreadData[ChartreuseKey];
444
public static
Pen
Chocolate {
448
Pen
chocolate = (
Pen
)SafeNativeMethods.Gdip.ThreadData[ChocolateKey];
461
public static
Pen
Coral {
465
Pen
choral = (
Pen
)SafeNativeMethods.Gdip.ThreadData[ChoralKey];
478
public static
Pen
CornflowerBlue {
482
Pen
cornflowerBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[CornflowerBlueKey];
495
public static
Pen
Cornsilk {
499
Pen
cornsilk = (
Pen
)SafeNativeMethods.Gdip.ThreadData[CornsilkKey];
512
public static
Pen
Crimson {
516
Pen
crimson = (
Pen
)SafeNativeMethods.Gdip.ThreadData[CrimsonKey];
529
public static
Pen
Cyan {
533
Pen
cyan = (
Pen
)SafeNativeMethods.Gdip.ThreadData[CyanKey];
546
public static
Pen
DarkBlue {
550
Pen
darkBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DarkBlueKey];
563
public static
Pen
DarkCyan {
567
Pen
darkCyan = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DarkCyanKey];
580
public static
Pen
DarkGoldenrod {
584
Pen
darkGoldenrod = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DarkGoldenrodKey];
597
public static
Pen
DarkGray {
601
Pen
darkGray = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DarkGrayKey];
614
public static
Pen
DarkGreen {
618
Pen
darkGreen = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DarkGreenKey];
631
public static
Pen
DarkKhaki {
635
Pen
darkKhaki = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DarkKhakiKey];
648
public static
Pen
DarkMagenta {
652
Pen
darkMagenta = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DarkMagentaKey];
665
public static
Pen
DarkOliveGreen {
669
Pen
darkOliveGreen = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DarkOliveGreenKey];
682
public static
Pen
DarkOrange {
686
Pen
darkOrange = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DarkOrangeKey];
699
public static
Pen
DarkOrchid {
703
Pen
darkOrchid = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DarkOrchidKey];
716
public static
Pen
DarkRed {
720
Pen
darkRed = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DarkRedKey];
733
public static
Pen
DarkSalmon {
737
Pen
darkSalmon = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DarkSalmonKey];
750
public static
Pen
DarkSeaGreen {
754
Pen
darkSeaGreen = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DarkSeaGreenKey];
767
public static
Pen
DarkSlateBlue {
771
Pen
darkSlateBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DarkSlateBlueKey];
784
public static
Pen
DarkSlateGray {
788
Pen
darkSlateGray = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DarkSlateGrayKey];
801
public static
Pen
DarkTurquoise {
805
Pen
darkTurquoise = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DarkTurquoiseKey];
818
public static
Pen
DarkViolet {
822
Pen
darkViolet = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DarkVioletKey];
835
public static
Pen
DeepPink {
839
Pen
deepPink = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DeepPinkKey];
852
public static
Pen
DeepSkyBlue {
856
Pen
deepSkyBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DeepSkyBlueKey];
869
public static
Pen
DimGray {
873
Pen
dimGray = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DimGrayKey];
886
public static
Pen
DodgerBlue {
890
Pen
dodgerBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[DodgerBlueKey];
903
public static
Pen
Firebrick {
907
Pen
firebrick = (
Pen
)SafeNativeMethods.Gdip.ThreadData[FirebrickKey];
920
public static
Pen
FloralWhite {
924
Pen
floralWhite = (
Pen
)SafeNativeMethods.Gdip.ThreadData[FloralWhiteKey];
937
public static
Pen
ForestGreen {
941
Pen
forestGreen = (
Pen
)SafeNativeMethods.Gdip.ThreadData[ForestGreenKey];
954
public static
Pen
Fuchsia {
958
Pen
fuchia = (
Pen
)SafeNativeMethods.Gdip.ThreadData[FuchiaKey];
971
public static
Pen
Gainsboro {
975
Pen
gainsboro = (
Pen
)SafeNativeMethods.Gdip.ThreadData[GainsboroKey];
988
public static
Pen
GhostWhite {
992
Pen
ghostWhite = (
Pen
)SafeNativeMethods.Gdip.ThreadData[GhostWhiteKey];
1005
public static
Pen
Gold {
1009
Pen
gold = (
Pen
)SafeNativeMethods.Gdip.ThreadData[GoldKey];
1022
public static
Pen
Goldenrod {
1026
Pen
goldenrod = (
Pen
)SafeNativeMethods.Gdip.ThreadData[GoldenrodKey];
1039
public static
Pen
Gray {
1043
Pen
gray = (
Pen
)SafeNativeMethods.Gdip.ThreadData[GrayKey];
1056
public static
Pen
Green {
1060
Pen
green = (
Pen
)SafeNativeMethods.Gdip.ThreadData[GreenKey];
1073
public static
Pen
GreenYellow {
1077
Pen
greenYellow = (
Pen
)SafeNativeMethods.Gdip.ThreadData[GreenYellowKey];
1090
public static
Pen
Honeydew {
1094
Pen
honeydew = (
Pen
)SafeNativeMethods.Gdip.ThreadData[HoneydewKey];
1107
public static
Pen
HotPink {
1111
Pen
hotPink = (
Pen
)SafeNativeMethods.Gdip.ThreadData[HotPinkKey];
1124
public static
Pen
IndianRed {
1128
Pen
indianRed = (
Pen
)SafeNativeMethods.Gdip.ThreadData[IndianRedKey];
1141
public static
Pen
Indigo {
1145
Pen
indigo = (
Pen
)SafeNativeMethods.Gdip.ThreadData[IndigoKey];
1158
public static
Pen
Ivory {
1162
Pen
ivory = (
Pen
)SafeNativeMethods.Gdip.ThreadData[IvoryKey];
1175
public static
Pen
Khaki {
1179
Pen
khaki = (
Pen
)SafeNativeMethods.Gdip.ThreadData[KhakiKey];
1192
public static
Pen
Lavender {
1196
Pen
lavender = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LavenderKey];
1209
public static
Pen
LavenderBlush {
1213
Pen
lavenderBlush = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LavenderBlushKey];
1226
public static
Pen
LawnGreen {
1230
Pen
lawnGreen = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LawnGreenKey];
1243
public static
Pen
LemonChiffon {
1247
Pen
lemonChiffon = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LemonChiffonKey];
1260
public static
Pen
LightBlue {
1264
Pen
lightBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LightBlueKey];
1277
public static
Pen
LightCoral {
1281
Pen
lightCoral = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LightCoralKey];
1294
public static
Pen
LightCyan {
1298
Pen
lightCyan = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LightCyanKey];
1311
public static
Pen
LightGoldenrodYellow {
1315
Pen
lightGoldenrodYellow = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LightGoldenrodYellowKey];
1328
public static
Pen
LightGreen {
1332
Pen
lightGreen = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LightGreenKey];
1345
public static
Pen
LightGray {
1349
Pen
lightGray = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LightGrayKey];
1362
public static
Pen
LightPink {
1366
Pen
lightPink = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LightPinkKey];
1379
public static
Pen
LightSalmon {
1383
Pen
lightSalmon = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LightSalmonKey];
1396
public static
Pen
LightSeaGreen {
1400
Pen
lightSeaGreen = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LightSeaGreenKey];
1413
public static
Pen
LightSkyBlue {
1417
Pen
lightSkyBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LightSkyBlueKey];
1430
public static
Pen
LightSlateGray {
1434
Pen
lightSlateGray = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LightSlateGrayKey];
1447
public static
Pen
LightSteelBlue {
1451
Pen
lightSteelBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LightSteelBlueKey];
1464
public static
Pen
LightYellow {
1468
Pen
lightYellow = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LightYellowKey];
1481
public static
Pen
Lime {
1485
Pen
lime = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LimeKey];
1498
public static
Pen
LimeGreen {
1502
Pen
limeGreen = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LimeGreenKey];
1515
public static
Pen
Linen {
1519
Pen
linen = (
Pen
)SafeNativeMethods.Gdip.ThreadData[LinenKey];
1532
public static
Pen
Magenta {
1536
Pen
magenta = (
Pen
)SafeNativeMethods.Gdip.ThreadData[MagentaKey];
1549
public static
Pen
Maroon {
1553
Pen
maroon = (
Pen
)SafeNativeMethods.Gdip.ThreadData[MaroonKey];
1566
public static
Pen
MediumAquamarine {
1570
Pen
mediumAquamarine = (
Pen
)SafeNativeMethods.Gdip.ThreadData[MediumAquamarineKey];
1583
public static
Pen
MediumBlue {
1587
Pen
mediumBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[MediumBlueKey];
1600
public static
Pen
MediumOrchid {
1604
Pen
mediumOrchid = (
Pen
)SafeNativeMethods.Gdip.ThreadData[MediumOrchidKey];
1617
public static
Pen
MediumPurple {
1621
Pen
mediumPurple = (
Pen
)SafeNativeMethods.Gdip.ThreadData[MediumPurpleKey];
1634
public static
Pen
MediumSeaGreen {
1638
Pen
mediumSeaGreen = (
Pen
)SafeNativeMethods.Gdip.ThreadData[MediumSeaGreenKey];
1651
public static
Pen
MediumSlateBlue {
1655
Pen
mediumSlateBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[MediumSlateBlueKey];
1668
public static
Pen
MediumSpringGreen {
1672
Pen
mediumSpringGreen = (
Pen
)SafeNativeMethods.Gdip.ThreadData[MediumSpringGreenKey];
1685
public static
Pen
MediumTurquoise {
1689
Pen
mediumTurquoise = (
Pen
)SafeNativeMethods.Gdip.ThreadData[MediumTurquoiseKey];
1702
public static
Pen
MediumVioletRed {
1706
Pen
mediumVioletRed = (
Pen
)SafeNativeMethods.Gdip.ThreadData[MediumVioletRedKey];
1719
public static
Pen
MidnightBlue {
1723
Pen
midnightBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[MidnightBlueKey];
1736
public static
Pen
MintCream {
1740
Pen
mintCream = (
Pen
)SafeNativeMethods.Gdip.ThreadData[MintCreamKey];
1753
public static
Pen
MistyRose {
1757
Pen
mistyRose = (
Pen
)SafeNativeMethods.Gdip.ThreadData[MistyRoseKey];
1770
public static
Pen
Moccasin {
1774
Pen
moccasin = (
Pen
)SafeNativeMethods.Gdip.ThreadData[MoccasinKey];
1787
public static
Pen
NavajoWhite {
1791
Pen
navajoWhite = (
Pen
)SafeNativeMethods.Gdip.ThreadData[NavajoWhiteKey];
1804
public static
Pen
Navy {
1808
Pen
navy = (
Pen
)SafeNativeMethods.Gdip.ThreadData[NavyKey];
1821
public static
Pen
OldLace {
1825
Pen
oldLace = (
Pen
)SafeNativeMethods.Gdip.ThreadData[OldLaceKey];
1838
public static
Pen
Olive {
1842
Pen
olive = (
Pen
)SafeNativeMethods.Gdip.ThreadData[OliveKey];
1855
public static
Pen
OliveDrab {
1859
Pen
oliveDrab = (
Pen
)SafeNativeMethods.Gdip.ThreadData[OliveDrabKey];
1872
public static
Pen
Orange {
1876
Pen
orange = (
Pen
)SafeNativeMethods.Gdip.ThreadData[OrangeKey];
1889
public static
Pen
OrangeRed {
1893
Pen
orangeRed = (
Pen
)SafeNativeMethods.Gdip.ThreadData[OrangeRedKey];
1906
public static
Pen
Orchid {
1910
Pen
orchid = (
Pen
)SafeNativeMethods.Gdip.ThreadData[OrchidKey];
1923
public static
Pen
PaleGoldenrod {
1927
Pen
paleGoldenrod = (
Pen
)SafeNativeMethods.Gdip.ThreadData[PaleGoldenrodKey];
1940
public static
Pen
PaleGreen {
1944
Pen
paleGreen = (
Pen
)SafeNativeMethods.Gdip.ThreadData[PaleGreenKey];
1957
public static
Pen
PaleTurquoise {
1961
Pen
paleTurquoise = (
Pen
)SafeNativeMethods.Gdip.ThreadData[PaleTurquoiseKey];
1974
public static
Pen
PaleVioletRed {
1978
Pen
paleVioletRed = (
Pen
)SafeNativeMethods.Gdip.ThreadData[PaleVioletRedKey];
1991
public static
Pen
PapayaWhip {
1995
Pen
papayaWhip = (
Pen
)SafeNativeMethods.Gdip.ThreadData[PapayaWhipKey];
2008
public static
Pen
PeachPuff {
2012
Pen
peachPuff = (
Pen
)SafeNativeMethods.Gdip.ThreadData[PeachPuffKey];
2025
public static
Pen
Peru {
2029
Pen
peru = (
Pen
)SafeNativeMethods.Gdip.ThreadData[PeruKey];
2042
public static
Pen
Pink {
2046
Pen
pink = (
Pen
)SafeNativeMethods.Gdip.ThreadData[PinkKey];
2059
public static
Pen
Plum {
2063
Pen
plum = (
Pen
)SafeNativeMethods.Gdip.ThreadData[PlumKey];
2076
public static
Pen
PowderBlue {
2080
Pen
powderBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[PowderBlueKey];
2093
public static
Pen
Purple {
2097
Pen
purple = (
Pen
)SafeNativeMethods.Gdip.ThreadData[PurpleKey];
2110
public static
Pen
Red {
2114
Pen
red = (
Pen
)SafeNativeMethods.Gdip.ThreadData[RedKey];
2127
public static
Pen
RosyBrown {
2131
Pen
rosyBrown = (
Pen
)SafeNativeMethods.Gdip.ThreadData[RosyBrownKey];
2144
public static
Pen
RoyalBlue {
2148
Pen
royalBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[RoyalBlueKey];
2161
public static
Pen
SaddleBrown {
2165
Pen
saddleBrown = (
Pen
)SafeNativeMethods.Gdip.ThreadData[SaddleBrownKey];
2178
public static
Pen
Salmon {
2182
Pen
salmon = (
Pen
)SafeNativeMethods.Gdip.ThreadData[SalmonKey];
2195
public static
Pen
SandyBrown {
2199
Pen
sandyBrown = (
Pen
)SafeNativeMethods.Gdip.ThreadData[SandyBrownKey];
2212
public static
Pen
SeaGreen {
2216
Pen
seaGreen = (
Pen
)SafeNativeMethods.Gdip.ThreadData[SeaGreenKey];
2229
public static
Pen
SeaShell {
2233
Pen
seaShell = (
Pen
)SafeNativeMethods.Gdip.ThreadData[SeaShellKey];
2246
public static
Pen
Sienna {
2250
Pen
sienna = (
Pen
)SafeNativeMethods.Gdip.ThreadData[SiennaKey];
2263
public static
Pen
Silver {
2267
Pen
silver = (
Pen
)SafeNativeMethods.Gdip.ThreadData[SilverKey];
2280
public static
Pen
SkyBlue {
2284
Pen
skyBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[SkyBlueKey];
2297
public static
Pen
SlateBlue {
2301
Pen
slateBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[SlateBlueKey];
2314
public static
Pen
SlateGray {
2318
Pen
slateGray = (
Pen
)SafeNativeMethods.Gdip.ThreadData[SlateGrayKey];
2331
public static
Pen
Snow {
2335
Pen
snow = (
Pen
)SafeNativeMethods.Gdip.ThreadData[SnowKey];
2348
public static
Pen
SpringGreen {
2352
Pen
springGreen = (
Pen
)SafeNativeMethods.Gdip.ThreadData[SpringGreenKey];
2365
public static
Pen
SteelBlue {
2369
Pen
steelBlue = (
Pen
)SafeNativeMethods.Gdip.ThreadData[SteelBlueKey];
2382
public static
Pen
Tan {
2386
Pen
tan = (
Pen
)SafeNativeMethods.Gdip.ThreadData[TanKey];
2399
public static
Pen
Teal {
2403
Pen
teal = (
Pen
)SafeNativeMethods.Gdip.ThreadData[TealKey];
2416
public static
Pen
Thistle {
2420
Pen
thistle = (
Pen
)SafeNativeMethods.Gdip.ThreadData[ThistleKey];
2433
public static
Pen
Tomato {
2437
Pen
tomato = (
Pen
)SafeNativeMethods.Gdip.ThreadData[TomatoKey];
2450
public static
Pen
Turquoise {
2454
Pen
turquoise = (
Pen
)SafeNativeMethods.Gdip.ThreadData[TurquoiseKey];
2467
public static
Pen
Violet {
2471
Pen
violet = (
Pen
)SafeNativeMethods.Gdip.ThreadData[VioletKey];
2484
public static
Pen
Wheat {
2488
Pen
wheat = (
Pen
)SafeNativeMethods.Gdip.ThreadData[WheatKey];
2501
public static
Pen
White {
2505
Pen
white = (
Pen
)SafeNativeMethods.Gdip.ThreadData[WhiteKey];
2518
public static
Pen
WhiteSmoke {
2522
Pen
whiteSmoke = (
Pen
)SafeNativeMethods.Gdip.ThreadData[WhiteSmokeKey];
2535
public static
Pen
Yellow {
2539
Pen
yellow = (
Pen
)SafeNativeMethods.Gdip.ThreadData[YellowKey];
2552
public static
Pen
YellowGreen {
2556
Pen
yellowGreen = (
Pen
)SafeNativeMethods.Gdip.ThreadData[YellowGreenKey];
commonui\System\Drawing\SystemPens.cs (37)
30
public static
Pen
ActiveBorder {
40
public static
Pen
ActiveCaption {
50
public static
Pen
ActiveCaptionText {
62
public static
Pen
AppWorkspace {
72
public static
Pen
ButtonFace {
82
public static
Pen
ButtonHighlight {
92
public static
Pen
ButtonShadow {
102
public static
Pen
Control {
112
public static
Pen
ControlText {
122
public static
Pen
ControlDark {
132
public static
Pen
ControlDarkDark {
142
public static
Pen
ControlLight {
152
public static
Pen
ControlLightLight {
162
public static
Pen
Desktop {
172
public static
Pen
GradientActiveCaption {
182
public static
Pen
GradientInactiveCaption {
192
public static
Pen
GrayText {
202
public static
Pen
Highlight {
212
public static
Pen
HighlightText {
222
public static
Pen
HotTrack {
232
public static
Pen
InactiveBorder {
242
public static
Pen
InactiveCaption {
252
public static
Pen
InactiveCaptionText {
262
public static
Pen
Info {
272
public static
Pen
InfoText {
282
public static
Pen
Menu {
292
public static
Pen
MenuBar {
302
public static
Pen
MenuHighlight {
312
public static
Pen
MenuText {
323
public static
Pen
ScrollBar {
333
public static
Pen
Window {
343
public static
Pen
WindowFrame {
353
public static
Pen
WindowText {
366
public static
Pen
FromSystemColor(Color c) {
371
Pen
[] systemPens = (
Pen
[])SafeNativeMethods.Gdip.ThreadData[SystemPensKey];
373
systemPens = new
Pen
[(int)KnownColor.WindowText + (int)KnownColor.MenuHighlight - (int)KnownColor.YellowGreen];
System.Web.DataVisualization (105)
Common\Annotation\LineAnnotation.cs (2)
679
using (
Pen
pen = (
Pen
)graphics.Pen.Clone())
Common\Annotation\PolygonAnnotation.cs (2)
748
using (
Pen
pen = (
Pen
)graphics.Pen.Clone())
Common\Borders3D\EmbedBorder.cs (1)
1092
Pen
screwPen = new Pen(Color.FromArgb(128,255,255,255), 1);
Common\ChartTypes\AreaChart.cs (3)
374
using (
Pen
areaLinePen = new Pen(shadowBrush, 1))
421
using (
Pen
areaLinePen = new Pen(areaBrush, 1))
467
Pen
pen = new Pen((pointBorderColor != Color.Empty) ? pointBorderColor : pointColor, pointBorderWidth);
Common\ChartTypes\FastLineChart.cs (3)
311
Pen
linePen = new Pen(series.Color, series.BorderWidth);
317
Pen
emptyLinePen = new Pen(series.EmptyPointStyle.Color, series.EmptyPointStyle.BorderWidth);
589
Pen
pen,
Common\ChartTypes\FastPointChart.cs (3)
317
Pen
borderPen = null;
318
Pen
emptyBorderPen = null;
445
Pen
borderPen)
Common\ChartTypes\FunnelChart.cs (1)
1194
Pen
pen = new Pen(point.BorderColor, point.BorderWidth);
Common\ChartTypes\LineChart.cs (3)
168
private
Pen
_linePen = new Pen(Color.Black);
756
Pen
shadowPen = new Pen((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb((useBorderColor) ? point.BorderColor.A/2 : point.Color.A/2, series.ShadowColor), pointBorderWidth);
981
private void DrawTruncatedLine(ChartGraphics graph,
Pen
pen, PointF pt1, PointF pt2)
Common\ChartTypes\PieChart.cs (9)
2713
Pen
pen = new Pen(penColor, point.BorderWidth);
2717
Pen
backSlicePen;
2727
Pen
penCurve = new Pen(penCurveColor, point.BorderWidth);
3009
using (
Pen
labelPen = new Pen(pieLineColor, pen.Width))
3308
Pen
pen,
3532
Pen
pen,
3819
Pen
pen,
4047
Pen
pen,
5426
Pen
pen,
Common\ChartTypes\RangeChart.cs (3)
534
using (
Pen
areaLinePen = new Pen(shadowBrush, 1))
581
Pen
areaLinePen = new Pen(areaBrush, 1);
1722
Pen
thickBorderPen = null;
Common\ChartTypes\StackedAreaChart.cs (1)
662
Pen
areaLinePen = new Pen(areaBrush, 1);
Common\General\Axis.cs (2)
2092
using (
Pen
pen = new Pen(Color.Black, width + 2))
2164
Pen
circlePen = new Pen(color, width);
Common\General\AxisScaleSegments.cs (2)
461
using(
Pen
shadowPen = new Pen(color, 1))
478
using(
Pen
pen = new Pen(this.axis.ScaleBreakStyle.LineColor, this.axis.ScaleBreakStyle.LineWidth))
Common\General\Chart.cs (1)
374
Pen
pen = new Pen(backGroundColor);
Common\General\ChartGraphics.cs (11)
158
private
Pen
_pen;
1536
using(
Pen
pen = new Pen(borderColor, borderWidth))
2424
Pen
markPen = new Pen(
2605
Pen
markPen = new Pen(
3085
using(
Pen
penDark = new Pen(Color.FromArgb(20, Color.Black), 1))
3109
using(
Pen
pen = new Pen(Color.FromArgb(40, Color.White), 1))
3155
using(
Pen
penDark = new Pen(Color.FromArgb(20, Color.Black), 1))
3159
using(
Pen
pen = new Pen(Color.FromArgb(40, Color.White), 1))
3914
internal void DrawCircleAbs(
Pen
pen, Brush brush, RectangleF position, int polygonSectorsNumber, bool circle3D)
5001
Pen
borderPen = null; // Pen
5661
internal
Pen
Pen
Common\General\ChartGraphics3D.cs (21)
312
internal
Pen
frontLinePen = null;
481
Pen
pen,
687
Pen
pen,
830
internal void FillPieSlice( ChartArea area, DataPoint point, SolidBrush brush,
Pen
pen, PointF firstRectPoint, PointF firstPoint, PointF secondRectPoint, PointF secondPoint, PointF center, float startAngle, float sweepAngle, bool fill, int pointIndex )
877
Pen
newPen = (
Pen
)pen.Clone();
954
internal void FillDoughnutSlice( ChartArea area, DataPoint point, SolidBrush brush,
Pen
pen, PointF firstRectPoint, PointF firstPoint, PointF secondRectPoint, PointF secondPoint, PointF threePoint, PointF fourPoint, float startAngle, float sweepAngle, bool fill, float doughnutRadius, int pointIndex )
1015
Pen
newPen = (
Pen
)pen.Clone();
1087
private void DrawGraphicsPath(
Pen
pen, GraphicsPath path )
1244
Pen
thickBorderPen = null;
1263
Pen
thinLinePen = new Pen(surfaceBorderColor, 1);
2120
Pen
thinBorderPen = new Pen(surfaceBorderColor, 1);
2145
Pen
linePen = new Pen(surfaceBorderColor, borderWidth);
2195
Pen
thickBorderPen = null;
3030
using (
Pen
pen = new Pen(borderColor, borderWidth))
3174
using(
Pen
penDark = new Pen(Color.FromArgb(20, Color.Black), 1))
3184
using(
Pen
pen = new Pen(Color.FromArgb(40, Color.White), 1))
3216
using(
Pen
penDark = new Pen(Color.FromArgb(20, Color.Black), 1))
3220
using(
Pen
pen = new Pen(Color.FromArgb(40, Color.White), 1))
4296
using (
Pen
pen = new Pen(borderColor, borderWidth))
Common\General\ChartRenderingEngine.cs (11)
122
Pen
pen,
139
Pen
pen,
193
Pen
pen,
214
Pen
pen,
286
Pen
pen,
302
Pen
pen,
405
Pen
pen,
421
Pen
pen,
446
Pen
pen,
464
Pen
pen,
477
Pen
pen,
Common\General\GdiGraphics.cs (12)
79
Pen
pen,
96
Pen
pen,
150
Pen
pen,
171
Pen
pen,
190
Pen
pen,
206
Pen
pen,
285
Pen
pen,
301
Pen
pen,
319
Pen
pen,
342
Pen
pen,
373
Pen
pen,
386
Pen
pen,
Common\General\IChartRenderingEngine.cs (12)
60
Pen
pen,
74
Pen
pen,
113
Pen
pen,
131
Pen
pen,
147
Pen
pen,
160
Pen
pen,
227
Pen
pen,
240
Pen
pen,
255
Pen
pen,
275
Pen
pen,
300
Pen
pen,
310
Pen
pen,
Common\General\SmartLabels.cs (1)
923
Pen
calloutPen = new Pen(smartLabelStyle.CalloutLineColor, smartLabelStyle.CalloutLineWidth);
Common\General\Title.cs (1)
1748
using (
Pen
pen = new Pen(foreColor, 1))
System.Web.Mobile (1)
UI\MobileControls\Design\Util\ImageCreator.cs (1)
82
Pen
controlDarkPen = new Pen(SystemColors.ControlDark),
System.Windows.Forms (116)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
601
Pen
pen;
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (1)
96
using (
Pen
windowFrame = new Pen(colors.windowFrame),
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (1)
43
using (
Pen
dark = new Pen(colors.buttonShadow),
winforms\Managed\System\WinForms\ComboBox.cs (6)
5993
Pen
outerBorderPen = SystemPens.FromSystemColor(outerBorderColor);
6003
using (
Pen
outerBorderPen = new Pen(outerBorderColor)) {
6016
Pen
innerBorderPen = SystemPens.FromSystemColor(innerBorderColor);
6021
using (
Pen
innerBorderPen = new Pen(innerBorderColor)) {
6034
using (
Pen
borderPen = new Pen(borderPenColor)) {
6036
Pen
innerPen = (comboBox.Enabled) ? borderPen : SystemPens.Control;
winforms\Managed\System\WinForms\Control.cs (1)
9736
using (
Pen
pen = new Pen(Color.Red, penThickness)) {
winforms\Managed\System\WinForms\ControlPaint.cs (22)
39
private static
Pen
focusPen; // pen used to draw a focus rectangle
41
private static
Pen
focusPenInvert; // pen used to draw a focus rectangle
46
private static
Pen
grabPenPrimary; // pen used for primary grab handles
47
private static
Pen
grabPenSecondary; // pen used for secondary grab handles
670
Pen
pen;
990
Pen
pen = new Pen(hls.Darker(1.0f));
1028
Pen
pen = stockColor ? SystemPens.ControlLightLight : new Pen(hls.Lighter(1.0f));
1089
Pen
pen;
1192
Pen
pen = Pens.Black;
1303
Pen
pen = SystemPens.ControlDark;
1396
Pen
pen;
1664
Pen
pen;
1907
using(
Pen
bright = new Pen(LightLight(backColor)) ) {
1908
using (
Pen
dark = new Pen(Dark(backColor)) ) {
1986
using (
Pen
borderPen = new Pen(System.Windows.Forms.VisualStyles.VisualStyleInformation.TextControlBorder)) {
2188
private static
Pen
GetFocusPen(Color baseColor, bool odds, bool highContrast) {
2426
using (
Pen
pen = new Pen(SystemColors.Window)) {
2435
using (
Pen
pen = new Pen(SystemColors.Window)) {
2458
using (
Pen
pen = new Pen(SystemColors.Window)) {
2472
using (
Pen
pen = new Pen(SystemColors.Window)) {
2484
using (
Pen
pen = new Pen(SystemColors.Window)) {
2499
using (
Pen
pen = new Pen(SystemColors.Window)) {
winforms\Managed\System\WinForms\DataGrid.cs (6)
109
private
Pen
headerForePen = DefaultHeaderForePen;
660
private static
Pen
DefaultHeaderForePen {
2222
internal
Pen
HeaderForePen {
7253
Pen
pen1 = new Pen(this.BackgroundBrush);
7254
Pen
pen2 = new Pen(this.myGridTable.BackBrush);
7309
Pen
pen = SystemPens.WindowFrame;
winforms\Managed\System\WinForms\DataGridBoolColumn.cs (1)
411
System.Drawing.
Pen
pen = new System.Drawing.Pen(selectionBrush);
winforms\Managed\System\WinForms\DataGridCaption.cs (2)
45
private
Pen
textBorderPen = DefaultTextBorderPen;
130
internal static
Pen
DefaultTextBorderPen {
winforms\Managed\System\WinForms\DataGridParentRows.cs (1)
51
private
Pen
gridLinePen = SystemPens.Control;
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (1)
759
Pen
drawPen = this.dgTable.IsDefault ? this.DataGrid.HeaderForePen : this.dgTable.HeaderForePen;
winforms\Managed\System\WinForms\DataGridTable.cs (3)
99
internal
Pen
headerForePen = DefaultHeaderForePen;
352
private static
Pen
DefaultHeaderForePen {
783
internal
Pen
HeaderForePen {
winforms\Managed\System\WinForms\DataGridView.cs (2)
284
private
Pen
gridPen;
3368
internal
Pen
GridPen
winforms\Managed\System\WinForms\DataGridViewCell.cs (5)
1679
internal void GetContrastedPens(Color baseline, ref
Pen
darkPen, ref
Pen
lightPen)
3564
Pen
penControlDark = null, penControlLightLight = null;
3565
Pen
penBackColor = this.DataGridView.GetCachedPen(cellStyle.BackColor);
3566
Pen
penGridColor = this.DataGridView.GridPen;
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1391
using (
Pen
pen = new Pen(foreBrush.Color))
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
1018
Pen
penControlDark = null, penControlLightLight = null;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
2352
Pen
pen;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (6)
5614
foreach (
Pen
pen in this.pens.Values)
6848
internal
Pen
GetCachedPen(Color color)
6850
Pen
pen = (
Pen
) this.pens[color];
19868
Pen
pen = GetCachedPen(VisualStyleInformation.TextControlBorder);
19878
Pen
pen = GetCachedPen(SystemColors.ControlText);
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (3)
408
Pen
penControlDark = null, penControlLightLight = null;
415
Pen
penControlDark = null, penControlLightLight = null;
422
Pen
penControlDark = null, penControlLightLight = null;
winforms\Managed\System\WinForms\GroupBox.cs (3)
557
Pen
light = new Pen(ControlPaint.Light(backColor, 1.0f));
558
Pen
dark = new Pen(ControlPaint.Dark(backColor, 0f));
635
Pen
boxPen = null;
winforms\Managed\System\WinForms\GroupBoxRenderer.cs (4)
225
Pen
light = new Pen(ControlPaint.Light(backColor, 1.0f));
226
Pen
dark = new Pen(ControlPaint.Dark(backColor, 0f));
281
Pen
light = new Pen(SystemColors.ControlLight);
282
Pen
dark = new Pen(SystemColors.ControlDark);
winforms\Managed\System\WinForms\ListBox.cs (1)
2281
using (
Pen
pen = new Pen(VisualStyleInformation.TextControlBorder)) {
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
3182
using (
Pen
pen = new Pen(VisualStyleInformation.TextControlBorder)) {
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
1735
using (
Pen
pen = new Pen(SystemColors.ControlDark))
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
5069
using (
Pen
borderPen = new Pen(BorderColor, 1)) {
winforms\Managed\System\WinForms\PropertyGridInternal\CategoryGridEntry.cs (2)
228
using (
Pen
topLinePen = new System.Drawing.Pen(ownerGrid.CategorySplitterColor, 1)) {
239
using (
Pen
topLinePen = new System.Drawing.Pen(ownerGrid.CategorySplitterColor, 1)) {
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (2)
1894
Pen
linePen = new Pen(gridHost.GetLineColor());
2043
Pen
p;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (4)
3506
Pen
splitterPen = new Pen(ownerGrid.LineColor, GetSplitterWidth());
3513
Pen
linePen = new Pen(g.GetNearestColor(ownerGrid.LineColor));
3565
using (
Pen
borderPen = new Pen(ownerGrid.ViewBorderColor, 1)) {
5920
Pen
pen = new Pen(SystemColors.ControlDark, 1);
winforms\Managed\System\WinForms\TableLayoutPanel.cs (1)
472
using (
Pen
pen = new Pen(SystemColors.Window)) {
winforms\Managed\System\WinForms\TextBox.cs (1)
850
using (
Pen
pen = new Pen(VisualStyleInformation.TextControlBorder)) {
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (2)
259
using (
Pen
p = new Pen(SystemColors.ButtonShadow)) {
310
Pen
foreColorPen = SystemPens.ButtonShadow;
winforms\Managed\System\WinForms\ToolStripProfessionalLowResolutionRenderer.cs (1)
45
using(
Pen
p = new Pen(SystemColors.ButtonShadow) ) {
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (14)
334
using (
Pen
p = new Pen(ColorTable.ButtonSelectedBorder)) {
346
using (
Pen
p = new Pen(ColorTable.ButtonSelectedBorder)) {
378
using (
Pen
p = new Pen(ColorTable.ToolStripBorder)) {
522
using (
Pen
p = new Pen(borderColor)) {
565
using (
Pen
p = new Pen(borderColor)) {
920
using (
Pen
p = new Pen(ColorTable.ButtonSelectedBorder)) {
946
using (
Pen
p = new Pen(ColorTable.MenuBorder)) {
1038
using (
Pen
p = new Pen(ColorTable.MenuBorder)) {
1101
using (
Pen
p = new Pen(overflowBottomLeftShadow/*Color.HotPink*/)) {
1259
Pen
foreColorPen = new Pen(foreColor);
1260
Pen
highlightColorPen = new Pen(highlightColor);
1307
Pen
leftPen = (rightToLeft) ? highlightColorPen : foreColorPen;
1308
Pen
rightPen = (rightToLeft) ? foreColorPen : highlightColorPen;
1395
using (
Pen
p = new Pen(ColorTable.ButtonSelectedBorder)) {
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (6)
82
private static bool GetPen(Color color, ref
Pen
pen) {
412
using (
Pen
p = new Pen(borderColor)) {
614
Pen
foreColorPen = SystemPens.ControlDark;
624
Pen
leftPen = (rightToLeft) ? SystemPens.ButtonHighlight : foreColorPen;
625
Pen
rightPen = (rightToLeft) ? foreColorPen : SystemPens.ButtonHighlight;
663
Pen
leftPen, topPen, rightPen,bottomPen;
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
880
using (
Pen
p = new Pen(outerBorderColor)) {
winforms\Managed\System\WinForms\Triangle.cs (3)
43
Pen
backPen1,
Pen
backPen2,
Pen
backPen3, bool opaque)
winforms\Managed\System\WinForms\UpDownBase.cs (3)
824
using (
Pen
pen = new Pen(BackColor)) {
836
using (
Pen
pen = new Pen(BackColor, Enabled ? 2 : 1))
1734
using (
Pen
pen = new Pen(this.parent.BackColor)) {
System.Windows.Forms.DataVisualization (93)
Common\Annotation\LineAnnotation.cs (2)
679
using (
Pen
pen = (
Pen
)graphics.Pen.Clone())
Common\Annotation\PolygonAnnotation.cs (2)
748
using (
Pen
pen = (
Pen
)graphics.Pen.Clone())
Common\Borders3D\EmbedBorder.cs (1)
1092
Pen
screwPen = new Pen(Color.FromArgb(128,255,255,255), 1);
Common\ChartTypes\AreaChart.cs (3)
374
using (
Pen
areaLinePen = new Pen(shadowBrush, 1))
421
using (
Pen
areaLinePen = new Pen(areaBrush, 1))
467
Pen
pen = new Pen((pointBorderColor != Color.Empty) ? pointBorderColor : pointColor, pointBorderWidth);
Common\ChartTypes\FastLineChart.cs (3)
311
Pen
linePen = new Pen(series.Color, series.BorderWidth);
317
Pen
emptyLinePen = new Pen(series.EmptyPointStyle.Color, series.EmptyPointStyle.BorderWidth);
589
Pen
pen,
Common\ChartTypes\FastPointChart.cs (3)
317
Pen
borderPen = null;
318
Pen
emptyBorderPen = null;
445
Pen
borderPen)
Common\ChartTypes\FunnelChart.cs (1)
1194
Pen
pen = new Pen(point.BorderColor, point.BorderWidth);
Common\ChartTypes\LineChart.cs (3)
168
private
Pen
_linePen = new Pen(Color.Black);
756
Pen
shadowPen = new Pen((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb((useBorderColor) ? point.BorderColor.A/2 : point.Color.A/2, series.ShadowColor), pointBorderWidth);
981
private void DrawTruncatedLine(ChartGraphics graph,
Pen
pen, PointF pt1, PointF pt2)
Common\ChartTypes\PieChart.cs (9)
2713
Pen
pen = new Pen(penColor, point.BorderWidth);
2717
Pen
backSlicePen;
2727
Pen
penCurve = new Pen(penCurveColor, point.BorderWidth);
3009
using (
Pen
labelPen = new Pen(pieLineColor, pen.Width))
3308
Pen
pen,
3532
Pen
pen,
3819
Pen
pen,
4047
Pen
pen,
5426
Pen
pen,
Common\ChartTypes\RangeChart.cs (3)
534
using (
Pen
areaLinePen = new Pen(shadowBrush, 1))
581
Pen
areaLinePen = new Pen(areaBrush, 1);
1722
Pen
thickBorderPen = null;
Common\ChartTypes\StackedAreaChart.cs (1)
662
Pen
areaLinePen = new Pen(areaBrush, 1);
Common\General\Axis.cs (2)
2092
using (
Pen
pen = new Pen(Color.Black, width + 2))
2164
Pen
circlePen = new Pen(color, width);
Common\General\AxisScaleSegments.cs (2)
461
using(
Pen
shadowPen = new Pen(color, 1))
478
using(
Pen
pen = new Pen(this.axis.ScaleBreakStyle.LineColor, this.axis.ScaleBreakStyle.LineWidth))
Common\General\Chart.cs (1)
374
Pen
pen = new Pen(backGroundColor);
Common\General\ChartGraphics.cs (11)
158
private
Pen
_pen;
1536
using(
Pen
pen = new Pen(borderColor, borderWidth))
2424
Pen
markPen = new Pen(
2605
Pen
markPen = new Pen(
3085
using(
Pen
penDark = new Pen(Color.FromArgb(20, Color.Black), 1))
3109
using(
Pen
pen = new Pen(Color.FromArgb(40, Color.White), 1))
3155
using(
Pen
penDark = new Pen(Color.FromArgb(20, Color.Black), 1))
3159
using(
Pen
pen = new Pen(Color.FromArgb(40, Color.White), 1))
3914
internal void DrawCircleAbs(
Pen
pen, Brush brush, RectangleF position, int polygonSectorsNumber, bool circle3D)
5001
Pen
borderPen = null; // Pen
5661
internal
Pen
Pen
Common\General\ChartGraphics3D.cs (21)
312
internal
Pen
frontLinePen = null;
481
Pen
pen,
687
Pen
pen,
830
internal void FillPieSlice( ChartArea area, DataPoint point, SolidBrush brush,
Pen
pen, PointF firstRectPoint, PointF firstPoint, PointF secondRectPoint, PointF secondPoint, PointF center, float startAngle, float sweepAngle, bool fill, int pointIndex )
877
Pen
newPen = (
Pen
)pen.Clone();
954
internal void FillDoughnutSlice( ChartArea area, DataPoint point, SolidBrush brush,
Pen
pen, PointF firstRectPoint, PointF firstPoint, PointF secondRectPoint, PointF secondPoint, PointF threePoint, PointF fourPoint, float startAngle, float sweepAngle, bool fill, float doughnutRadius, int pointIndex )
1015
Pen
newPen = (
Pen
)pen.Clone();
1087
private void DrawGraphicsPath(
Pen
pen, GraphicsPath path )
1244
Pen
thickBorderPen = null;
1263
Pen
thinLinePen = new Pen(surfaceBorderColor, 1);
2120
Pen
thinBorderPen = new Pen(surfaceBorderColor, 1);
2145
Pen
linePen = new Pen(surfaceBorderColor, borderWidth);
2195
Pen
thickBorderPen = null;
3030
using (
Pen
pen = new Pen(borderColor, borderWidth))
3174
using(
Pen
penDark = new Pen(Color.FromArgb(20, Color.Black), 1))
3184
using(
Pen
pen = new Pen(Color.FromArgb(40, Color.White), 1))
3216
using(
Pen
penDark = new Pen(Color.FromArgb(20, Color.Black), 1))
3220
using(
Pen
pen = new Pen(Color.FromArgb(40, Color.White), 1))
4296
using (
Pen
pen = new Pen(borderColor, borderWidth))
Common\General\ChartRenderingEngine.cs (11)
122
Pen
pen,
139
Pen
pen,
193
Pen
pen,
214
Pen
pen,
286
Pen
pen,
302
Pen
pen,
405
Pen
pen,
421
Pen
pen,
446
Pen
pen,
464
Pen
pen,
477
Pen
pen,
Common\General\GdiGraphics.cs (12)
79
Pen
pen,
96
Pen
pen,
150
Pen
pen,
171
Pen
pen,
190
Pen
pen,
206
Pen
pen,
285
Pen
pen,
301
Pen
pen,
319
Pen
pen,
342
Pen
pen,
373
Pen
pen,
386
Pen
pen,
Common\General\SmartLabels.cs (1)
923
Pen
calloutPen = new Pen(smartLabelStyle.CalloutLineColor, smartLabelStyle.CalloutLineWidth);
Common\General\Title.cs (1)
1748
using (
Pen
pen = new Pen(foreColor, 1))
System.Workflow.Activities (5)
Designers\StateDesigner.cs (2)
2573
private
Pen
_connectorPen;
2687
public
Pen
ConnectorPen
Designers\StateDesignerConnector.cs (2)
146
using (
Pen
lineEditPen = new Pen(WorkflowTheme.CurrentTheme.AmbientTheme.SelectionForeColor, 1))
177
using (
Pen
lineSelectionPen = new Pen(WorkflowTheme.CurrentTheme.AmbientTheme.SelectionForeColor, 1))
Designers\StateMachineDesignerPaint.cs (1)
108
internal static void DrawConnector(Graphics graphics,
Pen
pen, Point[] points, Size connectorCapSize, Size maxCapSize, LineAnchor startConnectorCap, LineAnchor endConnectorCap)
System.Workflow.ComponentModel (38)
AuthoringOM\Design\Connector.cs (2)
455
using (
Pen
lineSelectionPen = new Pen(WorkflowTheme.CurrentTheme.AmbientTheme.SelectionForeColor, 1))
482
using (
Pen
editableConnectorPen = new Pen(e.AmbientTheme.SelectionForegroundPen.Color, e.AmbientTheme.SelectionForegroundPen.Width))
AuthoringOM\Design\DesignerHelpers.cs (8)
267
Pen
patternPen = WorkflowTheme.CurrentTheme.AmbientTheme.SelectionPatternPen;
297
using (
Pen
lightPen = new Pen(Color.FromArgb(alpha, SystemColors.ControlLightLight)))
298
using (
Pen
darkPen = new Pen(Color.FromArgb(alpha, SystemColors.ControlDark)))
299
using (
Pen
darkdarkPen = new Pen(Color.FromArgb(alpha, SystemColors.ControlDarkDark)))
392
public static void DrawRoundedRectangle(Graphics graphics,
Pen
drawingPen, Rectangle rectangle, int radius)
589
internal static void DrawConnectors(Graphics graphics,
Pen
pen, Point[] points, Size connectorCapSize, Size maxCapSize, LineAnchor startConnectorCap, LineAnchor endConnectorCap)
1107
private
Pen
pen;
1110
internal HPen(
Pen
pen)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
555
using (
Pen
framePen = new Pen(Color.Black, 1))
AuthoringOM\Design\SequentialActivityDesigner.cs (1)
422
Pen
pen = (i == CurrentDropTarget) ? e.AmbientTheme.DropIndicatorPen : compositeDesignerTheme.ForegroundPen;
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
470
protected void DrawConnectors(Graphics graphics,
Pen
pen, Point[] points, LineAnchor startCap, LineAnchor endCap)
AuthoringOM\Design\Themes.cs (25)
997
private
Pen
foregroundPen;
998
private
Pen
borderPen;
1258
public
Pen
ForegroundPen
1282
public
Pen
BorderPen
1428
internal static readonly
Pen
ExpandButtonForegoundPen = new Pen(Color.Black, 1);
1429
internal static readonly
Pen
ExpandButtonBorderPen = new Pen(Color.FromArgb(123, 154, 181), 1);
1698
private
Pen
previewBorderPen;
1865
internal
Pen
PreviewBorderPen
1936
internal static readonly
Pen
SmartTagBorderPen = new Pen(Color.Black, 1);
1937
internal static readonly
Pen
MagnifierPen = new Pen(Color.Black, 2);
1938
internal static readonly
Pen
WorkflowBorderPen = new Pen(Color.FromArgb(127, 157, 185), 1);
2015
private
Pen
foregroundPen;
2016
private
Pen
selectionForegroundPen;
2017
private
Pen
selectionPatternPen;
2018
private
Pen
majorGridPen;
2019
private
Pen
minorGridPen;
2020
private
Pen
dropIndicatorPen;
2021
private
Pen
commentIndicatorPen;
2850
public
Pen
MajorGridPen
2877
public
Pen
MinorGridPen
2908
public
Pen
SelectionPatternPen
2924
public
Pen
SelectionForegroundPen
2948
public
Pen
DropIndicatorPen
2972
public
Pen
ForegroundPen
2987
public
Pen
CommentIndicatorPen
System.WorkflowServices (2)
System\Workflow\Activities\Design\GradientPanel.cs (1)
109
using (
Pen
shadowPen = new Pen(Color.FromArgb(shadowIntensity, 0, 0, 0)))
System\Workflow\ComponentModel\Design\HighlightOverlayGlyph.cs (1)
67
using (
Pen
shadowPen = new Pen(Color.FromArgb(shadowIntensity, 0, 0, 0)))