TextBlock.InlinesTextSource Constructor
Initializes a new instance of the TextBlock.InlinesTextSource class
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public InlinesTextSource(
IReadOnlyList<TextRun> textRuns,
IReadOnlyList<ValueSpan<TextRunProperties>>? textModifier = null
)
Public Sub New (
textRuns As IReadOnlyList(Of TextRun),
Optional textModifier As IReadOnlyList(Of ValueSpan(Of TextRunProperties)) = Nothing
)
new :
textRuns : IReadOnlyList<TextRun> *
?textModifier : IReadOnlyList<ValueSpan<TextRunProperties>>
(* Defaults:
let _textModifier = defaultArg textModifier null
*)
-> InlinesTextSource
Parameters
- IReadOnlyList(TextRun)
- IReadOnlyList(ValueSpan(TextRunProperties)) (Optional)
See Also
Reference
TextBlock.InlinesTextSource Structure
Avalonia.Controls Namespace