Share via


TextRun Constructor

Initializes a new instance of the TextRun class (a text run).

Namespace: Microsoft.SPOT.Presentation.Controls
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public TextRun (
         stringtext,
         Fontfont,
         ColorforeColor
)

Parameters

  • text
    The text in the text run.
  • font
    The font for the text in the text run.
  • foreColor
    The foreground color for the text in the text run.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

TextRun Class
TextRun Members
Microsoft.SPOT.Presentation.Controls Namespace