Implemented interface member:
property
this
System.Collections.Generic.IList<T>.this[System.Int32]
1 write to
PresentationCore (1)
Core\CSharp\System\Windows\Media\Generated\PointCollection.cs (1)
332this[index] = Cast(value);
53 references to
PresentationCore (8)
Core\CSharp\MS\Internal\Media3D\GeneralTransform2Dto3Dto2D.cs (2)
329triangleTexCoords[j] = textureCoords[i + j]; 382triangleTexCoords[j] = textureCoords[indices[j]];
Core\CSharp\System\Windows\Media\Generated\PointCollection.cs (1)
327return this[index];
Core\CSharp\System\Windows\Media3D\Viewport2DVisual3D.cs (5)
93uv[j] = textureCoords[i + j]; 140uv[j] = textureCoords[index]; 222Point texCoord1 = textureCoordinates[index1]; 223Point texCoord2 = textureCoordinates[index2]; 224Point texCoord3 = textureCoordinates[index3];
PresentationFramework (4)
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (2)
997lastPoint = points[points.Count - 1]; 1011lastPoint = points[points.Count - 1];
src\Framework\System\Windows\Shapes\Polygon.cs (1)
142array[i - 1] = pointCollection[i];
src\Framework\System\Windows\Shapes\Polyline.cs (1)
142array[i - 1] = pointCollection[i];
System.Activities.Core.Presentation (5)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (3)
746&& existingVS[0].Equals(movedConnector.Points[0]) && existingVS[existingVS.Count - 1].Equals(movedConnector.Points[movedConnector.Points.Count - 1])) 1019destConnPoint = ConnectionPointHitTest(dest, locationPts[locationPts.Count - 1]); 1040pt = FindClosestConnectionPoint(locationPts[locationPts.Count - 1], FlowchartDesigner.GetConnectionPoints(dest), out dist);
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (2)
869destConnPoint = GetConnectionPoint(dest, locationPts[locationPts.Count - 1]); 1526&& existingViewState[0].Equals(movedConnector.Points[0]) && existingViewState[existingViewState.Count - 1].Equals(movedConnector.Points[movedConnector.Points.Count - 1]))
System.Activities.Presentation (36)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (3)
74&& this.editedConnector.Points[this.editedConnector.Points.Count - 1] != this.EditPoints[this.EditPoints.Count - 1].Location); 186if (this.editPoints.Count < 2 || !this.editPoints[this.editPoints.Count - 1].Equals(editedConnector.Points[editedConnector.Points.Count - 1])) 188editPoints.Add(new EditPoint(EditPoint.EditPointTypes.ConnectionEditPoint, editedConnector.Points[editedConnector.Points.Count - 1]));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorLabelMarginConverter.cs (2)
33Point labelLocation = DesignerGeometryHelper.MidPointOfLineSegment(connectorPoints[longestSegmentIndex], connectorPoints[longestSegmentIndex + 1]);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToArrowMarginConverter.cs (2)
28margin.Left = points[points.Count - 1].X - offset; 29margin.Top = points[points.Count - 1].Y - offset;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToArrowTransformConverter.cs (2)
41Point srcPoint = points[points.Count - 2]; 42Point destPoint = points[points.Count - 1];
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToSegmentsConverter.cs (16)
30double dist1 = DesignerGeometryHelper.DistanceBetweenPoints(pointCollection[i - 1], pointCollection[i]); 31double dist2 = DesignerGeometryHelper.DistanceBetweenPoints(pointCollection[i], pointCollection[i + 1]); 37Vector firstSegmentPointingVector = new Vector(pointCollection[i].X - pointCollection[i - 1].X, pointCollection[i].Y - pointCollection[i - 1].Y); 38Vector secondSegmentPointingVector = new Vector(pointCollection[i + 1].X - pointCollection[i].X, pointCollection[i + 1].Y - pointCollection[i].Y); 41Point turningPoint1 = Point.Add(pointCollection[i - 1], Vector.Multiply(dist1 - RoundRadius, firstSegmentPointingVector)); 42Point turningPoint2 = Point.Add(pointCollection[i], Vector.Multiply(RoundRadius, secondSegmentPointingVector)); 50retVal.Add(new LineSegment(pointCollection[i], true)); 53retVal.Add(new LineSegment(pointCollection[pointCollection.Count - 1], true));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (4)
179excludedLines.Add(new Point(connector.Points[i].X, connector.Points[i].Y)); 180excludedLines.Add(new Point(connector.Points[i + 1].X, connector.Points[i + 1].Y));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\DesignerGeometryHelper.cs (6)
69double length = Math.Abs((points[i].X == points[i + 1].X) ? points[i].Y - points[i + 1].Y : points[i].X - points[i + 1].X);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (1)
417|| (DesignerGeometryHelper.ManhattanDistanceBetweenPoints(connectorChild.Points[connectorChild.Points.Count - 1], destPoint) > ConnectorRouter.EndPointTolerance)))