AttributedText Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public AttributedText (string text, System.Collections.Generic.IReadOnlyList<Microsoft.Maui.Graphics.Text.IAttributedTextRun> runs, bool optimal = false);
new Microsoft.Maui.Graphics.Text.AttributedText : string * System.Collections.Generic.IReadOnlyList<Microsoft.Maui.Graphics.Text.IAttributedTextRun> * bool -> Microsoft.Maui.Graphics.Text.AttributedText
Public Sub New (text As String, runs As IReadOnlyList(Of IAttributedTextRun), Optional optimal As Boolean = false)
Parameters
- text
- String
- optimal
- Boolean