Implemented interface member:
method
Add
System.Collections.Generic.ICollection<T>.Add(T)
218 references to Add
PresentationCore (22)
Core\CSharp\System\Windows\Media\ArcSegment.cs (3)
84figure.Segments.Add(this); 121figure.Segments.Add(new BezierSegment( 131figure.Segments.Add(new LineSegment(points[0], isStroked, isSmoothJoin));
Core\CSharp\System\Windows\Media\BezierSegment.cs (2)
76figure.Segments.Add(this); 88figure.Segments.Add(new BezierSegment(pt1, pt2, pt3, IsStroked, IsSmoothJoin));
Core\CSharp\System\Windows\Media\Generated\PolyBezierSegmentFigureLogic.cs (2)
93figure.Segments.Add(this); 108figure.Segments.Add(new PolyBezierSegment(copy, IsStroked, IsSmoothJoin));
Core\CSharp\System\Windows\Media\Generated\PolyLineSegmentFigureLogic.cs (2)
93figure.Segments.Add(this); 108figure.Segments.Add(new PolyLineSegment(copy, IsStroked, IsSmoothJoin));
Core\CSharp\System\Windows\Media\Generated\PolyQuadraticBezierSegmentFigureLogic.cs (2)
93figure.Segments.Add(this); 108figure.Segments.Add(new PolyQuadraticBezierSegment(copy, IsStroked, IsSmoothJoin));
Core\CSharp\System\Windows\Media\LineSegment.cs (2)
74figure.Segments.Add(this); 80figure.Segments.Add(new LineSegment(pt, IsStroked, IsSmoothJoin));
Core\CSharp\System\Windows\Media\PathFigure.cs (1)
63mySegments.Add(item);
Core\CSharp\System\Windows\Media\PathGeometry.cs (4)
523figure.Segments.Add(polySeg); 528figure.Segments.Add(new LineSegment(new Point(pPoints[pointIndex].X, pPoints[pointIndex].Y), fStroked, fSmooth)); 554figure.Segments.Add(polySeg); 560figure.Segments.Add(new BezierSegment(
Core\CSharp\System\Windows\Media\PathStreamGeometryContext.cs (2)
297_segments.Add(segment); 462_segments.Add(segment);
Core\CSharp\System\Windows\Media\QuadraticBezierSegment.cs (2)
76figure.Segments.Add(this); 85figure.Segments.Add(new QuadraticBezierSegment(pt1, pt2, IsStroked, IsSmoothJoin));
PresentationFramework (22)
src\Framework\MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
277segments.Add(line); 281segments.Add(line); 285segments.Add(line); 289segments.Add(line);
src\Framework\MS\Internal\Ink\PenCursorManager.cs (12)
490path.Segments.Add(segment); 494path.Segments.Add(segment); 498path.Segments.Add(segment); 502path.Segments.Add(segment); 514path.Segments.Add(segment); 518path.Segments.Add(segment); 522path.Segments.Add(segment); 526path.Segments.Add(segment); 539path.Segments.Add(segment); 543path.Segments.Add(segment); 547path.Segments.Add(segment); 551path.Segments.Add(segment);
src\Framework\System\windows\Documents\CaretElement.cs (2)
730pathFigure.Segments.Add(new LineSegment(new Point(-bidiCaretIndicatorWidth, 0), true)); 731pathFigure.Segments.Add(new LineSegment(new Point(0, _height / BidiIndicatorHeightRatio), true));
src\Framework\System\Windows\Documents\CompositionAdorner.cs (2)
288pathFigure.Segments.Add(new LineSegment(pathPoint, true)); 293pathFigure.Segments.Add(new LineSegment(pathPoint, true));
src\Framework\System\Windows\Shapes\Polygon.cs (1)
145pathFigure.Segments.Add(new PolyLineSegment(array, true));
src\Framework\System\Windows\Shapes\Polyline.cs (1)
145pathFigure.Segments.Add(new PolyLineSegment(array, true));
PresentationFramework.Aero (44)
Microsoft\Windows\Themes\BulletChrome.cs (7)
884figure.Segments.Add(new LineSegment(new Point(10.667, 3.167), true)); 885figure.Segments.Add(new LineSegment(new Point(7, 10.667), true)); 886figure.Segments.Add(new LineSegment(new Point(5.333, 10.667), true)); 887figure.Segments.Add(new LineSegment(new Point(3.333, 8.167), true)); 888figure.Segments.Add(new LineSegment(new Point(3.333, 6.833), true)); 889figure.Segments.Add(new LineSegment(new Point(4.833, 6.5), true)); 890figure.Segments.Add(new LineSegment(new Point(6, 8), true));
Microsoft\Windows\Themes\ButtonChrome.cs (5)
629borderFigure.Segments.Add(new LineSegment(new Point(0.5, bounds.Bottom - 0.5), true)); 630borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 2.5, bounds.Bottom - 0.5), true)); 631borderFigure.Segments.Add(new ArcSegment(new Point(bounds.Right - 0.5, bounds.Bottom - 2.5), new Size(2.0, 2.0), 0.0, false, SweepDirection.Counterclockwise, true)); 632borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - 0.5, bounds.Top + 2.5), true)); 633borderFigure.Segments.Add(new ArcSegment(new Point(bounds.Right - 2.5, bounds.Top + 0.5), new Size(2.0, 2.0), 0.0, false, SweepDirection.Counterclockwise, true));
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
330arrowFigure.Segments.Add(line); 334arrowFigure.Segments.Add(line); 342arrowFigure.Segments.Add(line); 346arrowFigure.Segments.Add(line);
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
489borderFigure.Segments.Add(new LineSegment(new Point(bounds.Left, bounds.Bottom), false)); 490borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right, bounds.Bottom), false)); 491borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right, bounds.Top), false)); 500borderFigure.Segments.Add(new LineSegment(new Point(bounds.Left + thickness.Left, bounds.Bottom - thickness.Bottom), false)); 501borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Bottom - thickness.Bottom), false)); 502borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Top + thickness.Top), false));
Microsoft\Windows\Themes\ScrollChrome.cs (8)
609figure.Segments.Add(new LineSegment(new Point(0, 3.5), true)); 610figure.Segments.Add(new LineSegment(new Point(4.0, 7.0), true)); 639figure.Segments.Add(new LineSegment(new Point(4, 3.5), true)); 640figure.Segments.Add(new LineSegment(new Point(0.0, 7.0), true)); 669figure.Segments.Add(new LineSegment(new Point(3.5, 0), true)); 670figure.Segments.Add(new LineSegment(new Point(7.0, 4.0), true)); 699figure.Segments.Add(new LineSegment(new Point(3.5, 4.0), true)); 700figure.Segments.Add(new LineSegment(new Point(7.0, 0.0), true));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
239figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true)); 240figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true)); 249figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true)); 250figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true)); 251figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true)); 255figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true)); 260figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true)); 261figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true)); 262figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true)); 266figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true)); 272figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true)); 273figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true)); 274figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true)); 278figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Classic (35)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (17)
882figure.Segments.Add(new LineSegment(rect.TopRight, true)); 883figure.Segments.Add(new LineSegment(rect.BottomRight, true)); 884figure.Segments.Add(new LineSegment(rect.BottomLeft, true)); 1086figure.Segments.Add(new LineSegment(new Point(left, top + outerRadius), true)); //left side 1087figure.Segments.Add(new ArcSegment(new Point(left + outerRadius, top), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top left rounded corner 1088figure.Segments.Add(new LineSegment(new Point(right - outerRadius, top), true)); //top side 1089figure.Segments.Add(new ArcSegment(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top right corner 1090figure.Segments.Add(new LineSegment(new Point(right - 1.0 - innerRadius * 0.293, top + 1.0 + innerRadius * 0.293), true)); //inner top right corner 1091figure.Segments.Add(new ArcSegment(new Point(right - outerRadius, top + 1.0), innerCorner, 0.0, false, SweepDirection.Counterclockwise, true)); //inner top right rounded corner 1092figure.Segments.Add(new LineSegment(new Point(left + outerRadius, top + 1.0), true)); //inner top side 1093figure.Segments.Add(new ArcSegment(new Point(left + 1.0, top + outerRadius), innerCorner, 0.0, false, SweepDirection.Counterclockwise, true));//inner top left rounder corner 1094figure.Segments.Add(new LineSegment(new Point(left + 1.0, bottom), true)); //inner right side 1118figure.Segments.Add(new LineSegment(new Point(right - 1.0, top + outerRadius), true)); //left side 1119figure.Segments.Add(new ArcSegment(new Point(right - 1.0 - innerRadius * 0.293, top + 1.0 + innerRadius * 0.293), innerCorner, 0.0, false, SweepDirection.Counterclockwise, true)); //inner left rounded corner 1120figure.Segments.Add(new LineSegment(new Point(right - outerRadius * 0.293, top + outerRadius * 0.293), true)); //top right corner 1121figure.Segments.Add(new ArcSegment(new Point(right, top + outerRadius), outerCorner, 0.0, false, SweepDirection.Clockwise, true)); //top right corner 1122figure.Segments.Add(new LineSegment(new Point(right, bottom), true)); //right side
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
161arrowFigure.Segments.Add(line); 165arrowFigure.Segments.Add(line); 173arrowFigure.Segments.Add(line); 177arrowFigure.Segments.Add(line);
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
239figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true)); 240figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true)); 249figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true)); 250figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true)); 251figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true)); 255figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true)); 260figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true)); 261figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true)); 262figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true)); 266figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true)); 272figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true)); 273figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true)); 274figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true)); 278figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Luna (45)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (8)
183tabFigure.Segments.Add(line); 187tabFigure.Segments.Add(arc); 191tabFigure.Segments.Add(line); 195tabFigure.Segments.Add(arc); 326arrowFigure.Segments.Add(line); 330arrowFigure.Segments.Add(line); 338arrowFigure.Segments.Add(line); 342arrowFigure.Segments.Add(line);
Microsoft\Windows\Themes\ScrollChrome.cs (20)
449figure.Segments.Add(new LineSegment(new Point(0.0, 4.5), true)); 450figure.Segments.Add(new LineSegment(new Point(4.5, 9.0), true)); 451figure.Segments.Add(new LineSegment(new Point(6.0, 7.5), true)); 452figure.Segments.Add(new LineSegment(new Point(3.0, 4.5), true)); 453figure.Segments.Add(new LineSegment(new Point(6.0, 1.5), true)); 482figure.Segments.Add(new LineSegment(new Point(8.0, 4.5), true)); 483figure.Segments.Add(new LineSegment(new Point(3.5, 9.0), true)); 484figure.Segments.Add(new LineSegment(new Point(2.0, 7.5), true)); 485figure.Segments.Add(new LineSegment(new Point(5.0, 4.5), true)); 486figure.Segments.Add(new LineSegment(new Point(2.0, 1.5), true)); 515figure.Segments.Add(new LineSegment(new Point(4.5, 0.0), true)); 516figure.Segments.Add(new LineSegment(new Point(9.0, 4.5), true)); 517figure.Segments.Add(new LineSegment(new Point(7.5, 6.0), true)); 518figure.Segments.Add(new LineSegment(new Point(4.5, 3.0), true)); 519figure.Segments.Add(new LineSegment(new Point(1.5, 6.0), true)); 548figure.Segments.Add(new LineSegment(new Point(4.5, 8.0), true)); 549figure.Segments.Add(new LineSegment(new Point(9.0, 3.5), true)); 550figure.Segments.Add(new LineSegment(new Point(7.5, 2.0), true)); 551figure.Segments.Add(new LineSegment(new Point(4.5, 5.0), true)); 552figure.Segments.Add(new LineSegment(new Point(1.5, 2.0), true));
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
473figure.Segments.Add(new LineSegment(rect.TopRight, true)); 474figure.Segments.Add(new LineSegment(rect.BottomRight, true)); 475figure.Segments.Add(new LineSegment(rect.BottomLeft, true));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
239figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true)); 240figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true)); 249figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true)); 250figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true)); 251figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true)); 255figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true)); 260figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true)); 261figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true)); 262figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true)); 266figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true)); 272figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true)); 273figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true)); 274figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true)); 278figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
PresentationFramework.Royale (45)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (8)
112tabFigure.Segments.Add(line); 116tabFigure.Segments.Add(arc); 120tabFigure.Segments.Add(line); 124tabFigure.Segments.Add(arc); 248arrowFigure.Segments.Add(line); 252arrowFigure.Segments.Add(line); 260arrowFigure.Segments.Add(line); 264arrowFigure.Segments.Add(line);
Microsoft\Windows\Themes\ScrollChrome.cs (20)
409figure.Segments.Add(new LineSegment(new Point(0.0, 4.5), true)); 410figure.Segments.Add(new LineSegment(new Point(4.5, 9.0), true)); 411figure.Segments.Add(new LineSegment(new Point(6.0, 7.5), true)); 412figure.Segments.Add(new LineSegment(new Point(3.0, 4.5), true)); 413figure.Segments.Add(new LineSegment(new Point(6.0, 1.5), true)); 442figure.Segments.Add(new LineSegment(new Point(8.0, 4.5), true)); 443figure.Segments.Add(new LineSegment(new Point(3.5, 9.0), true)); 444figure.Segments.Add(new LineSegment(new Point(2.0, 7.5), true)); 445figure.Segments.Add(new LineSegment(new Point(5.0, 4.5), true)); 446figure.Segments.Add(new LineSegment(new Point(2.0, 1.5), true)); 475figure.Segments.Add(new LineSegment(new Point(4.5, 0.0), true)); 476figure.Segments.Add(new LineSegment(new Point(9.0, 4.5), true)); 477figure.Segments.Add(new LineSegment(new Point(7.5, 6.0), true)); 478figure.Segments.Add(new LineSegment(new Point(4.5, 3.0), true)); 479figure.Segments.Add(new LineSegment(new Point(1.5, 6.0), true)); 508figure.Segments.Add(new LineSegment(new Point(4.5, 8.0), true)); 509figure.Segments.Add(new LineSegment(new Point(9.0, 3.5), true)); 510figure.Segments.Add(new LineSegment(new Point(7.5, 2.0), true)); 511figure.Segments.Add(new LineSegment(new Point(4.5, 5.0), true)); 512figure.Segments.Add(new LineSegment(new Point(1.5, 2.0), true));
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
473figure.Segments.Add(new LineSegment(rect.TopRight, true)); 474figure.Segments.Add(new LineSegment(rect.BottomRight, true)); 475figure.Segments.Add(new LineSegment(rect.BottomLeft, true));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (14)
239figure.Segments.Add(new LineSegment(new Point(guidelineSetX[1], guidelineSetY[1]), true)); 240figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[1]), true)); 249figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[3]), true)); 250figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[3]), true)); 251figure.Segments.Add(new LineSegment(new Point(guidelineSetX[3], guidelineSetY[5]), true)); 255figure.Segments.Add(new LineSegment(new Point(guidelineSetX[0], guidelineSetY[5]), true)); 260figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[5]), true)); 261figure.Segments.Add(new LineSegment(new Point(guidelineSetX[4], guidelineSetY[4]), true)); 262figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[4]), true)); 266figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[5]), true)); 272figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[2]), true)); 273figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[2]), true)); 274figure.Segments.Add(new LineSegment(new Point(guidelineSetX[2], guidelineSetY[0]), true)); 278figure.Segments.Add(new LineSegment(new Point(guidelineSetX[5], guidelineSetY[0]), true));
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToSegmentsConverter.cs (5)
26retVal.Add(new LineSegment(pointCollection[0], true)); 44retVal.Add(new LineSegment(turningPoint1, true)); 45retVal.Add(new ArcSegment(turningPoint2, new Size(RoundRadius, RoundRadius), 0, false, crossProductZ > 0 ? SweepDirection.Clockwise : SweepDirection.Counterclockwise, true)); 50retVal.Add(new LineSegment(pointCollection[i], true)); 53retVal.Add(new LineSegment(pointCollection[pointCollection.Count - 1], true));