28 references to Prefixes
PresentationFramework (28)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
549
s_xmlTokeFullNames.Add(token, $"{AnnotationXmlConstants.
Prefixes
.BaseSchemaPrefix}:{xmlName}");
System\Windows\Annotations\Annotation.cs (8)
187
writer.WriteAttributeString(AnnotationXmlConstants.
Prefixes
.XmlnsPrefix, AnnotationXmlConstants.
Prefixes
.CoreSchemaPrefix, null, AnnotationXmlConstants.Namespaces.CoreSchemaNamespace);
191
writer.WriteAttributeString(AnnotationXmlConstants.
Prefixes
.XmlnsPrefix, AnnotationXmlConstants.
Prefixes
.BaseSchemaPrefix, null, AnnotationXmlConstants.Namespaces.BaseSchemaNamespace);
219
writer.WriteElementString(AnnotationXmlConstants.
Prefixes
.BaseSchemaPrefix, AnnotationXmlConstants.Elements.StringAuthor, AnnotationXmlConstants.Namespaces.BaseSchemaNamespace, author);
519
if (reader.LocalName == AnnotationXmlConstants.
Prefixes
.XmlnsPrefix)
524
if (reader.Prefix == AnnotationXmlConstants.
Prefixes
.XmlnsPrefix ||
525
reader.Prefix == AnnotationXmlConstants.
Prefixes
.XmlPrefix)
System\Windows\Annotations\AnnotationResource.cs (2)
114
writer.WriteAttributeString(AnnotationXmlConstants.
Prefixes
.XmlnsPrefix, AnnotationXmlConstants.
Prefixes
.CoreSchemaPrefix, null, AnnotationXmlConstants.Namespaces.CoreSchemaNamespace);
System\Windows\Annotations\LocatorGroup.cs (2)
101
writer.WriteAttributeString(AnnotationXmlConstants.
Prefixes
.XmlnsPrefix, AnnotationXmlConstants.
Prefixes
.CoreSchemaPrefix, null, AnnotationXmlConstants.Namespaces.CoreSchemaNamespace);
System\Windows\Annotations\LocatorPartList.cs (4)
144
writer.WriteAttributeString(AnnotationXmlConstants.
Prefixes
.XmlnsPrefix, AnnotationXmlConstants.
Prefixes
.CoreSchemaPrefix, null, AnnotationXmlConstants.Namespaces.CoreSchemaNamespace);
149
writer.WriteAttributeString(AnnotationXmlConstants.
Prefixes
.XmlnsPrefix, AnnotationXmlConstants.
Prefixes
.BaseSchemaPrefix, null, AnnotationXmlConstants.Namespaces.BaseSchemaNamespace);
System\Windows\Annotations\Storage\XmlStreamStore.cs (11)
239
string query = $@"//{AnnotationXmlConstants.
Prefixes
.CoreSchemaPrefix}:{AnnotationXmlConstants.Elements.ContentLocator}";
267
query += $@"/ancestor::{AnnotationXmlConstants.
Prefixes
.CoreSchemaPrefix}:Anchors/ancestor::{AnnotationXmlConstants.
Prefixes
.CoreSchemaPrefix}:Annotation";
292
string query = $"//{AnnotationXmlConstants.
Prefixes
.CoreSchemaPrefix}:Annotation";
733
$"<?xml version=\"1.0\" encoding=\"utf-8\"?> <{AnnotationXmlConstants.
Prefixes
.CoreSchemaPrefix}:Annotations xmlns:{AnnotationXmlConstants.
Prefixes
.CoreSchemaPrefix}=\"{AnnotationXmlConstants.Namespaces.CoreSchemaNamespace}\" xmlns:{AnnotationXmlConstants.
Prefixes
.BaseSchemaPrefix}=\"{AnnotationXmlConstants.Namespaces.BaseSchemaNamespace}\" />");
742
_namespaceManager.AddNamespace(AnnotationXmlConstants.
Prefixes
.CoreSchemaPrefix, AnnotationXmlConstants.Namespaces.CoreSchemaNamespace);
743
_namespaceManager.AddNamespace(AnnotationXmlConstants.
Prefixes
.BaseSchemaPrefix, AnnotationXmlConstants.Namespaces.BaseSchemaNamespace);
750
XPathNodeIterator iterator = navigator.Select($"//{AnnotationXmlConstants.
Prefixes
.CoreSchemaPrefix}:Annotations", _namespaceManager);
912
XPathNodeIterator iterator = tempNavigator.Select($@"//{AnnotationXmlConstants.
Prefixes
.CoreSchemaPrefix}:Annotation[@Id=""{XmlConvert.ToString(id)}""]", _namespaceManager);