Share via


TextRun Members

The following tables list the members exposed by the TextRun type.

Public Constructors

Name Description
Public Method TextRun Initializes a new instance of the TextRun class (a text run).

Public Fields

Name Description
Public Field Font Specifies the font for the text in the current text run.
Public Field ForeColor Specifies the foreground color for the text in the current text run.
Public Field Text Specifies the text in the current text run.

Protected Fields

Name Description
Protected Field _height Specifies the height, in pixels, of the text in the current text run.
Protected Field _width Specifies the width, in pixels, of the text in the current text run.

Public Properties

Name Description
Public Property Static EndOfLine Gets a text run that is marked as an end-of-line.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetSize Retrieves the dimensions (height and width) of the display area for the text in the current text run.
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

TextRun Class
Microsoft.SPOT.Presentation.Controls Namespace