Skip to main content

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)

public abstract class TextParagraphProperties
View Source
InheritanceObject → TextParagraphProperties
DerivedAvalonia.Media.TextFormatting.GenericTextParagraphProperties

Constructors

TextParagraphProperties()Initializes a new instance of the TextParagraphProperties class

Properties

AlwaysCollapsibleIf true, the formatted line may always be collapsed. If false (the default), only lines that overflow the paragraph width are collapsed.
DefaultIncrementalTabGets the default incremental tab width.
DefaultTextRunPropertiesGets the default text style.
FirstLineInParagraphIndicates the first line of the paragraph.
FlowDirectionThis property specifies whether the primary text advance direction shall be left-to-right, right-to-left.
IndentLine indentation
LetterSpacingGets the letter spacing.
LineHeightParagraph's line height
ParagraphIndentGet the paragraph indentation.
TextAlignmentGets the text alignment.
TextDecorationsIf 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.
TextWrappingGets the text wrapping.

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia.Media.TextFormatting Namespace