TextParagraphProperties Class

Provides a set of properties that are used during the paragraph layout.

Definition

Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public abstract class TextParagraphProperties
Inheritance
Object    TextParagraphProperties
Derived

Properties

AlwaysCollapsible If true, the formatted line may always be collapsed. If false (the default), only lines that overflow the paragraph width are collapsed.
DefaultIncrementalTab Gets the default incremental tab width.
DefaultTextRunProperties Gets the default text style.
FirstLineInParagraph Indicates the first line of the paragraph.
FlowDirection This property specifies whether the primary text advance direction shall be left-to-right, right-to-left.
Indent Line indentation
LetterSpacing Gets the letter spacing.
LineHeight Paragraph's line height
ParagraphIndent Get the paragraph indentation.
TextAlignment Gets the text alignment.
TextDecorations If not null, text decorations to apply to all runs in the line. This is in addition to any text decorations specified by the TextRunProperties for individual text runs.
TextWrapping Gets the text wrapping.

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also