29 references to PartType
PresentationFramework (29)
src\Framework\MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (5)
214if (DataIdElementName != locatorPart.PartType) 215throw new ArgumentException(SR.Get(SRID.IncorrectLocatorPartType, locatorPart.PartType.Namespace + ":" + locatorPart.PartType.Name), "locatorPart"); 224throw new ArgumentException(SR.Get(SRID.IncorrectLocatorPartType, locatorPart.PartType.Namespace + ":" + locatorPart.PartType.Name), "locatorPart");
src\Framework\MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (5)
186if (PageNumberElementName != locatorPart.PartType) 187throw new ArgumentException(SR.Get(SRID.IncorrectLocatorPartType, locatorPart.PartType.Namespace + ":" + locatorPart.PartType.Name), "locatorPart"); 198throw new ArgumentException(SR.Get(SRID.IncorrectLocatorPartType, locatorPart.PartType.Namespace + ":" + locatorPart.PartType.Name), "locatorPart");
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (3)
517if (FixedTextElementName != locatorPart.PartType) 518throw new ArgumentException(SR.Get(SRID.IncorrectLocatorPartType, locatorPart.PartType.Namespace + ":" + locatorPart.PartType.Name), "locatorPart");
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (2)
189return _locatorPartHandlers[locatorPart.PartType] as SubTreeProcessor; 279return _locatorPartHandlers[locatorPart.PartType] as SelectionProcessor;
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (3)
215if (CharacterRangeElementName != locatorPart.PartType) 216throw new ArgumentException(SR.Get(SRID.IncorrectLocatorPartType, locatorPart.PartType.Namespace + ":" + locatorPart.PartType.Name), "locatorPart");
src\Framework\System\Windows\Annotations\LocatorPart.cs (5)
106if (!_type.Equals(part.PartType)) 254if (!_type.Equals(part.PartType)) 373string prefix = namespaceManager.LookupPrefix(this.PartType.Namespace); 402string prefix = namespaceManager.LookupPrefix(this.PartType.Namespace); 404res += this.PartType.Name;
src\Framework\System\Windows\Annotations\LocatorPartList.cs (6)
191prefix = writer.LookupPrefix(part.PartType.Namespace); 201writer.WriteStartElement(prefix, part.PartType.Name, part.PartType.Namespace); 256Annotation.CheckForNonNamespaceAttribute(reader, part.PartType.Name); 260while (!(XmlNodeType.EndElement == reader.NodeType && part.PartType.Name == reader.LocalName)) 317throw new XmlException(SR.Get(SRID.InvalidXmlContent, part.PartType.Name));