Skip to main content

GenericTextParagraphProperties Class

Generic implementation of TextParagraphProperties

Definition

Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public sealed class GenericTextParagraphProperties : TextParagraphProperties
View Source
InheritanceObjectTextParagraphProperties → GenericTextParagraphProperties

Constructors

GenericTextParagraphProperties(TextParagraphProperties)Constructing TextParagraphProperties from another one
GenericTextParagraphProperties(TextRunProperties, TextAlignment, TextWrapping, Double, Double)Constructing TextParagraphProperties
GenericTextParagraphProperties(FlowDirection, TextAlignment, Boolean, Boolean, TextRunProperties, TextWrapping, Double, Double, Double)Constructing TextParagraphProperties

Properties

AlwaysCollapsibleIf true, the formatted line may always be collapsed. If false (the default), only lines that overflow the paragraph width are collapsed.
(Overrides TextParagraphProperties.AlwaysCollapsible)
DefaultIncrementalTabGets the default incremental tab width.
(Inherited from TextParagraphProperties)
DefaultTextRunPropertiesParagraph's default run properties
(Overrides TextParagraphProperties.DefaultTextRunProperties)
FirstLineInParagraphIndicates the first line of the paragraph.
(Overrides TextParagraphProperties.FirstLineInParagraph)
FlowDirectionThis property specifies whether the primary text advance direction shall be left-to-right, right-to-left, or top-to-bottom.
(Overrides TextParagraphProperties.FlowDirection)
IndentLine indentation
(Overrides TextParagraphProperties.Indent)
LetterSpacingThe letter spacing
(Overrides TextParagraphProperties.LetterSpacing)
LineHeightParagraph's line height
(Overrides TextParagraphProperties.LineHeight)
ParagraphIndentGet the paragraph indentation.
(Inherited from TextParagraphProperties)
TextAlignmentThis property describes how inline content of a block is aligned.
(Overrides TextParagraphProperties.TextAlignment)
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.
(Inherited from TextParagraphProperties)
TextWrappingThis property controls whether or not text wraps when it reaches the flow edge of its containing block box
(Overrides TextParagraphProperties.TextWrapping)

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia.Media.TextFormatting Namespace