RichTextBlock.BaselineOffset Property

Definition

Gets a value that represents the offset in pixels from the top of the content to the baseline of the first paragraph. The baseline of the paragraph is the baseline of the first line in it.

C#
public double BaselineOffset { get; }

Property Value

Double

The computed baseline for the first paragraph, or 0 if the RichTextBlock is empty.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6