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