TextRun.TextRun

TextRun(string, TextStyle)

Initializes a new instance of the TextRun class.

public TextRun(string text, TextStyle style)
ParameterTypeDescription
textStringThe associated text.
styleTextStyleThe style.

See Also


TextRun(string)

Initializes a new instance of the TextRun class with default style.

public TextRun(string text)
ParameterTypeDescription
textStringThe associated text.

See Also


TextRun(TextStyle)

Initializes a new instance of the TextRun class with empty text.

public TextRun(TextStyle style)
ParameterTypeDescription
styleTextStyleThe style.

See Also


TextRun()

Initializes a new instance of the TextRun class with empty text and default style.

public TextRun()

See Also