Abstract base class for components that display textual content.
The Component.ComputeLayoutSize method computes the layout width as the maximum measured width of ITextProperty.Text and TextMeasure using IPixelFontInfo.Measure. The layout height is computed using IPixelFontInfo.PaddingCompact.
Creates a new instance of TextComponent.
This method is called each time the ITextProperty.Text value has changed.