26 references to NameValuePairs
PresentationFramework (26)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (2)
199
string id = locatorPart.
NameValuePairs
[ValueAttributeName];
408
part.
NameValuePairs
.Add(ValueAttributeName, nodeId);
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (2)
177
string pageNumberString = locatorPart.
NameValuePairs
[ValueAttributeName];
323
part.
NameValuePairs
.Add(ValueAttributeName, page.ToString(NumberFormatInfo.InvariantInfo));
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (6)
199
part.
NameValuePairs
.Add(TextSelectionProcessor.CountAttribute, 1.ToString(NumberFormatInfo.InvariantInfo));
200
part.
NameValuePairs
.Add(TextSelectionProcessor.SegmentAttribute + 0.ToString(NumberFormatInfo.InvariantInfo), ",,,");
204
part.
NameValuePairs
.Add(TextSelectionProcessor.CountAttribute, fp.Segments.Count.ToString(NumberFormatInfo.InvariantInfo));
227
part.
NameValuePairs
.Add(TextSelectionProcessor.SegmentAttribute + i.ToString(NumberFormatInfo.InvariantInfo), value);
302
string stringCount = locatorPart.
NameValuePairs
["Count"];
496
string segmentValue = locatorPart.
NameValuePairs
[TextSelectionProcessor.SegmentAttribute + segmentNumber.ToString(NumberFormatInfo.InvariantInfo)];
MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
302
if (locator.Parts[locator.Parts.Count - 1].
NameValuePairs
.ContainsKey(TextSelectionProcessor.IncludeOverlaps))
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (5)
159
part.
NameValuePairs
.Add(SegmentAttribute + i.ToString(NumberFormatInfo.InvariantInfo), startOffset.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator + endOffset.ToString(NumberFormatInfo.InvariantInfo));
162
part.
NameValuePairs
.Add(CountAttribute, textSegments.Count.ToString(NumberFormatInfo.InvariantInfo));
200
string stringCount = locatorPart.
NameValuePairs
[CountAttribute];
356
string stringCount = locatorPart.
NameValuePairs
[CountAttribute];
437
string segmentString = locatorPart.
NameValuePairs
[SegmentAttribute + segmentNumber.ToString(NumberFormatInfo.InvariantInfo)];
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (3)
147
part.
NameValuePairs
.Add(TextSelectionProcessor.CountAttribute, 1.ToString(NumberFormatInfo.InvariantInfo));
148
part.
NameValuePairs
.Add(TextSelectionProcessor.SegmentAttribute + 0.ToString(NumberFormatInfo.InvariantInfo), startOffset.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator + endOffset.ToString(NumberFormatInfo.InvariantInfo));
149
part.
NameValuePairs
.Add(TextSelectionProcessor.IncludeOverlaps, Boolean.TrueString);
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
375
if (locator.Parts[locator.Parts.Count - 1].
NameValuePairs
.ContainsKey(TextSelectionProcessor.IncludeOverlaps))
System\Windows\Annotations\AnnotationHelper.cs (1)
700
locator.Parts[locator.Parts.Count - 1].
NameValuePairs
.Add(TextSelectionProcessor.IncludeOverlaps, Boolean.TrueString);
System\Windows\Annotations\LocatorPart.cs (3)
101
if (part.
NameValuePairs
.Count != _nameValues.Count)
143
newPart.
NameValuePairs
.Add(k_v.Key, k_v.Value);
395
foreach (KeyValuePair<string, string> k_v in ((ICollection<KeyValuePair<string, string>>)this.
NameValuePairs
))
System\Windows\Annotations\LocatorPartList.cs (2)
183
foreach (KeyValuePair<string, string> pair in part.
NameValuePairs
)
271
part.
NameValuePairs
.Add(name, value);