Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
FormattedText Properties

FormattedText Properties

  Name Description
Public property Baseline Gets a value that indicates 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 top-most inked pixel of the first line to the bottom-most inked 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 a value that represents 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 bottom-most inked pixel.
Public property OverhangLeading Gets the maximum distance from the leading alignment point to the leading inked 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:
© 2015 Microsoft