Expand Minimize

RichTextBlock.BaselineOffset property

Applies to Windows and Windows Phone

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.

Syntax


public:
property double BaselineOffset { 
   double get();
}

Property value

Type: System.Double [.NET] | float64 [C++]

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

RichTextBlock

 

 

Show:
© 2014 Microsoft