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)
- C#
- VB
- F#
public abstract class TextParagraphProperties
Public MustInherit Class TextParagraphProperties
[<AbstractClassAttribute>]
type TextParagraphProperties = class end
| Inheritance | Object → TextParagraphProperties |
| Derived | Avalonia.Media.TextFormatting.GenericTextParagraphProperties |
Constructors
| TextParagraphProperties() | Initializes a new instance of the TextParagraphProperties class |
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) |
| 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) |