CodeWF.AvaloniaControls.ProDataGrid 12.0.2.1

dotnet add package CodeWF.AvaloniaControls.ProDataGrid --version 12.0.2.1
                    
NuGet\Install-Package CodeWF.AvaloniaControls.ProDataGrid -Version 12.0.2.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CodeWF.AvaloniaControls.ProDataGrid" Version="12.0.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeWF.AvaloniaControls.ProDataGrid" Version="12.0.2.1" />
                    
Directory.Packages.props
<PackageReference Include="CodeWF.AvaloniaControls.ProDataGrid" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CodeWF.AvaloniaControls.ProDataGrid --version 12.0.2.1
                    
#r "nuget: CodeWF.AvaloniaControls.ProDataGrid, 12.0.2.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CodeWF.AvaloniaControls.ProDataGrid@12.0.2.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CodeWF.AvaloniaControls.ProDataGrid&version=12.0.2.1
                    
Install as a Cake Addin
#tool nuget:?package=CodeWF.AvaloniaControls.ProDataGrid&version=12.0.2.1
                    
Install as a Cake Tool

CodeWF.AvaloniaControls

Name NuGet Download
CodeWF.AvaloniaControls NuGet NuGet
CodeWF.AvaloniaControls.Themes NuGet NuGet
CodeWF.AvaloniaControls.DataGrid NuGet NuGet
CodeWF.AvaloniaControls.Dock NuGet NuGet
CodeWF.AvaloniaControls.ProDataGrid NuGet NuGet
CodeWF.Markdown NuGet NuGet
CodeWF.Markdown.Themes NuGet NuGet

An open-source Avalonia control repository based on .NET 11 and Avalonia 12, including reusable libraries, legacy free-grid compatibility helpers, and runnable samples.

English | 简体中文

Install

Install-Package CodeWF.AvaloniaControls

Repository Layout

  • src/: all physical project directories, including NuGet libraries and runnable samples
  • docs/: screenshots, GIF assets, and repository documentation assets
  • artifacts/: package outputs and temporary build artifacts
  • publish/: sample application publish outputs generated by the publish scripts
  • CodeWF.AvaloniaControls.slnx: logical solution view that groups projects by package line and sample purpose

Package Lines

Avalonia 12 main line

  • CodeWF.AvaloniaControls: general-purpose custom control APIs, state models, helpers, and drawing logic
  • CodeWF.AvaloniaControls.Themes: control templates and visual resources for the main control package
  • CodeWF.AvaloniaControls.Dock: Dock extension controls styled for the Semi theme line
  • CodeWF.AvaloniaControls.ProDataGrid: open-source high-performance grid helper package built on ProDataGrid
  • CodeWF.Markdown: Markdown rendering control with code highlighting, image preview, and incremental rendering
  • CodeWF.Markdown.Themes: default MarkdownViewer templates and typography theme resources

Legacy free DataGrid / TreeDataGrid line

  • CodeWF.AvaloniaControls.DataGrid stays on the last free official Avalonia.Controls.DataGrid / Avalonia.Controls.TreeDataGrid line
  • The legacy compatibility projects keep explicit package versions in their own .csproj files instead of adding conditional branches to the central package manager

Markdown Viewer Usage

Install the renderer and theme packages:

dotnet add package CodeWF.Markdown
dotnet add package CodeWF.Markdown.Themes

Register the default style and typography resources in App.axaml:

<Application
    xmlns="https://github.com/avaloniaui"
    xmlns:markdownThemes="https://codewf.com">
    <Application.Styles>
        <FluentTheme />
        <markdownThemes:MarkdownThemes TypographyTheme="Simple" />
    </Application.Styles>
</Application>

Use MarkdownViewer from a page. The viewer only accepts the Markdown input property; legacy aliases are not kept:

<UserControl
    xmlns="https://github.com/avaloniaui"
    xmlns:md="https://codewf.com">
    <ScrollViewer
        HorizontalScrollBarVisibility="Disabled"
        VerticalScrollBarVisibility="Auto">
        <md:MarkdownViewer Markdown="{Binding Markdown}" />
    </ScrollViewer>
</UserControl>

Switch typography resources at runtime:

MarkdownThemes.OverrideTypographyResources(
    Application.Current!,
    MarkdownTypographyThemes.BlueGlow);

Handle CodeBlockToolRender to add custom code-block actions:

<md:MarkdownViewer
    Markdown="{Binding Markdown}"
    CodeBlockToolRender="OnCodeBlockToolRender" />
private void OnCodeBlockToolRender(object? sender, CodeBlockToolRenderEventArgs e)
{
    e.HeaderPanel.Children.Add(new Button { Content = "Run" });
}

MarkdownViewer supports headings, paragraphs, lists, task lists, quotes, tables, inline code, links, images, and language-tagged code blocks. Code blocks include a copy button, and images open a preview window on click. Relative image paths are resolved from the application base directory by default; when rendering Markdown loaded from another folder, normalize image URLs to absolute paths or file:// URLs before assigning Markdown.

Sample Applications

  • CodeWF.AvaloniaControls.Showcase: general control showcase
  • CodeWF.AvaloniaControls.ProDataGridShowcase: functional ProDataGrid sample on Avalonia 12
  • CodeWF.AvaloniaControls.ProDataGridPerformanceDemo: large-dataset, tab-switching, and document-switching performance sample on Avalonia 12
  • CodeWF.Markdown.Sample: Markdown editing, live preview, typography theme switching, and incremental rendering stress sample
  • CodeWF.AvaloniaControls.DataGridLegacyDemo: legacy free DataGrid sample
  • CodeWF.AvaloniaControls.TreeDataGridLegacyDemo: legacy free TreeDataGrid sample
  • CodeWF.AvaloniaControls.DockDemo, CodeWF.AvaloniaControls.DockPrismDemo, CodeWF.AvaloniaControls.DockReactiveUIDemo: Dock integration samples
  • CodeWF.AvaloniaControls.FluentStarterDemo: lightweight starter-window sample

Shared Configuration

  • Directory.Packages.props: central package management for the Avalonia 12 main line and shared package versions such as ProDataGrid
  • Directory.Build.props: shared repository/package metadata
  • Directory.Build.targets: shared pack-time behavior, including common package metadata defaults and root README/CHANGELOG injection for packable libraries
  • Publish.Common.pubxml: shared publish settings
  • src/*/Properties/PublishProfiles/Publish.Project.pubxml: per-project publish supplements such as trimmer root descriptors

Scripts

  • pack.bat: restore, build, and pack all publishable libraries into artifacts/packages
  • publish_all.bat: publish all sample applications into publish/
  • publishbase.bat: shared publish helper used by the root publish scripts

Changelogs

  • Root repository updates are tracked in CHANGELOG.md
  • Each project also keeps its own CHANGELOG.md under its project directory for package/sample-specific history

Open Source Notes

  • Commercial package lines are intentionally avoided in this repository
  • Prism.DryIoc.Avalonia is pinned to 8.1.97.11073 because the 9.x line is commercial
  • Semi.Avalonia.DataGrid and Semi.Avalonia.TreeDataGrid use their last free open-source theme package versions
  • CodeWF.AvaloniaControls.ProDataGrid is based on the MIT-licensed ProDataGrid

Demo

Transfer

alternate text is missing from this package README image

ComboBox

alternate text is missing from this package README image

TabControl

alternate text is missing from this package README image

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
12.0.2.1 49 5/5/2026
12.0.2 58 5/2/2026