10 references to SegmentAttribute
PresentationFramework (10)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (5)
200
part.NameValuePairs.Add(TextSelectionProcessor.
SegmentAttribute
+ 0.ToString(NumberFormatInfo.InvariantInfo), ",,,");
227
part.NameValuePairs.Add(TextSelectionProcessor.
SegmentAttribute
+ i.ToString(NumberFormatInfo.InvariantInfo), value);
496
string segmentValue = locatorPart.NameValuePairs[TextSelectionProcessor.
SegmentAttribute
+ segmentNumber.ToString(NumberFormatInfo.InvariantInfo)];
498
throw new ArgumentException(SR.Format(SR.InvalidLocatorPart, TextSelectionProcessor.
SegmentAttribute
+ segmentNumber.ToString(NumberFormatInfo.InvariantInfo)));
502
throw new ArgumentException(SR.Format(SR.InvalidLocatorPart, TextSelectionProcessor.
SegmentAttribute
+ segmentNumber.ToString(NumberFormatInfo.InvariantInfo)));
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (3)
159
part.NameValuePairs.Add(
SegmentAttribute
+ i.ToString(NumberFormatInfo.InvariantInfo), startOffset.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator + endOffset.ToString(NumberFormatInfo.InvariantInfo));
437
string segmentString = locatorPart.NameValuePairs[
SegmentAttribute
+ segmentNumber.ToString(NumberFormatInfo.InvariantInfo)];
442
throw new ArgumentException(SR.Format(SR.InvalidLocatorPart,
SegmentAttribute
+ segmentNumber.ToString(NumberFormatInfo.InvariantInfo)));
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
148
part.NameValuePairs.Add(TextSelectionProcessor.
SegmentAttribute
+ 0.ToString(NumberFormatInfo.InvariantInfo), startOffset.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator + endOffset.ToString(NumberFormatInfo.InvariantInfo));
System\Windows\Annotations\LocatorPart.cs (1)
375
res += $"[starts-with(@{AnnotationXmlConstants.Attributes.ItemName}, \"{TextSelectionProcessor.
SegmentAttribute
}\") and ((substring-before(@{AnnotationXmlConstants.Attributes.ItemValue},\",\") >= {startStr} and substring-before(@{AnnotationXmlConstants.Attributes.ItemValue},\",\") <= {endStr}) or (substring-before(@{AnnotationXmlConstants.Attributes.ItemValue},\",\") < {startStr} and substring-after(@{AnnotationXmlConstants.Attributes.ItemValue},\",\") >= {startStr}))]";