Irihi.Dogma.Controls
0.5.0
Prefix Reserved
dotnet add package Irihi.Dogma.Controls --version 0.5.0
NuGet\Install-Package Irihi.Dogma.Controls -Version 0.5.0
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="Irihi.Dogma.Controls" Version="0.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Irihi.Dogma.Controls" Version="0.5.0" />
<PackageReference Include="Irihi.Dogma.Controls" />
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 Irihi.Dogma.Controls --version 0.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Irihi.Dogma.Controls, 0.5.0"
#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 Irihi.Dogma.Controls@0.5.0
#: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=Irihi.Dogma.Controls&version=0.5.0
#tool nuget:?package=Irihi.Dogma.Controls&version=0.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Irihi.Dogma
A set of Avalonia UI controls designed for documentation and demo scenarios.
⚠️ Support & Scope
This repository exists to serve IRIHI's own product demos — it is not a general-purpose, publicly supported library. Before using it, please understand that:
- No support — external support requests, issues, and feature suggestions are not processed.
- No compatibility guarantees — APIs may change or break at any time, without notice or semantic-versioning discipline.
- Demo-first — code targets our internal demo scenarios; use cases outside those scenarios are out of scope.
Use at your own risk.
Features
- CodeBlock — syntax-highlighted, selectable, copyable code display control with zero external dependencies
- Supports AXAML and C# syntax highlighting
- Built-in light/dark theme support
- Line numbers and copy button
- DocSite — documentation site scaffolding with
DocPageandDocCategoryattributes, plus a source-generator that wires them up automatically
Installation
dotnet add package Irihi.Dogma
Usage
CodeBlock
<dogma:CodeBlock Language="CSharp"
Code="{Binding MySourceCode}"
ShowLineNumbers="True"
ShowCopyButton="True" />
DocSite
Annotate your demo view-models with [DocPage] / [DocCategory] attributes. The included source generator automatically registers them into IDocRegistry at compile time.
[DocPage("My Page", Category = "Getting Started")]
public partial class MyPageViewModel : IViewModelProvider { ... }
Building
dotnet build Irihi.Dogma.slnx
dotnet test Irihi.Dogma.slnx
License
MIT © Irihi Technology
| Product | Versions 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 was computed. 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 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Avalonia (>= 12.1.1)
- CommunityToolkit.Mvvm (>= 8.4.2)
- Irihi.Avalonia.Shared (>= 0.5.0)
- Irihi.Dogma (>= 0.5.0)
- Irihi.Lingua (>= 1.0.0)
- Irihi.Ursa (>= 2.2.0)
- Irihi.Ursa.Themes.Semi (>= 2.2.0)
- Semi.Avalonia (>= 12.1.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.