9 references to CountAttribute
PresentationFramework (9)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (3)
198
part.NameValuePairs.Add(TextSelectionProcessor.
CountAttribute
, 1.ToString(NumberFormatInfo.InvariantInfo));
203
part.NameValuePairs.Add(TextSelectionProcessor.
CountAttribute
, fp.Segments.Count.ToString(NumberFormatInfo.InvariantInfo));
303
throw new ArgumentException(SR.Format(SR.InvalidLocatorPart, TextSelectionProcessor.
CountAttribute
));
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (5)
161
part.NameValuePairs.Add(
CountAttribute
, textSegments.Count.ToString(NumberFormatInfo.InvariantInfo));
199
string stringCount = locatorPart.NameValuePairs[
CountAttribute
];
201
throw new ArgumentException(SR.Format(SR.InvalidLocatorPart, TextSelectionProcessor.
CountAttribute
));
355
string stringCount = locatorPart.NameValuePairs[
CountAttribute
];
357
throw new ArgumentException(SR.Format(SR.InvalidLocatorPart, TextSelectionProcessor.
CountAttribute
));
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
146
part.NameValuePairs.Add(TextSelectionProcessor.
CountAttribute
, 1.ToString(NumberFormatInfo.InvariantInfo));