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