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