FormattedTextPresenter class¶
Defined in
Namespace: CrissCross.Avalonia.UI.Controls
Assembly: CrissCross.Avalonia.UI.dll
Full name: CrissCross.Avalonia.UI.Controls.FormattedTextPresenter
Modifiers: public
Summary¶
A control that displays formatted text using Inlines.
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471
Class hierarchy
classDiagram
class FormattedTextPresenter
class TextBlock
TextBlock <|-- FormattedTextPresenter
Inherits from: TextBlock
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [FormattedTextPresenter](# class. |
Properties¶
| Name | Summary |
|---|---|
| IsRemoteImageLoadingEnabled | Gets or sets a value indicating whether HTTP/HTTPS image sources may be resolved by [RemoteImageLoader](# |
| RemoteImageLoader | Gets or sets the opt-in remote image loader used for HTTP/HTTPS image sources. |
| Document | Gets or sets the document to display. |
| DefaultForeground | Gets or sets the default foreground brush. |
| DefaultFontSize | Gets or sets the default font size. |
Fields¶
| Name | Summary |
|---|---|
| static DocumentProperty | Property for [Document](# |
| static DefaultForegroundProperty | Property for [DefaultForeground](# |
| static DefaultFontSizeProperty | Property for [DefaultFontSize](# |
Methods¶
| Name | Summary |
|---|---|
| UpdateInlines | Updates the inline collection from the document. |
| OnPropertyChanged | Called when a avalonia property changes on the object. |
Inherited members
CrissCross.Avalonia.UI.Controls.TextBlock.FontTypographyPropertyCrissCross.Avalonia.UI.Controls.TextBlock.AppearancePropertyCrissCross.Avalonia.UI.Controls.TextBlock.#ctorCrissCross.Avalonia.UI.Controls.TextBlock.FontTypographyCrissCross.Avalonia.UI.Controls.TextBlock.AppearanceSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString