10 references to SegmentAttribute
PresentationFramework (10)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (5)
211
part.NameValuePairs.Add(TextSelectionProcessor.
SegmentAttribute
+ 0.ToString(NumberFormatInfo.InvariantInfo), ",,,");
238
part.NameValuePairs.Add(TextSelectionProcessor.
SegmentAttribute
+ i.ToString(NumberFormatInfo.InvariantInfo), value);
507
string segmentValue = locatorPart.NameValuePairs[TextSelectionProcessor.
SegmentAttribute
+ segmentNumber.ToString(NumberFormatInfo.InvariantInfo)];
509
throw new ArgumentException(SR.Format(SR.InvalidLocatorPart, TextSelectionProcessor.
SegmentAttribute
+ segmentNumber.ToString(NumberFormatInfo.InvariantInfo)));
513
throw new ArgumentException(SR.Format(SR.InvalidLocatorPart, TextSelectionProcessor.
SegmentAttribute
+ segmentNumber.ToString(NumberFormatInfo.InvariantInfo)));
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (3)
169
part.NameValuePairs.Add(
SegmentAttribute
+ i.ToString(NumberFormatInfo.InvariantInfo), startOffset.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator + endOffset.ToString(NumberFormatInfo.InvariantInfo));
447
string segmentString = locatorPart.NameValuePairs[
SegmentAttribute
+ segmentNumber.ToString(NumberFormatInfo.InvariantInfo)];
452
throw new ArgumentException(SR.Format(SR.InvalidLocatorPart,
SegmentAttribute
+ segmentNumber.ToString(NumberFormatInfo.InvariantInfo)));
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
160
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)
379
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}))]";