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