34 references to Attributes
PresentationFramework (34)
src\Framework\System\Windows\Annotations\Annotation.cs (15)
232
writer.WriteAttributeString(AnnotationXmlConstants.
Attributes
.Id, XmlConvert.ToString(_id));
233
writer.WriteAttributeString(AnnotationXmlConstants.
Attributes
.CreationTime, XmlConvert.ToString(_created));
234
writer.WriteAttributeString(AnnotationXmlConstants.
Attributes
.LastModificationTime, XmlConvert.ToString(_modified));
238
writer.WriteStartAttribute(AnnotationXmlConstants.
Attributes
.TypeName);
644
case AnnotationXmlConstants.
Attributes
.Id:
651
case AnnotationXmlConstants.
Attributes
.CreationTime:
655
case AnnotationXmlConstants.
Attributes
.LastModificationTime:
661
case AnnotationXmlConstants.
Attributes
.TypeName:
669
throw new FormatException(SR.Get(SRID.InvalidAttributeValue, AnnotationXmlConstants.
Attributes
.TypeName));
680
throw new FormatException(SR.Get(SRID.InvalidAttributeValue, AnnotationXmlConstants.
Attributes
.TypeName));
687
throw new FormatException(SR.Get(SRID.InvalidAttributeValue, AnnotationXmlConstants.
Attributes
.TypeName));
701
throw new XmlException(SR.Get(SRID.RequiredAttributeMissing, AnnotationXmlConstants.
Attributes
.Id, AnnotationXmlConstants.Elements.Annotation));
705
throw new XmlException(SR.Get(SRID.RequiredAttributeMissing, AnnotationXmlConstants.
Attributes
.CreationTime, AnnotationXmlConstants.Elements.Annotation));
709
throw new XmlException(SR.Get(SRID.RequiredAttributeMissing, AnnotationXmlConstants.
Attributes
.LastModificationTime, AnnotationXmlConstants.Elements.Annotation));
713
throw new XmlException(SR.Get(SRID.RequiredAttributeMissing, AnnotationXmlConstants.
Attributes
.TypeName, AnnotationXmlConstants.Elements.Annotation));
src\Framework\System\Windows\Annotations\AnnotationResource.cs (5)
143
writer.WriteAttributeString(AnnotationXmlConstants.
Attributes
.Id, XmlConvert.ToString(_id));
146
writer.WriteAttributeString(AnnotationXmlConstants.
Attributes
.ResourceName, _name);
478
case AnnotationXmlConstants.
Attributes
.Id:
482
case AnnotationXmlConstants.
Attributes
.ResourceName:
495
throw new XmlException(SR.Get(SRID.RequiredAttributeMissing, AnnotationXmlConstants.
Attributes
.Id, AnnotationXmlConstants.Elements.Resource));
src\Framework\System\Windows\Annotations\LocatorPart.cs (7)
386
res += "[starts-with(@" + AnnotationXmlConstants.
Attributes
.ItemName + ", \"" + TextSelectionProcessor.SegmentAttribute + "\") and " +
387
" ((substring-before(@" + AnnotationXmlConstants.
Attributes
.ItemValue + ",\",\") >= " + startStr + " and substring-before(@" + AnnotationXmlConstants.
Attributes
.ItemValue + ",\",\") <= " + endStr + ") or " +
388
" (substring-before(@" + AnnotationXmlConstants.
Attributes
.ItemValue + ",\",\") < " + startStr + " and substring-after(@" + AnnotationXmlConstants.
Attributes
.ItemValue + ",\",\") >= " + startStr + "))]";
419
res += "@" + AnnotationXmlConstants.
Attributes
.ItemName + "=\"" + k_v.Key + "\" and @" + AnnotationXmlConstants.
Attributes
.ItemValue + "=\"" + k_v.Value + "\"]";
src\Framework\System\Windows\Annotations\LocatorPartList.cs (6)
207
writer.WriteAttributeString(AnnotationXmlConstants.
Attributes
.ItemName, pair.Key);
208
writer.WriteAttributeString(AnnotationXmlConstants.
Attributes
.ItemValue, pair.Value);
271
case AnnotationXmlConstants.
Attributes
.ItemName:
274
case AnnotationXmlConstants.
Attributes
.ItemValue:
286
throw new XmlException(SR.Get(SRID.RequiredAttributeMissing, AnnotationXmlConstants.
Attributes
.ItemName, AnnotationXmlConstants.Elements.Item));
290
throw new XmlException(SR.Get(SRID.RequiredAttributeMissing, AnnotationXmlConstants.
Attributes
.ItemValue, AnnotationXmlConstants.Elements.Item));
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (1)
600
throw new XmlException(SR.Get(SRID.RequiredAttributeMissing, AnnotationXmlConstants.
Attributes
.Id, AnnotationXmlConstants.Elements.Annotation));