MarkdownAlertBlock Class
Definition
A Avalonia.Controls.Documents.Section that represents a GitHub-style alert block
(> [!NOTE]). Carries the alert kind ("Note", "Warning", ...) as
a typed property so it survives element realization and is authorable
through the FlowDocument API; the "alertBlock" + lowercased kind CSS
classes remain the styling surface.
public class MarkdownAlertBlock
Constructors
| Name | Description |
|---|---|
| MarkdownAlertBlock | No summary available. |
MarkdownAlertBlock Constructor
public MarkdownAlertBlock()
Properties
| Name | Description |
|---|---|
| AlertKind | Gets or sets the alert kind in title case ("Note", "Warning", "Tip", "Important", "Caution"). |
AlertKind Property
Gets or sets the alert kind in title case ("Note", "Warning", "Tip", "Important", "Caution").
public string AlertKind { get; set; }
Fields
| Name | Description |
|---|---|
| AlertKindProperty | Defines the Avalonia.Controls.Documents.MarkdownAlertBlock.AlertKind property. |
AlertKindProperty Field
Defines the Avalonia.Controls.Documents.MarkdownAlertBlock.AlertKind property.
public Avalonia.StyledProperty<string> AlertKindProperty