7 instantiations of ContentLocatorPart
PresentationFramework (7)
src\Framework\MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
432ContentLocatorPart part = new ContentLocatorPart(DataIdElementName);
src\Framework\MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (1)
337ContentLocatorPart part = new ContentLocatorPart(PageNumberElementName);
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
214ContentLocatorPart part = new ContentLocatorPart(FixedTextElementName);
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
171ContentLocatorPart part = new ContentLocatorPart(CharacterRangeElementName);
src\Framework\MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
161ContentLocatorPart part = new ContentLocatorPart(TextSelectionProcessor.CharacterRangeElementName);// DocumentPageViewLocatorPart();
src\Framework\System\Windows\Annotations\LocatorPart.cs (1)
150ContentLocatorPart newPart = new ContentLocatorPart(_type);
src\Framework\System\Windows\Annotations\LocatorPartList.cs (1)
249ContentLocatorPart part = new ContentLocatorPart(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI));
54 references to ContentLocatorPart
PresentationFramework (54)
src\Framework\MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (4)
181ContentLocatorPart newLocatorPart = CreateLocatorPart(node.Node); 206public override DependencyObject ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out bool continueResolving) 423private ContentLocatorPart CreateLocatorPart(DependencyObject node) 432ContentLocatorPart part = new ContentLocatorPart(DataIdElementName);
src\Framework\MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (4)
151ContentLocatorPart locatorPart = CreateLocatorPart(pageNb); 178public override DependencyObject ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out bool continueResolving) 333static internal ContentLocatorPart CreateLocatorPart(int page) 337ContentLocatorPart part = new ContentLocatorPart(PageNumberElementName);
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (6)
198public override IList<ContentLocatorPart> 214ContentLocatorPart part = new ContentLocatorPart(FixedTextElementName); 248List<ContentLocatorPart> res = new List<ContentLocatorPart>(1); 272public override Object ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel) 512private void GetLocatorPartSegmentValues(ContentLocatorPart locatorPart, int segmentNumber, out Point start, out Point end)
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (5)
183public SubTreeProcessor GetSubTreeProcessorForLocatorPart(ContentLocatorPart locatorPart) 273public SelectionProcessor GetSelectionProcessorForLocatorPart(ContentLocatorPart locatorPart) 761IList <ContentLocatorPart> locatorParts = selProcessor.GenerateLocatorParts(selection, startNode.Node); 943ContentLocatorPart locatorPart = realLocator.Parts[offset]; 1144ContentLocatorPart locatorPart = locator.Parts[data.LocatorPartIndex];
src\Framework\MS\Internal\Annotations\Anchoring\SelectionProcessor.cs (2)
121public abstract IList<ContentLocatorPart> GenerateLocatorParts(Object selection, DependencyObject startNode); 136public abstract Object ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel);
src\Framework\MS\Internal\Annotations\Anchoring\SubTreeProcessor.cs (1)
156public abstract DependencyObject ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out bool continueResolving);
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (7)
141public override IList <ContentLocatorPart> 171ContentLocatorPart part = new ContentLocatorPart(CharacterRangeElementName); 184List<ContentLocatorPart> res = new List<ContentLocatorPart>(1); 207public override Object ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel) 375internal static void GetMaxMinLocatorPartValues(ContentLocatorPart locatorPart, out int startOffset, out int endOffset) 456private static void GetLocatorPartSegmentValues(ContentLocatorPart locatorPart, int segmentNumber, out int startOffset, out int endOffset)
src\Framework\MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (5)
136public override IList<ContentLocatorPart> 142List<ContentLocatorPart> res = null; 146res = new List<ContentLocatorPart>(1); 161ContentLocatorPart part = new ContentLocatorPart(TextSelectionProcessor.CharacterRangeElementName);// DocumentPageViewLocatorPart(); 180public override Object ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel)
src\Framework\MS\Internal\Annotations\Anchoring\TreeNodeSelectionProcessor.cs (3)
154public override IList<ContentLocatorPart> GenerateLocatorParts(Object selection, DependencyObject startNode) 162return new List<ContentLocatorPart>(0); 178public override Object ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel)
src\Framework\System\Windows\Annotations\LocatorPart.cs (4)
90ContentLocatorPart part = obj as ContentLocatorPart; 150ContentLocatorPart newPart = new ContentLocatorPart(_type); 236internal bool Matches(ContentLocatorPart part)
src\Framework\System\Windows\Annotations\LocatorPartList.cs (13)
65_parts = new AnnotationObservableCollection<ContentLocatorPart>(); 110ContentLocatorPart left = locator.Parts[locatorPartIndex]; 111ContentLocatorPart right = this.Parts[locatorPartIndex]; 137ContentLocatorPart newPart = null; 138foreach (ContentLocatorPart part in this.Parts) 141newPart = (ContentLocatorPart)part.Clone(); 189foreach (ContentLocatorPart part in _parts) 249ContentLocatorPart part = new ContentLocatorPart(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI)); 358public Collection<ContentLocatorPart> Parts 386internal IList<ContentLocatorBase> DotProduct(IList<ContentLocatorPart> additionalLocatorParts) 481foreach(ContentLocatorPart part in other.Parts) 483this.Parts.Add((ContentLocatorPart)part.Clone()); 519private AnnotationObservableCollection<ContentLocatorPart> _parts;