Skip to main content

TextBlock.InlinesTextSource Constructor

Initializes a new instance of the TextBlock.InlinesTextSource class

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public InlinesTextSource(
IReadOnlyList<TextRun> textRuns,
IReadOnlyList<ValueSpan<TextRunProperties>>? textModifier = null
)

Parameters

  IReadOnlyList(TextRun)
 
  IReadOnlyList(ValueSpan(TextRunProperties))  (Optional)
 

See Also

Reference

TextBlock.InlinesTextSource Structure
Avalonia.Controls Namespace