1 implementation of Attributes
Microsoft.Maui.Graphics (1)
Text\AttributedTextRun.cs (1)
19
public ITextAttributes
Attributes
{ get; }
22 references to Attributes
Microsoft.Maui.Graphics (22)
Text\AttributedTextExtensions.cs (4)
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
));
180
blocks.Add(new AttributedTextBlock(value, run.
Attributes
));
Text\AttributedTextRunExtensions.cs (15)
72
var combined = first.
Attributes
.Union(second.
Attributes
);
87
intersections.Add(new AttributedTextRun(start2, length2, first.
Attributes
));
97
intersections.Add(new AttributedTextRun(start2, length2, second.
Attributes
));
109
intersections.Add(new AttributedTextRun(start1, length1, first.
Attributes
));
119
intersections.Add(new AttributedTextRun(start1, length1, second.
Attributes
));
134
intersections.Add(new AttributedTextRun(start1, length1, first.
Attributes
));
136
intersections.Add(new AttributedTextRun(start3, length3, first.GetEnd() > second.GetEnd() ? first.
Attributes
: second.
Attributes
));
147
intersections.Add(new AttributedTextRun(start1, length1, second.
Attributes
));
149
intersections.Add(new AttributedTextRun(start3, length3, first.GetEnd() > second.GetEnd() ? first.
Attributes
: second.
Attributes
));
170
runs[i] = new AttributedTextRun(start, length, run.
Attributes
);
188
var combined = previous.
Attributes
.Union(run.
Attributes
);
Text\XmlAttributedTextWriter.cs (3)
57
if (run.
Attributes
!= null)
59
var attributes = run.
Attributes
;
71
foreach (var entry in run.
Attributes
)