9 references to CountAttribute
PresentationFramework (9)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (3)
199part.NameValuePairs.Add(TextSelectionProcessor.CountAttribute, 1.ToString(NumberFormatInfo.InvariantInfo)); 204part.NameValuePairs.Add(TextSelectionProcessor.CountAttribute, fp.Segments.Count.ToString(NumberFormatInfo.InvariantInfo)); 304throw new ArgumentException(SR.Format(SR.InvalidLocatorPart, TextSelectionProcessor.CountAttribute));
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (5)
162part.NameValuePairs.Add(CountAttribute, textSegments.Count.ToString(NumberFormatInfo.InvariantInfo)); 200string stringCount = locatorPart.NameValuePairs[CountAttribute]; 202throw new ArgumentException(SR.Format(SR.InvalidLocatorPart, TextSelectionProcessor.CountAttribute)); 356string stringCount = locatorPart.NameValuePairs[CountAttribute]; 358throw new ArgumentException(SR.Format(SR.InvalidLocatorPart, TextSelectionProcessor.CountAttribute));
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
147part.NameValuePairs.Add(TextSelectionProcessor.CountAttribute, 1.ToString(NumberFormatInfo.InvariantInfo));