7 instantiations of ContentLocatorPart
PresentationFramework (7)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
392
ContentLocatorPart part = new
ContentLocatorPart
(DataIdElementName);
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (1)
320
ContentLocatorPart part = new
ContentLocatorPart
(PageNumberElementName);
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
195
ContentLocatorPart part = new
ContentLocatorPart
(FixedTextElementName);
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
150
ContentLocatorPart part = new
ContentLocatorPart
(CharacterRangeElementName);
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
145
ContentLocatorPart part = new
ContentLocatorPart
(TextSelectionProcessor.CharacterRangeElementName);// DocumentPageViewLocatorPart();
System\Windows\Annotations\LocatorPart.cs (1)
138
ContentLocatorPart newPart = new
ContentLocatorPart
(_type);
System\Windows\Annotations\LocatorPartList.cs (1)
210
ContentLocatorPart part = new
ContentLocatorPart
(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI));
54 references to ContentLocatorPart
PresentationFramework (54)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (4)
150
ContentLocatorPart
newLocatorPart = CreateLocatorPart(node.Node);
175
public override DependencyObject ResolveLocatorPart(
ContentLocatorPart
locatorPart, DependencyObject startNode, out bool continueResolving)
383
private
ContentLocatorPart
CreateLocatorPart(DependencyObject node)
392
ContentLocatorPart
part = new ContentLocatorPart(DataIdElementName);
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (4)
137
ContentLocatorPart
locatorPart = CreateLocatorPart(pageNb);
164
public override DependencyObject ResolveLocatorPart(
ContentLocatorPart
locatorPart, DependencyObject startNode, out bool continueResolving)
316
internal static
ContentLocatorPart
CreateLocatorPart(int page)
320
ContentLocatorPart
part = new ContentLocatorPart(PageNumberElementName);
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (6)
182
public override IList<
ContentLocatorPart
>
195
ContentLocatorPart
part = new ContentLocatorPart(FixedTextElementName);
229
List<
ContentLocatorPart
> res = new List<
ContentLocatorPart
>(1);
252
public override Object ResolveLocatorPart(
ContentLocatorPart
locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel)
488
private void GetLocatorPartSegmentValues(
ContentLocatorPart
locatorPart, int segmentNumber, out Point start, out Point end)
MS\Internal\Annotations\Anchoring\LocatorManager.cs (5)
150
public SubTreeProcessor GetSubTreeProcessorForLocatorPart(
ContentLocatorPart
locatorPart)
236
public SelectionProcessor GetSelectionProcessorForLocatorPart(
ContentLocatorPart
locatorPart)
711
IList<
ContentLocatorPart
> locatorParts = selProcessor.GenerateLocatorParts(selection, startNode.Node);
893
ContentLocatorPart
locatorPart = realLocator.Parts[offset];
1096
ContentLocatorPart
locatorPart = locator.Parts[data.LocatorPartIndex];
MS\Internal\Annotations\Anchoring\SelectionProcessor.cs (2)
106
public abstract IList<
ContentLocatorPart
> GenerateLocatorParts(Object selection, DependencyObject startNode);
121
public abstract Object ResolveLocatorPart(
ContentLocatorPart
locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel);
MS\Internal\Annotations\Anchoring\SubTreeProcessor.cs (1)
139
public abstract DependencyObject ResolveLocatorPart(
ContentLocatorPart
locatorPart, DependencyObject startNode, out bool continueResolving);
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (7)
123
public override IList<
ContentLocatorPart
>
150
ContentLocatorPart
part = new ContentLocatorPart(CharacterRangeElementName);
163
List<
ContentLocatorPart
> res = new List<
ContentLocatorPart
>(1);
186
public override Object ResolveLocatorPart(
ContentLocatorPart
locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel)
351
internal static void GetMaxMinLocatorPartValues(
ContentLocatorPart
locatorPart, out int startOffset, out int endOffset)
431
private static void GetLocatorPartSegmentValues(
ContentLocatorPart
locatorPart, int segmentNumber, out int startOffset, out int endOffset)
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (5)
121
public override IList<
ContentLocatorPart
>
126
List<
ContentLocatorPart
> res = null;
130
res = new List<
ContentLocatorPart
>(1);
145
ContentLocatorPart
part = new ContentLocatorPart(TextSelectionProcessor.CharacterRangeElementName);// DocumentPageViewLocatorPart();
164
public override Object ResolveLocatorPart(
ContentLocatorPart
locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel)
MS\Internal\Annotations\Anchoring\TreeNodeSelectionProcessor.cs (3)
137
public override IList<
ContentLocatorPart
> GenerateLocatorParts(Object selection, DependencyObject startNode)
142
return new List<
ContentLocatorPart
>(0);
158
public override Object ResolveLocatorPart(
ContentLocatorPart
locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel)
System\Windows\Annotations\LocatorPart.cs (4)
78
ContentLocatorPart
part = obj as
ContentLocatorPart
;
138
ContentLocatorPart
newPart = new ContentLocatorPart(_type);
224
internal bool Matches(
ContentLocatorPart
part)
System\Windows\Annotations\LocatorPartList.cs (13)
36
_parts = new AnnotationObservableCollection<
ContentLocatorPart
>();
77
ContentLocatorPart
left = locator.Parts[locatorPartIndex];
78
ContentLocatorPart
right = this.Parts[locatorPartIndex];
104
ContentLocatorPart
newPart = null;
105
foreach (
ContentLocatorPart
part in this.Parts)
108
newPart = (
ContentLocatorPart
)part.Clone();
153
foreach (
ContentLocatorPart
part in _parts)
210
ContentLocatorPart
part = new ContentLocatorPart(new XmlQualifiedName(reader.LocalName, reader.NamespaceURI));
319
public Collection<
ContentLocatorPart
> Parts
347
internal IList<ContentLocatorBase> DotProduct(IList<
ContentLocatorPart
> additionalLocatorParts)
442
foreach(
ContentLocatorPart
part in other.Parts)
444
this.Parts.Add((
ContentLocatorPart
)part.Clone());
480
private AnnotationObservableCollection<
ContentLocatorPart
> _parts;