26 references to NameValuePairs
PresentationFramework (26)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (2)
208
string id = locatorPart.
NameValuePairs
[ValueAttributeName];
417
part.
NameValuePairs
.Add(ValueAttributeName, nodeId);
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (2)
184
string pageNumberString = locatorPart.
NameValuePairs
[ValueAttributeName];
330
part.
NameValuePairs
.Add(ValueAttributeName, page.ToString(NumberFormatInfo.InvariantInfo));
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (6)
210
part.
NameValuePairs
.Add(TextSelectionProcessor.CountAttribute, 1.ToString(NumberFormatInfo.InvariantInfo));
211
part.
NameValuePairs
.Add(TextSelectionProcessor.SegmentAttribute + 0.ToString(NumberFormatInfo.InvariantInfo), ",,,");
215
part.
NameValuePairs
.Add(TextSelectionProcessor.CountAttribute, fp.Segments.Count.ToString(NumberFormatInfo.InvariantInfo));
238
part.
NameValuePairs
.Add(TextSelectionProcessor.SegmentAttribute + i.ToString(NumberFormatInfo.InvariantInfo), value);
313
string stringCount = locatorPart.
NameValuePairs
["Count"];
507
string segmentValue = locatorPart.
NameValuePairs
[TextSelectionProcessor.SegmentAttribute + segmentNumber.ToString(NumberFormatInfo.InvariantInfo)];
MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
313
if (locator.Parts[locator.Parts.Count - 1].
NameValuePairs
.ContainsKey(TextSelectionProcessor.IncludeOverlaps))
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (5)
169
part.
NameValuePairs
.Add(SegmentAttribute + i.ToString(NumberFormatInfo.InvariantInfo), startOffset.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator + endOffset.ToString(NumberFormatInfo.InvariantInfo));
172
part.
NameValuePairs
.Add(CountAttribute, textSegments.Count.ToString(NumberFormatInfo.InvariantInfo));
210
string stringCount = locatorPart.
NameValuePairs
[CountAttribute];
366
string stringCount = locatorPart.
NameValuePairs
[CountAttribute];
447
string segmentString = locatorPart.
NameValuePairs
[SegmentAttribute + segmentNumber.ToString(NumberFormatInfo.InvariantInfo)];
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (3)
159
part.
NameValuePairs
.Add(TextSelectionProcessor.CountAttribute, 1.ToString(NumberFormatInfo.InvariantInfo));
160
part.
NameValuePairs
.Add(TextSelectionProcessor.SegmentAttribute + 0.ToString(NumberFormatInfo.InvariantInfo), startOffset.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator + endOffset.ToString(NumberFormatInfo.InvariantInfo));
161
part.
NameValuePairs
.Add(TextSelectionProcessor.IncludeOverlaps, Boolean.TrueString);
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
380
if (locator.Parts[locator.Parts.Count - 1].
NameValuePairs
.ContainsKey(TextSelectionProcessor.IncludeOverlaps))
System\Windows\Annotations\AnnotationHelper.cs (1)
712
locator.Parts[locator.Parts.Count - 1].
NameValuePairs
.Add(TextSelectionProcessor.IncludeOverlaps, Boolean.TrueString);
System\Windows\Annotations\LocatorPart.cs (3)
105
if (part.
NameValuePairs
.Count != _nameValues.Count)
147
newPart.
NameValuePairs
.Add(k_v.Key, k_v.Value);
399
foreach (KeyValuePair<string, string> k_v in ((ICollection<KeyValuePair<string, string>>)this.
NameValuePairs
))
System\Windows\Annotations\LocatorPartList.cs (2)
190
foreach (KeyValuePair<string, string> pair in part.
NameValuePairs
)
278
part.
NameValuePairs
.Add(name, value);