29 references to PartType
PresentationFramework (29)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (5)
201
if (DataIdElementName != locatorPart.
PartType
)
202
throw new ArgumentException(SR.Format(SR.IncorrectLocatorPartType, $"{locatorPart.
PartType
.Namespace}:{locatorPart.
PartType
.Name}"), "locatorPart");
211
throw new ArgumentException(SR.Format(SR.IncorrectLocatorPartType, $"{locatorPart.
PartType
.Namespace}:{locatorPart.
PartType
.Name}"), "locatorPart");
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (5)
177
if (PageNumberElementName != locatorPart.
PartType
)
178
throw new ArgumentException(SR.Format(SR.IncorrectLocatorPartType, $"{locatorPart.
PartType
.Namespace}:{locatorPart.
PartType
.Name}"), "locatorPart");
189
throw new ArgumentException(SR.Format(SR.IncorrectLocatorPartType, $"{locatorPart.
PartType
.Namespace}:{locatorPart.
PartType
.Name}"), "locatorPart");
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (3)
504
if (FixedTextElementName != locatorPart.
PartType
)
505
throw new ArgumentException(SR.Format(SR.IncorrectLocatorPartType, $"{locatorPart.
PartType
.Namespace}:{locatorPart.
PartType
.Name}"), "locatorPart");
MS\Internal\Annotations\Anchoring\LocatorManager.cs (2)
178
return _locatorPartHandlers[locatorPart.
PartType
] as SubTreeProcessor;
264
return _locatorPartHandlers[locatorPart.
PartType
] as SelectionProcessor;
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (3)
202
if (CharacterRangeElementName != locatorPart.
PartType
)
203
throw new ArgumentException(SR.Format(SR.IncorrectLocatorPartType, $"{locatorPart.
PartType
.Namespace}:{locatorPart.
PartType
.Name}"), "locatorPart");
System\Windows\Annotations\LocatorPart.cs (5)
99
if (!_type.Equals(part.
PartType
))
247
if (!_type.Equals(part.
PartType
))
366
string prefix = namespaceManager.LookupPrefix(this.
PartType
.Namespace);
393
string prefix = namespaceManager.LookupPrefix(this.
PartType
.Namespace);
395
res += this.
PartType
.Name;
System\Windows\Annotations\LocatorPartList.cs (6)
177
prefix = writer.LookupPrefix(part.
PartType
.Namespace);
187
writer.WriteStartElement(prefix, part.
PartType
.Name, part.
PartType
.Namespace);
239
Annotation.CheckForNonNamespaceAttribute(reader, part.
PartType
.Name);
243
while (!(XmlNodeType.EndElement == reader.NodeType && part.
PartType
.Name == reader.LocalName))
300
throw new XmlException(SR.Format(SR.InvalidXmlContent, part.
PartType
.Name));