# FormattedText.IHandler interface

Namespace: [Eto.Drawing](https://eto.picoe.ca/api/namespace/eto.drawing.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public interface FormattedText.IHandler : Widget.IHandler
```

Handler for implementations of the [FormattedText](https://eto.picoe.ca/api/type/eto.drawing.formattedtext.md) class.

## Properties

- [Alignment](https://eto.picoe.ca/api/type/eto.drawing.formattedtext.ihandler/alignment.md): Gets or sets how the text should be aligned to [FormattedText.IHandler.MaximumSize](https://eto.picoe.ca/api/type/eto.drawing.formattedtext.ihandler/maximumsize.md)
- [Font](https://eto.picoe.ca/api/type/eto.drawing.formattedtext.ihandler/font.md): Gets or sets the font to use to draw the text.
- [ForegroundBrush](https://eto.picoe.ca/api/type/eto.drawing.formattedtext.ihandler/foregroundbrush.md): Gets or sets the brush to use to draw the text.
- [MaximumSize](https://eto.picoe.ca/api/type/eto.drawing.formattedtext.ihandler/maximumsize.md): Gets or sets the maximum size of the text.
- [Text](https://eto.picoe.ca/api/type/eto.drawing.formattedtext.ihandler/text.md): Gets or sets the text to display
- [Trimming](https://eto.picoe.ca/api/type/eto.drawing.formattedtext.ihandler/trimming.md): Gets or sets the trimming mode.
- [Wrap](https://eto.picoe.ca/api/type/eto.drawing.formattedtext.ihandler/wrap.md): Gets or sets the wrapping mode.

## Methods

- [Measure](https://eto.picoe.ca/api/type/eto.drawing.formattedtext.ihandler/measure.md): Gets the size needed to draw the text.

## Inherited Members

- From [Widget.IHandler](https://eto.picoe.ca/api/type/eto.widget.ihandler.md): [ID](https://eto.picoe.ca/api/type/eto.widget.ihandler/id.md), [NativeHandle](https://eto.picoe.ca/api/type/eto.widget.ihandler/nativehandle.md), [Widget](https://eto.picoe.ca/api/type/eto.widget.ihandler/widget.md), [HandleEvent](https://eto.picoe.ca/api/type/eto.widget.ihandler/handleevent.md), [Initialize](https://eto.picoe.ca/api/type/eto.widget.ihandler/initialize.md), [UnhandleEvent](https://eto.picoe.ca/api/type/eto.widget.ihandler/unhandleevent.md)
