29 references to PartType
PresentationFramework (29)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (5)
192
if (DataIdElementName != locatorPart.
PartType
)
193
throw new ArgumentException(SR.Format(SR.IncorrectLocatorPartType, $"{locatorPart.
PartType
.Namespace}:{locatorPart.
PartType
.Name}"), "locatorPart");
202
throw new ArgumentException(SR.Format(SR.IncorrectLocatorPartType, $"{locatorPart.
PartType
.Namespace}:{locatorPart.
PartType
.Name}"), "locatorPart");
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (5)
170
if (PageNumberElementName != locatorPart.
PartType
)
171
throw new ArgumentException(SR.Format(SR.IncorrectLocatorPartType, $"{locatorPart.
PartType
.Namespace}:{locatorPart.
PartType
.Name}"), "locatorPart");
182
throw new ArgumentException(SR.Format(SR.IncorrectLocatorPartType, $"{locatorPart.
PartType
.Namespace}:{locatorPart.
PartType
.Name}"), "locatorPart");
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (3)
493
if (FixedTextElementName != locatorPart.
PartType
)
494
throw new ArgumentException(SR.Format(SR.IncorrectLocatorPartType, $"{locatorPart.
PartType
.Namespace}:{locatorPart.
PartType
.Name}"), "locatorPart");
MS\Internal\Annotations\Anchoring\LocatorManager.cs (2)
167
return _locatorPartHandlers[locatorPart.
PartType
] as SubTreeProcessor;
253
return _locatorPartHandlers[locatorPart.
PartType
] as SelectionProcessor;
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (3)
192
if (CharacterRangeElementName != locatorPart.
PartType
)
193
throw new ArgumentException(SR.Format(SR.IncorrectLocatorPartType, $"{locatorPart.
PartType
.Namespace}:{locatorPart.
PartType
.Name}"), "locatorPart");
System\Windows\Annotations\LocatorPart.cs (5)
95
if (!_type.Equals(part.
PartType
))
243
if (!_type.Equals(part.
PartType
))
362
string prefix = namespaceManager.LookupPrefix(this.
PartType
.Namespace);
389
string prefix = namespaceManager.LookupPrefix(this.
PartType
.Namespace);
391
res += this.
PartType
.Name;
System\Windows\Annotations\LocatorPartList.cs (6)
170
prefix = writer.LookupPrefix(part.
PartType
.Namespace);
180
writer.WriteStartElement(prefix, part.
PartType
.Name, part.
PartType
.Namespace);
232
Annotation.CheckForNonNamespaceAttribute(reader, part.
PartType
.Name);
236
while (!(XmlNodeType.EndElement == reader.NodeType && part.
PartType
.Name == reader.LocalName))
293
throw new XmlException(SR.Format(SR.InvalidXmlContent, part.
PartType
.Name));