7 instantiations of ContentLocatorPart
PresentationFramework (7)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
393ContentLocatorPart part = new ContentLocatorPart(DataIdElementName);
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (1)
321ContentLocatorPart part = new ContentLocatorPart(PageNumberElementName);
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
196ContentLocatorPart part = new ContentLocatorPart(FixedTextElementName);
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
151ContentLocatorPart part = new ContentLocatorPart(CharacterRangeElementName);
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
146ContentLocatorPart part = new ContentLocatorPart(TextSelectionProcessor.CharacterRangeElementName);// DocumentPageViewLocatorPart();
System\Windows\Annotations\LocatorPart.cs (1)
139ContentLocatorPart newPart = new ContentLocatorPart(_type);
System\Windows\Annotations\LocatorPartList.cs (1)
211ContentLocatorPart part = new ContentLocatorPart(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI));
54 references to ContentLocatorPart
PresentationFramework (54)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (4)
151ContentLocatorPart newLocatorPart = CreateLocatorPart(node.Node); 176public override DependencyObject ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out bool continueResolving) 384private ContentLocatorPart CreateLocatorPart(DependencyObject node) 393ContentLocatorPart part = new ContentLocatorPart(DataIdElementName);
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (4)
138ContentLocatorPart locatorPart = CreateLocatorPart(pageNb); 165public override DependencyObject ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out bool continueResolving) 317static internal ContentLocatorPart CreateLocatorPart(int page) 321ContentLocatorPart part = new ContentLocatorPart(PageNumberElementName);
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (6)
183public override IList<ContentLocatorPart> 196ContentLocatorPart part = new ContentLocatorPart(FixedTextElementName); 230List<ContentLocatorPart> res = new List<ContentLocatorPart>(1); 253public override Object ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel) 489private void GetLocatorPartSegmentValues(ContentLocatorPart locatorPart, int segmentNumber, out Point start, out Point end)
MS\Internal\Annotations\Anchoring\LocatorManager.cs (5)
151public SubTreeProcessor GetSubTreeProcessorForLocatorPart(ContentLocatorPart locatorPart) 237public SelectionProcessor GetSelectionProcessorForLocatorPart(ContentLocatorPart locatorPart) 712IList<ContentLocatorPart> locatorParts = selProcessor.GenerateLocatorParts(selection, startNode.Node); 894ContentLocatorPart locatorPart = realLocator.Parts[offset]; 1097ContentLocatorPart locatorPart = locator.Parts[data.LocatorPartIndex];
MS\Internal\Annotations\Anchoring\SelectionProcessor.cs (2)
107public abstract IList<ContentLocatorPart> GenerateLocatorParts(Object selection, DependencyObject startNode); 122public abstract Object ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel);
MS\Internal\Annotations\Anchoring\SubTreeProcessor.cs (1)
140public abstract DependencyObject ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out bool continueResolving);
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (7)
124public override IList<ContentLocatorPart> 151ContentLocatorPart part = new ContentLocatorPart(CharacterRangeElementName); 164List<ContentLocatorPart> res = new List<ContentLocatorPart>(1); 187public override Object ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel) 352internal static void GetMaxMinLocatorPartValues(ContentLocatorPart locatorPart, out int startOffset, out int endOffset) 432private static void GetLocatorPartSegmentValues(ContentLocatorPart locatorPart, int segmentNumber, out int startOffset, out int endOffset)
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (5)
122public override IList<ContentLocatorPart> 127List<ContentLocatorPart> res = null; 131res = new List<ContentLocatorPart>(1); 146ContentLocatorPart part = new ContentLocatorPart(TextSelectionProcessor.CharacterRangeElementName);// DocumentPageViewLocatorPart(); 165public override Object ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel)
MS\Internal\Annotations\Anchoring\TreeNodeSelectionProcessor.cs (3)
138public override IList<ContentLocatorPart> GenerateLocatorParts(Object selection, DependencyObject startNode) 143return new List<ContentLocatorPart>(0); 159public override Object ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel)
System\Windows\Annotations\LocatorPart.cs (4)
79ContentLocatorPart part = obj as ContentLocatorPart; 139ContentLocatorPart newPart = new ContentLocatorPart(_type); 225internal bool Matches(ContentLocatorPart part)
System\Windows\Annotations\LocatorPartList.cs (13)
37_parts = new AnnotationObservableCollection<ContentLocatorPart>(); 78ContentLocatorPart left = locator.Parts[locatorPartIndex]; 79ContentLocatorPart right = this.Parts[locatorPartIndex]; 105ContentLocatorPart newPart = null; 106foreach (ContentLocatorPart part in this.Parts) 109newPart = (ContentLocatorPart)part.Clone(); 154foreach (ContentLocatorPart part in _parts) 211ContentLocatorPart part = new ContentLocatorPart(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI)); 320public Collection<ContentLocatorPart> Parts 348internal IList<ContentLocatorBase> DotProduct(IList<ContentLocatorPart> additionalLocatorParts) 443foreach(ContentLocatorPart part in other.Parts) 445this.Parts.Add((ContentLocatorPart)part.Clone()); 481private AnnotationObservableCollection<ContentLocatorPart> _parts;