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)
283
writer.Write( ( uint ) points.
Count
) ;
286
for ( int i = 0; i < points.
Count
; i ++ )
Core\CSharp\MS\Internal\Media3D\GeneralTransform2Dto3Dto2D.cs (2)
312
int texCoordCount = textureCoords.
Count
;
353
int texCoordLimit = textureCoords.
Count
;
Core\CSharp\System\Windows\Media\Generated\PolyBezierSegmentFigureLogic.cs (4)
89
if (points != null && points.
Count
>= 3)
99
int count = points.
Count
;
110
current = points.Internal_GetItem(points.
Count
- 1);
117
return (Points == null) || (Points.
Count
< 3);
Core\CSharp\System\Windows\Media\Generated\PolyLineSegmentFigureLogic.cs (4)
89
if (points != null && points.
Count
>= 1)
99
int count = points.
Count
;
110
current = points.Internal_GetItem(points.
Count
- 1);
117
return (Points == null) || (Points.
Count
< 1);
Core\CSharp\System\Windows\Media\Generated\PolyQuadraticBezierSegmentFigureLogic.cs (4)
89
if (points != null && points.
Count
>= 2)
99
int count = points.
Count
;
110
current = points.Internal_GetItem(points.
Count
- 1);
117
return (Points == null) || (Points.
Count
< 2);
Core\CSharp\System\Windows\Media\PathStreamGeometryContext.cs (1)
378
int count = _currentSegmentPoints.
Count
;
Core\CSharp\System\Windows\Media3D\Generated\MeshGeometry3D.cs (1)
249
int TextureCoordinatesCount = (vTextureCoordinates == null) ? 0 : vTextureCoordinates.
Count
;
Core\CSharp\System\Windows\Media3D\MeshGeometry3D.cs (1)
127
int count = (tx == null) ? 0 : tx.
Count
;
Core\CSharp\System\Windows\Media3D\Viewport2DVisual3D.cs (5)
79
int texCoordCount = textureCoords.
Count
;
114
int texCoordLimit = textureCoords.
Count
;
218
index1 < textureCoordinates.
Count
&&
219
index2 < textureCoordinates.
Count
&&
220
index3 < textureCoordinates.
Count
)
PresentationFramework (10)
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (2)
997
lastPoint = points[points.
Count
- 1];
1011
lastPoint = points[points.
Count
- 1];
src\Framework\System\Windows\Shapes\Polygon.cs (4)
132
if (pointCollection.
Count
> 0)
136
if (pointCollection.
Count
> 1)
138
Point[] array = new Point[pointCollection.
Count
- 1];
140
for (int i = 1; i < pointCollection.
Count
; i++)
src\Framework\System\Windows\Shapes\Polyline.cs (4)
132
if (pointCollection.
Count
> 0)
136
if (pointCollection.
Count
> 1)
138
Point[] array = new Point[pointCollection.
Count
- 1];
140
for (int i = 1; i < pointCollection.
Count
; i++)
System.Activities.Core.Presentation (9)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (4)
745
if (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]))
1019
destConnPoint = ConnectionPointHitTest(dest, locationPts[locationPts.
Count
- 1]);
1040
pt = FindClosestConnectionPoint(locationPts[locationPts.
Count
- 1], FlowchartDesigner.GetConnectionPoints(dest), out dist);
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (3)
869
destConnPoint = GetConnectionPoint(dest, locationPts[locationPts.
Count
- 1]);
1525
if (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)
165
if (thisPointCollection != null && thisPointCollection.
Count
> 1)
172
if (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);
186
if (this.editPoints.Count < 2 || !this.editPoints[this.editPoints.Count - 1].Equals(editedConnector.Points[editedConnector.Points.
Count
- 1]))
188
editPoints.Add(new EditPoint(EditPoint.EditPointTypes.ConnectionEditPoint, editedConnector.Points[editedConnector.Points.
Count
- 1]));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToArrowMarginConverter.cs (3)
26
if (points != null && points.
Count
> 0)
28
margin.Left = points[points.
Count
- 1].X - offset;
29
margin.Top = points[points.
Count
- 1].Y - offset;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToArrowTransformConverter.cs (4)
25
if (points != null && points.
Count
>= 2)
39
Fx.Assert(points.
Count
>= 2, "Invalid connector");
41
Point srcPoint = points[points.
Count
- 2];
42
Point destPoint = points[points.
Count
- 1];
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToSegmentsConverter.cs (3)
24
if (pointCollection != null && pointCollection.
Count
> 0)
28
for (int i = 1; i < pointCollection.
Count
- 1; i++)
53
retVal.Add(new LineSegment(pointCollection[pointCollection.
Count
- 1], true));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
177
for (int i = 0; i < connector.Points.
Count
- 1; i++)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\DesignerGeometryHelper.cs (1)
67
for (int i = 0; i < points.
Count
- 1; i++)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (2)
415
if (connectorChild.Points.
Count
== 0 || !this.Disabled &&
417
|| (DesignerGeometryHelper.ManhattanDistanceBetweenPoints(connectorChild.Points[connectorChild.Points.
Count
- 1], destPoint) > ConnectorRouter.EndPointTolerance)))