1 implementation of ITextAttributes
Microsoft.Maui.Graphics (1)
Text\TextAttributes.cs (1)
5
public class TextAttributes : Dictionary<TextAttribute, string>,
ITextAttributes
27 references to ITextAttributes
Microsoft.Maui.Graphics (27)
Text\AttributedTextBlock.cs (2)
6
public
ITextAttributes
Attributes { get; }
8
public AttributedTextBlock(string text,
ITextAttributes
attributes)
Text\AttributedTextRun.cs (2)
8
ITextAttributes
attributes)
19
public
ITextAttributes
Attributes { get; }
Text\AttributedTextRunExtensions.cs (2)
72
var
combined = first.Attributes.Union(second.Attributes);
188
var
combined = previous.Attributes.Union(run.Attributes);
Text\IAttributedTextRun.cs (1)
8
ITextAttributes
Attributes { get; }
Text\TextAttributeExtensions.cs (13)
10
public static string GetFontName(this
ITextAttributes
attributes)
23
this
ITextAttributes
attributes,
36
public static bool GetUnderline(this
ITextAttributes
attributes)
48
public static bool GetBold(this
ITextAttributes
attributes)
60
public static bool GetItalic(this
ITextAttributes
attributes)
72
public static bool GetUnorderedList(this
ITextAttributes
attributes)
84
public static MarkerType GetMarker(this
ITextAttributes
attributes)
96
public static bool GetStrikethrough(this
ITextAttributes
attributes)
108
public static bool GetSuperscript(this
ITextAttributes
attributes)
114
public static bool GetSubscript(this
ITextAttributes
attributes)
120
public static string GetForegroundColor(this
ITextAttributes
attributes)
126
public static string GetBackgroundColor(this
ITextAttributes
attributes)
132
public static
ITextAttributes
Union(
Text\TextAttributesExtensions.cs (5)
10
this
ITextAttributes
attributes,
45
this
ITextAttributes
attributes,
72
this
ITextAttributes
attributes,
101
this
ITextAttributes
attributes,
128
this
ITextAttributes
attributes,
Text\XmlAttributedTextWriter.cs (2)
59
var
attributes = run.Attributes;
79
ITextAttributes
currentAttributes,