22 references to AttributedTextRun
Microsoft.Maui.Graphics (21)
Text\AttributedTextExtensions.cs (3)
115 runs.Add(new AttributedTextRun(paragraphStart, paragraphLength, run.Attributes)); 134 runs.Add(new AttributedTextRun(paragraphStart, paragraphLength, run.Attributes)); 144 runs.Add(new AttributedTextRun(paragraphStart, paragraphLength, run.Attributes));
Text\AttributedTextRunExtensions.cs (17)
77 intersections.Add(new AttributedTextRun(first.Start, first.Length, combined)); 86 intersections.Add(new AttributedTextRun(start1, length1, combined)); 87 intersections.Add(new AttributedTextRun(start2, length2, first.Attributes)); 96 intersections.Add(new AttributedTextRun(start1, length1, combined)); 97 intersections.Add(new AttributedTextRun(start2, length2, second.Attributes)); 109 intersections.Add(new AttributedTextRun(start1, length1, first.Attributes)); 110 intersections.Add(new AttributedTextRun(start2, length2, combined)); 119 intersections.Add(new AttributedTextRun(start1, length1, second.Attributes)); 120 intersections.Add(new AttributedTextRun(start2, length2, combined)); 134 intersections.Add(new AttributedTextRun(start1, length1, first.Attributes)); 135 intersections.Add(new AttributedTextRun(start2, length2, combined)); 136 intersections.Add(new AttributedTextRun(start3, length3, first.GetEnd() > second.GetEnd() ? first.Attributes : second.Attributes)); 147 intersections.Add(new AttributedTextRun(start1, length1, second.Attributes)); 148 intersections.Add(new AttributedTextRun(start2, length2, combined)); 149 intersections.Add(new AttributedTextRun(start3, length3, first.GetEnd() > second.GetEnd() ? first.Attributes : second.Attributes)); 170 runs[i] = new AttributedTextRun(start, length, run.Attributes); 189 run = runs[i - 1] = new AttributedTextRun(run.Start, run.Length, combined);
Text\XmlAttributedTextReader.cs (1)
134 var run = new AttributedTextRun(start, length, attributes);
Microsoft.Maui.Graphics.Text.Markdig (1)
Renderer\AttributedTextRenderer.cs (1)
45 _runs.Add(new AttributedTextRun(start, length, attributes));