7 instantiations of ContentLocatorPart
PresentationFramework (7)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
415
ContentLocatorPart part = new
ContentLocatorPart
(DataIdElementName);
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (1)
328
ContentLocatorPart part = new
ContentLocatorPart
(PageNumberElementName);
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
207
ContentLocatorPart part = new
ContentLocatorPart
(FixedTextElementName);
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
161
ContentLocatorPart part = new
ContentLocatorPart
(CharacterRangeElementName);
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
158
ContentLocatorPart part = new
ContentLocatorPart
(TextSelectionProcessor.CharacterRangeElementName);// DocumentPageViewLocatorPart();
System\Windows\Annotations\LocatorPart.cs (1)
143
ContentLocatorPart newPart = new
ContentLocatorPart
(_type);
System\Windows\Annotations\LocatorPartList.cs (1)
232
ContentLocatorPart part = new
ContentLocatorPart
(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI));
54 references to ContentLocatorPart
PresentationFramework (54)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (4)
171
ContentLocatorPart
newLocatorPart = CreateLocatorPart(node.Node);
196
public override DependencyObject ResolveLocatorPart(
ContentLocatorPart
locatorPart, DependencyObject startNode, out bool continueResolving)
406
private
ContentLocatorPart
CreateLocatorPart(DependencyObject node)
415
ContentLocatorPart
part = new ContentLocatorPart(DataIdElementName);
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (4)
145
ContentLocatorPart
locatorPart = CreateLocatorPart(pageNb);
172
public override DependencyObject ResolveLocatorPart(
ContentLocatorPart
locatorPart, DependencyObject startNode, out bool continueResolving)
324
static internal
ContentLocatorPart
CreateLocatorPart(int page)
328
ContentLocatorPart
part = new ContentLocatorPart(PageNumberElementName);
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (6)
194
public override IList<
ContentLocatorPart
>
207
ContentLocatorPart
part = new ContentLocatorPart(FixedTextElementName);
241
List<
ContentLocatorPart
> res = new List<
ContentLocatorPart
>(1);
264
public override Object ResolveLocatorPart(
ContentLocatorPart
locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel)
500
private void GetLocatorPartSegmentValues(
ContentLocatorPart
locatorPart, int segmentNumber, out Point start, out Point end)
MS\Internal\Annotations\Anchoring\LocatorManager.cs (5)
173
public SubTreeProcessor GetSubTreeProcessorForLocatorPart(
ContentLocatorPart
locatorPart)
259
public SelectionProcessor GetSelectionProcessorForLocatorPart(
ContentLocatorPart
locatorPart)
735
IList<
ContentLocatorPart
> locatorParts = selProcessor.GenerateLocatorParts(selection, startNode.Node);
917
ContentLocatorPart
locatorPart = realLocator.Parts[offset];
1118
ContentLocatorPart
locatorPart = locator.Parts[data.LocatorPartIndex];
MS\Internal\Annotations\Anchoring\SelectionProcessor.cs (2)
112
public abstract IList<
ContentLocatorPart
> GenerateLocatorParts(Object selection, DependencyObject startNode);
127
public abstract Object ResolveLocatorPart(
ContentLocatorPart
locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel);
MS\Internal\Annotations\Anchoring\SubTreeProcessor.cs (1)
147
public abstract DependencyObject ResolveLocatorPart(
ContentLocatorPart
locatorPart, DependencyObject startNode, out bool continueResolving);
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (7)
134
public override IList<
ContentLocatorPart
>
161
ContentLocatorPart
part = new ContentLocatorPart(CharacterRangeElementName);
174
List<
ContentLocatorPart
> res = new List<
ContentLocatorPart
>(1);
197
public override Object ResolveLocatorPart(
ContentLocatorPart
locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel)
362
internal static void GetMaxMinLocatorPartValues(
ContentLocatorPart
locatorPart, out int startOffset, out int endOffset)
442
private static void GetLocatorPartSegmentValues(
ContentLocatorPart
locatorPart, int segmentNumber, out int startOffset, out int endOffset)
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (5)
134
public override IList<
ContentLocatorPart
>
139
List<
ContentLocatorPart
> res = null;
143
res = new List<
ContentLocatorPart
>(1);
158
ContentLocatorPart
part = new ContentLocatorPart(TextSelectionProcessor.CharacterRangeElementName);// DocumentPageViewLocatorPart();
177
public override Object ResolveLocatorPart(
ContentLocatorPart
locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel)
MS\Internal\Annotations\Anchoring\TreeNodeSelectionProcessor.cs (3)
145
public override IList<
ContentLocatorPart
> GenerateLocatorParts(Object selection, DependencyObject startNode)
150
return new List<
ContentLocatorPart
>(0);
166
public override Object ResolveLocatorPart(
ContentLocatorPart
locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel)
System\Windows\Annotations\LocatorPart.cs (4)
83
ContentLocatorPart
part = obj as
ContentLocatorPart
;
143
ContentLocatorPart
newPart = new ContentLocatorPart(_type);
229
internal bool Matches(
ContentLocatorPart
part)
System\Windows\Annotations\LocatorPartList.cs (13)
57
_parts = new AnnotationObservableCollection<
ContentLocatorPart
>();
99
ContentLocatorPart
left = locator.Parts[locatorPartIndex];
100
ContentLocatorPart
right = this.Parts[locatorPartIndex];
126
ContentLocatorPart
newPart = null;
127
foreach (
ContentLocatorPart
part in this.Parts)
130
newPart = (
ContentLocatorPart
)part.Clone();
175
foreach (
ContentLocatorPart
part in _parts)
232
ContentLocatorPart
part = new ContentLocatorPart(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI));
341
public Collection<
ContentLocatorPart
> Parts
369
internal IList<ContentLocatorBase> DotProduct(IList<
ContentLocatorPart
> additionalLocatorParts)
464
foreach(
ContentLocatorPart
part in other.Parts)
466
this.Parts.Add((
ContentLocatorPart
)part.Clone());
502
private AnnotationObservableCollection<
ContentLocatorPart
> _parts;