![]() |
VOOZH | about |
dotnet add package Avalonia.Controls.Documents --version 12.1.3
NuGet\Install-Package Avalonia.Controls.Documents -Version 12.1.3
<PackageReference Include="Avalonia.Controls.Documents" Version="12.1.3" />
<PackageVersion Include="Avalonia.Controls.Documents" Version="12.1.3" />Directory.Packages.props
<PackageReference Include="Avalonia.Controls.Documents" />Project file
paket add Avalonia.Controls.Documents --version 12.1.3
#r "nuget: Avalonia.Controls.Documents, 12.1.3"
#:package Avalonia.Controls.Documents@12.1.3
#addin nuget:?package=Avalonia.Controls.Documents&version=12.1.3Install as a Cake Addin
#tool nuget:?package=Avalonia.Controls.Documents&version=12.1.3Install as a Cake Tool
Core document model library for Avalonia rich text controls. Provides rope-based text storage, a hierarchical document tree, text pointers, undo/redo, and snapshotting.
RopeTextStore) with O(log n) insert and deleteTextDocument, TextDocumentNode) for structural editingTextPointer, TextRange) with generation-based invalidationUndoManager) with structural snapshot supportvar document = new FlowDocument();
var paragraph = new Paragraph();
paragraph.Inlines.Add(new Run("Hello, world!"));
document.Blocks.Add(paragraph);
See the documentation for more details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on Avalonia.Controls.Documents:
| Package | Downloads |
|---|---|
|
Avalonia.Controls.Markdown
Markdown rendering control for Avalonia applications |
|
|
Avalonia.Controls.Documents.Serialization.Html
Package Description |
|
|
Avalonia.Controls.Documents.Serialization.Rtf
Package Description |
|
|
Avalonia.Controls.RichTextEditor
Package Description |
|
|
Avalonia.Controls.Documents.Serialization.Xaml
Package Description |
This package is not used by any popular GitHub repositories.
## 12.1.3
### Fixes
- List markers now align consistently across fonts: the marker column width, right-alignment, and the gap to the list text are measured from each marker's ink (glyph) edge rather than its advance width.
- Pasting onto an empty line no longer strands the original blank line above the pasted content.
- Editing a block container's `Blocks` collection on an attached document is now reliable: `Section.Blocks.Clear()` no longer throws, and `Remove`/`RemoveAt`/`Clear` no longer cascade-remove a container they leave empty — automatic removal of empty containers is reserved for text-editing operations. Empty table rows, row groups, and tables produced this way are handled gracefully by the model and serializers.