Implemented interface members:
property
Count
System.Collections.Generic.ICollection<T>.Count
property
Count
System.Collections.ICollection.Count
60 references to Count
PresentationCore (24)
Core\CSharp\MS\Internal\Media\XamlSerializationHelper.cs (2)
283writer.Write( ( uint ) points.Count ) ; 286for ( int i = 0; i < points.Count ; i ++ )
Core\CSharp\MS\Internal\Media3D\GeneralTransform2Dto3Dto2D.cs (2)
312int texCoordCount = textureCoords.Count; 353int texCoordLimit = textureCoords.Count;
Core\CSharp\System\Windows\Media\Generated\PolyBezierSegmentFigureLogic.cs (4)
89if (points != null && points.Count >= 3) 99int count = points.Count; 110current = points.Internal_GetItem(points.Count - 1); 117return (Points == null) || (Points.Count < 3);
Core\CSharp\System\Windows\Media\Generated\PolyLineSegmentFigureLogic.cs (4)
89if (points != null && points.Count >= 1) 99int count = points.Count; 110current = points.Internal_GetItem(points.Count - 1); 117return (Points == null) || (Points.Count < 1);
Core\CSharp\System\Windows\Media\Generated\PolyQuadraticBezierSegmentFigureLogic.cs (4)
89if (points != null && points.Count >= 2) 99int count = points.Count; 110current = points.Internal_GetItem(points.Count - 1); 117return (Points == null) || (Points.Count < 2);
Core\CSharp\System\Windows\Media\PathStreamGeometryContext.cs (1)
378int count = _currentSegmentPoints.Count;
Core\CSharp\System\Windows\Media3D\Generated\MeshGeometry3D.cs (1)
249int TextureCoordinatesCount = (vTextureCoordinates == null) ? 0 : vTextureCoordinates.Count;
Core\CSharp\System\Windows\Media3D\MeshGeometry3D.cs (1)
127int count = (tx == null) ? 0 : tx.Count;
Core\CSharp\System\Windows\Media3D\Viewport2DVisual3D.cs (5)
79int texCoordCount = textureCoords.Count; 114int texCoordLimit = textureCoords.Count; 218index1 < textureCoordinates.Count && 219index2 < textureCoordinates.Count && 220index3 < textureCoordinates.Count)
PresentationFramework (10)
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 (4)
132if (pointCollection.Count > 0) 136if (pointCollection.Count > 1) 138Point[] array = new Point[pointCollection.Count - 1]; 140for (int i = 1; i < pointCollection.Count; i++)
src\Framework\System\Windows\Shapes\Polyline.cs (4)
132if (pointCollection.Count > 0) 136if (pointCollection.Count > 1) 138Point[] array = new Point[pointCollection.Count - 1]; 140for (int i = 1; i < pointCollection.Count; i++)
System.Activities.Core.Presentation (9)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (4)
745if (existingVS != null && existingVS.Count > 0 && movedConnector.Points.Count > 0 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 (3)
869destConnPoint = GetConnectionPoint(dest, locationPts[locationPts.Count - 1]); 1525if (existingViewState != null && existingViewState.Count > 0 && movedConnector.Points.Count > 0 1526&& existingViewState[0].Equals(movedConnector.Points[0]) && existingViewState[existingViewState.Count - 1].Equals(movedConnector.Points[movedConnector.Points.Count - 1]))
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (2)
165if (thisPointCollection != null && thisPointCollection.Count > 1) 172if (pointCollection != null && pointCollection.Count > 0)
System.Activities.Presentation (17)
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\ConnectorPointsToArrowMarginConverter.cs (3)
26if (points != null && points.Count > 0) 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 (4)
25if (points != null && points.Count >= 2) 39Fx.Assert(points.Count >= 2, "Invalid connector"); 41Point srcPoint = points[points.Count - 2]; 42Point destPoint = points[points.Count - 1];
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToSegmentsConverter.cs (3)
24if (pointCollection != null && pointCollection.Count > 0) 28for (int i = 1; i < pointCollection.Count - 1; i++) 53retVal.Add(new LineSegment(pointCollection[pointCollection.Count - 1], true));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
177for (int i = 0; i < connector.Points.Count - 1; i++)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\DesignerGeometryHelper.cs (1)
67for (int i = 0; i < points.Count - 1; i++)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (2)
415if (connectorChild.Points.Count == 0 || !this.Disabled && 417|| (DesignerGeometryHelper.ManhattanDistanceBetweenPoints(connectorChild.Points[connectorChild.Points.Count - 1], destPoint) > ConnectorRouter.EndPointTolerance)))