28 instantiations of PointCollection
PresentationCore (16)
Core\CSharp\System\Windows\Media\Generated\PointCollection.cs (3)
458PointCollection collection = new PointCollection(); 553return new PointCollection(); 753PointCollection resource = new PointCollection();
Core\CSharp\System\Windows\Media\Generated\PolyBezierSegmentFigureLogic.cs (3)
60Points = new PointCollection(points); 74Points = new PointCollection(points); 97PointCollection copy = new PointCollection();
Core\CSharp\System\Windows\Media\Generated\PolyLineSegmentFigureLogic.cs (3)
60Points = new PointCollection(points); 74Points = new PointCollection(points); 97PointCollection copy = new PointCollection();
Core\CSharp\System\Windows\Media\Generated\PolyQuadraticBezierSegmentFigureLogic.cs (3)
60Points = new PointCollection(points); 74Points = new PointCollection(points); 97PointCollection copy = new PointCollection();
Core\CSharp\System\Windows\Media\PathGeometry.cs (2)
513PointCollection ptCollection = new PointCollection(); 544PointCollection ptCollection = new PointCollection();
Core\CSharp\System\Windows\Media\PathStreamGeometryContext.cs (1)
365_currentSegmentPoints = new PointCollection();
Core\CSharp\System\Windows\Media\PointCollection.cs (1)
36PointCollection collection = new PointCollection( (int) count) ;
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7723bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.PointCollection(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1466case KnownElements.PointCollection: o = new System.Windows.Media.PointCollection(); break;
System.Activities.Core.Presentation (7)
System\Activities\Core\Presentation\FlowchartDesigner.Container.cs (2)
438viewStatePoints = new PointCollection { (Point)viewStateValue }; 462PointCollection newcollection = new PointCollection();
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
1515connector.Points = new PointCollection();
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (2)
73PointCollection metaData = new PointCollection(); 511PointCollection newLocations = new PointCollection();
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (1)
1774PointCollection points = new PointCollection();
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (1)
467PointCollection newTransitionViewState = new PointCollection
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\Connector.cs (1)
31new FrameworkPropertyMetadata(new PointCollection()));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (2)
251PointCollection pointCollection = new PointCollection(); 419connectorChild.Points = new PointCollection();
161 references to PointCollection
PresentationCore (73)
Core\CSharp\MS\Internal\Media\XamlSerializationHelper.cs (2)
278PointCollection points = PointCollection.Parse( stringValue ) ;
Core\CSharp\MS\Internal\Media3D\GeneralTransform2Dto3Dto2D.cs (1)
274PointCollection textureCoords = _geometry.TextureCoordinates;
Core\CSharp\System\Windows\Media\Converters\Generated\PointCollectionValueSerializer.cs (5)
66if (!(value is PointCollection)) 82return PointCollection.Parse(value ); 96if (value is PointCollection) 98PointCollection instance = (PointCollection) value;
Core\CSharp\System\Windows\Media\Generated\PointCollection.cs (19)
68public new PointCollection Clone() 70return (PointCollection)base.Clone(); 77public new PointCollection CloneCurrentValue() 79return (PointCollection)base.CloneCurrentValue(); 452internal static PointCollection Empty 458PointCollection collection = new PointCollection(); 530private static PointCollection s_empty; 560PointCollection sourcePointCollection = (PointCollection) source; 579PointCollection sourcePointCollection = (PointCollection) source; 598PointCollection sourcePointCollection = (PointCollection) source; 617PointCollection sourcePointCollection = (PointCollection) source; 748public static PointCollection Parse(string source) 753PointCollection resource = new PointCollection(); 808internal Enumerator(PointCollection list) 919private PointCollection _list;
Core\CSharp\System\Windows\Media\Generated\PointCollectionConverter.cs (4)
110return PointCollection.Parse(source); 132if (destinationType != null && value is PointCollection) 134PointCollection instance = (PointCollection)value;
Core\CSharp\System\Windows\Media\Generated\PolyBezierSegment.cs (6)
98public PointCollection Points 102return (PointCollection) GetValue(PointsProperty); 205internal static PointCollection s_Points = PointCollection.Empty; 234typeof(PointCollection), 236new FreezableDefaultValueFactory(PointCollection.Empty),
Core\CSharp\System\Windows\Media\Generated\PolyBezierSegmentFigureLogic.cs (2)
87PointCollection points = Points; 97PointCollection copy = new PointCollection();
Core\CSharp\System\Windows\Media\Generated\PolyLineSegment.cs (6)
98public PointCollection Points 102return (PointCollection) GetValue(PointsProperty); 205internal static PointCollection s_Points = PointCollection.Empty; 234typeof(PointCollection), 236new FreezableDefaultValueFactory(PointCollection.Empty),
Core\CSharp\System\Windows\Media\Generated\PolyLineSegmentFigureLogic.cs (2)
87PointCollection points = Points; 97PointCollection copy = new PointCollection();
Core\CSharp\System\Windows\Media\Generated\PolyQuadraticBezierSegment.cs (6)
98public PointCollection Points 102return (PointCollection) GetValue(PointsProperty); 205internal static PointCollection s_Points = PointCollection.Empty; 234typeof(PointCollection), 236new FreezableDefaultValueFactory(PointCollection.Empty),
Core\CSharp\System\Windows\Media\Generated\PolyQuadraticBezierSegmentFigureLogic.cs (2)
87PointCollection points = Points; 97PointCollection copy = new PointCollection();
Core\CSharp\System\Windows\Media\PathGeometry.cs (2)
513PointCollection ptCollection = new PointCollection(); 544PointCollection ptCollection = new PointCollection();
Core\CSharp\System\Windows\Media\PathStreamGeometryContext.cs (1)
478private PointCollection _currentSegmentPoints;
Core\CSharp\System\Windows\Media\PointCollection.cs (1)
36PointCollection collection = new PointCollection( (int) count) ;
Core\CSharp\System\Windows\Media3D\GeneralTransform2DTo3D.cs (1)
194private PointCollection _textureCoords;
Core\CSharp\System\Windows\Media3D\Generated\MeshGeometry3D.cs (7)
167public PointCollection TextureCoordinates 171return (PointCollection) GetValue(TextureCoordinatesProperty); 243PointCollection vTextureCoordinates = TextureCoordinates; 437internal static PointCollection s_TextureCoordinates = PointCollection.Empty; 497typeof(PointCollection), 499new FreezableDefaultValueFactory(PointCollection.Empty),
Core\CSharp\System\Windows\Media3D\MeshGeometry3D.cs (1)
125PointCollection tx = TextureCoordinates;
Core\CSharp\System\Windows\Media3D\Viewport2DVisual3D.cs (5)
66PointCollection textureCoords, 212PointCollection textureCoordinates = geom.TextureCoordinates; 626internal PointCollection InternalTextureCoordinatesCache 640_textureCoordinatesCache = (PointCollection)_textureCoordinatesCache.GetCurrentValueAsFrozen(); 956private PointCollection _textureCoordinatesCache = null;
PresentationFramework (19)
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (3)
996PointCollection points = (pathSegment as PolyBezierSegment).Points; 1001PointCollection points = (pathSegment as PolyLineSegment).Points; 1010PointCollection points = (pathSegment as PolyQuadraticBezierSegment).Points;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
564case 472: t = () => typeof(PointCollection); break;
src\Framework\System\Windows\Markup\Baml2006\DeferredBinaryDeserializerExtension.cs (1)
44return PointCollection.DeserializeFrom(_reader);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7721typeof(System.Windows.Media.PointCollection),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6016case KnownElements.PointCollection: t = typeof(System.Windows.Media.PointCollection); break;
src\Framework\System\Windows\Markup\XamlPointCollectionSerializer.cs (2)
90return PointCollection.DeserializeFrom( reader ) ; 103return PointCollection.DeserializeFrom( reader ) ;
src\Framework\System\Windows\Shapes\Polygon.cs (5)
51"Points", typeof(PointCollection), typeof(Polygon), 52new FrameworkPropertyMetadata(new FreezableDefaultValueFactory(PointCollection.Empty), FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender)); 57public PointCollection Points 61return (PointCollection)GetValue(PointsProperty); 117PointCollection pointCollection = Points;
src\Framework\System\Windows\Shapes\Polyline.cs (5)
50"Points", typeof(PointCollection), typeof(Polyline), 51new FrameworkPropertyMetadata(new FreezableDefaultValueFactory(PointCollection.Empty), FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender)); 56public PointCollection Points 60return (PointCollection)GetValue(PointsProperty); 117PointCollection pointCollection = Points;
System.Activities.Core.Presentation (50)
System\Activities\Core\Presentation\FlowchartDesigner.Container.cs (7)
435PointCollection viewStatePoints = viewStateValue as PointCollection; 455PointCollection OffsetPointCollection(PointCollection collection, Vector offset) 462PointCollection newcollection = new PointCollection(); 477PointCollection viewStatePoints = viewStatePair.Value as PointCollection;
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (2)
173Fx.Assert(e.NewValue is PointCollection, "e.NewValue is not PointCollection"); 174changedConnector.Points = e.NewValue as PointCollection;
System\Activities\Core\Presentation\FlowchartDesigner.ModelChanges.cs (2)
136PointCollection connectorViewState = new PointCollection(ConnectorRouter.Route(this.panel, sourceConnPoint, destConnPoint)); 212bool CreateFlowSwitchLink(ConnectionPoint sourceConnPoint, ModelItem srcFlowElementMI, ModelItem destFlowElementMI, IFlowSwitchLink caseKey, PointCollection connectorViewState, ref string errorMessage)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (8)
744PointCollection existingVS = this.ViewStateService.RetrieveViewState(storageModelItem, viewStateKey) as PointCollection; 1013PointCollection locationPts = connectorLocation as PointCollection; 1364void StoreConnectorViewState(ModelItem linkModelItem, PointCollection viewState, ConnectionPoint srcConnPoint, bool isUndoableViewState) 1371void StoreConnectorViewState(ModelItem storageModelItem, string viewStateKey, PointCollection viewState, bool isUndoableViewState) 1383void StoreConnectorViewState(ModelItem linkModelItem, PointCollection viewState, ConnectionPoint srcConnPoint) 1516PointCollection viewState = new PointCollection(ConnectorRouter.Route(this.panel, source, destination));
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (6)
73PointCollection metaData = new PointCollection(); 468PointCollection points = (PointCollection)data; 510PointCollection locations = (PointCollection)viewState; 511PointCollection newLocations = new PointCollection();
System\Activities\Core\Presentation\StateContainerEditor.ModelChangeReactions.cs (2)
308Fx.Assert(e.NewValue is PointCollection, "e.NewValue is not PointCollection"); 309changedConnector.Points = e.NewValue as PointCollection;
System\Activities\Core\Presentation\StateContainerEditor.ModelChanges.cs (3)
138PointCollection connectorViewState = new PointCollection(ConnectorRouter.Route(this.panel, sourceConnPoint, destConnPoint)); 191PointCollection connectorViewState = new PointCollection(ConnectorRouter.Route(this.panel, sourceConnectionPoint, destConnectionPoint)); 266void StoreConnectorLocationViewState(ModelItem connectorModelItem, PointCollection viewState, bool isUndoableViewState)
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (13)
736Connector CreateConnector(ConnectionPoint srcConnPoint, ConnectionPoint destConnPoint, PointCollection points, ModelItem connectorModelItem) 814static bool IsViewStateValid(PointCollection locationPts) 827PointCollection locationPts = connectorLocation as PointCollection; 900PointCollection connectorPoints = new PointCollection(ConnectorRouter.Route(this.panel, srcConnPoint, destConnPoint)); 914PointCollection CreatePointCollectionForAutoConnectOrAutoSplit(UIElement sourceDesigner, 920PointCollection points = null; 986PointCollection connectorPoints = this.CreatePointCollectionForAutoConnectOrAutoSplit(sourceDesigner, destinationDesigner, connectorModelItem, ref sourceConnectionPoint, ref destinationConnectionPoint); 1524PointCollection existingViewState = this.ViewStateService.RetrieveViewState(connectorModelItem, ConnectorLocationViewStateKey) as PointCollection; 1774PointCollection points = new PointCollection(); 2538PointCollection points = editor.CreatePointCollectionForAutoConnectOrAutoSplit( 2551&& points.SequenceEqual(this.OldViewState as PointCollection))
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (7)
164PointCollection thisPointCollection = this.ViewStateService.RetrieveViewState(this.ModelItem, StateContainerEditor.ConnectorLocationViewStateKey) as PointCollection; 171PointCollection pointCollection = this.ViewStateService.RetrieveViewState(transitionModelItem, StateContainerEditor.ConnectorLocationViewStateKey) as PointCollection; 464PointCollection thisPointCollection = this.ViewStateService.RetrieveViewState(this.ModelItem, StateContainerEditor.ConnectorLocationViewStateKey) as PointCollection; 467PointCollection newTransitionViewState = new PointCollection
System.Activities.Presentation (19)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\Connector.cs (3)
29typeof(PointCollection), 79public PointCollection Points 81get { return (PointCollection)GetValue(Connector.PointsProperty); }
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorIdentityConverter.cs (3)
17Fx.Assert(values[1] is PointCollection, "The second value should be a PointCollection"); 19PointCollection points = (PointCollection)values[1];
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorLabelMarginConverter.cs (2)
23PointCollection connectorPoints = values[0] as PointCollection;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorLabelVisibilityConverter.cs (2)
24PointCollection connectorPoints = values[1] as PointCollection;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToArrowMarginConverter.cs (2)
23PointCollection points = values[0] as PointCollection;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToArrowTransformConverter.cs (3)
24PointCollection points = value as PointCollection; 37static ArrowOrientation GetArrowOrientation(PointCollection points)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToSegmentsConverter.cs (2)
21PointCollection pointCollection = value as PointCollection;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\DesignerGeometryHelper.cs (1)
63public static double LongestSegmentLength(PointCollection points, out int longestSegmentIndex)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (1)
251PointCollection pointCollection = new PointCollection();