Click or drag to resize

FormattedText Class

Low level object that provides drawing text with formatting.
Inheritance Hierarchy

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class FormattedText : Widget

The FormattedText type exposes the following members.

Constructors
  NameDescription
Public methodFormattedText
Initializes a new instance of the FormattedText class
Top
Properties
  NameDescription
Public propertyAlignment
Gets or sets how the text should be aligned to MaximumSize
Public propertyFont
Gets or sets the font to use to draw the text.
Public propertyForegroundBrush
Gets or sets the brush to use to draw the text.
Public propertyMaximumHeight
Gets or sets the maximum height of the text.
Public propertyMaximumSize
Gets or sets the maximum size of the text.
Public propertyMaximumWidth
Gets or sets the maximum width of the text.
Public propertyText
Gets or sets the text to display
Public propertyTrimming
Gets or sets the trimming mode.
Public propertyWrap
Gets or sets the wrapping mode.
Top
Methods
  NameDescription
Public methodMeasure
Gets the size needed to draw the text.
Top
See Also