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