20 references to XmlAttributedTextNames
Microsoft.Maui.Graphics (20)
Text\XmlAttributedTextReader.cs (9)
8using XmlNames = Microsoft.Maui.Graphics.Text.XmlAttributedTextNames; 74 if (XmlNames.Content.Equals(elementName, StringComparison.Ordinal)) 77 _contentEncoded = ReadBool(XmlNames.Encoded); 79 else if (XmlNames.Run.Equals(elementName, StringComparison.Ordinal)) 88 if (XmlNames.Content.Equals(elementName, StringComparison.Ordinal)) 113 var start = ReadInt(XmlNames.Start, 0); 114 var length = ReadInt(XmlNames.Length, 0); 124 if (!(XmlNames.Start.Equals(attributeName, StringComparison.Ordinal) || XmlNames.Length.Equals(attributeName, StringComparison.Ordinal)))
Text\XmlAttributedTextWriter.cs (11)
5using XmlNames = Microsoft.Maui.Graphics.Text.XmlAttributedTextNames; 28 writer.Write($"<{XmlNames.AttributedText}>"); 31 writer.Write($"<{XmlNames.Content} {XmlNames.Encoded}=\"True\"><![CDATA["); 34 writer.Write($"]]></{XmlNames.Content}>"); 38 writer.Write($"<{XmlNames.Content}><![CDATA["); 40 writer.Write($"]]></{XmlNames.Content}>"); 49 writer.Write($"</{XmlNames.AttributedText}>"); 61 writer.Write($"<{XmlNames.Run}"); 63 writer.Write($" {XmlNames.Start}=\""); 67 writer.Write($" {XmlNames.Length}=\"");