Partager via


AttributedText Constructor

Definition

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

Applies to