Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

FormattedText Properties

The FormattedText type exposes the following members.

  NameDescription
Public property Baseline Gets the distance from the top of the first line to the baseline of the first line of a FormattedText object.
Public property Extent Gets the distance from the topmost drawn pixel of the first line to the bottommost drawn pixel of the last line.
Public property FlowDirection Gets or sets the FlowDirection of a FormattedText object.
Public property Height Gets the distance from the top of the first line to the bottom of the last line of the FormattedText object.
Public property LineHeight Gets the line height, or line spacing, between lines of text.
Public property MaxLineCount Gets or sets the maximum number of lines to display. Text exceeding the MaxLineCount will not be displayed.
Public property MaxTextHeight Gets or sets the maximum height of a text column.
Public property MaxTextWidth Gets or sets the maximum text width (length) for a line of text.
Public property MinWidth Gets the smallest possible text width that can fully contain the specified text content.
Public property OverhangAfter Gets the distance from the bottom of the last line of text to the bottommost drawn pixel.
Public property OverhangLeading Gets the maximum distance from the leading alignment point to the leading drawn pixel of a line.
Public property OverhangTrailing Gets the maximum distance from the trailing inked pixel to the trailing alignment point of a line.
Public property Text Gets the string of text to be displayed.
Public property TextAlignment Gets or sets the alignment of text within a FormattedText object.
Public property Trimming Gets or sets the means by which the omission of text is indicated.
Public property Width Gets the width between the leading and trailing alignment points of a line, excluding any trailing white-space characters.
Public property WidthIncludingTrailingWhitespace Gets the width between the leading and trailing alignment points of a line, including any trailing white-space characters.
Top

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.