RichTextKit v0.4

TextBlock.MeasuredPadding Property

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit
Declaring Type: TextBlock

Gets the size of any unused space around the text.

public SkiaSharp.SKRect MeasuredPadding { get; }


If MaxWidth is not set, the left and right padding will always be zero.

This property also returns a bottom padding amount if MaxHeight is set.

The returned top padding is always zero.

The return rectangle describes padding amounts for each edge - not rectangle co-ordinates.

Property Type